From: Bernhard Beschow <shentey@gmail.com>
To: BALATON Zoltan <balaton@eik.bme.hu>
Cc: qemu-devel@nongnu.org,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Richard Henderson" <richard.henderson@linaro.org>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Igor Mammedov" <imammedo@redhat.com>,
"Eduardo Habkost" <eduardo@habkost.net>,
"Jiaxun Yang" <jiaxun.yang@flygoat.com>,
qemu-trivial@nongnu.org, "Ani Sinha" <ani@anisinha.ca>,
"Marcel Apfelbaum" <marcel.apfelbaum@gmail.com>
Subject: Re: [PATCH v2 6/7] i386, mips: Resolve redundant ACPI and APM dependencies
Date: Fri, 16 Dec 2022 15:18:06 +0000 [thread overview]
Message-ID: <1856CA06-FA2C-4A5C-A5DA-6355CE9EED6B@gmail.com> (raw)
In-Reply-To: <773f556a-5fee-b4c7-93af-3cf1b607858a@eik.bme.hu>
Am 16. Dezember 2022 14:48:05 UTC schrieb BALATON Zoltan <balaton@eik.bme.hu>:
>On Fri, 16 Dec 2022, Bernhard Beschow wrote:
>> Now that all ACPI controllers select the ACPI and APM dependencies
>> themselves, these explicit dependencies became redundant. Remove them.
>>
>> Signed-off-by: Bernhard Beschow <shentey@gmail.com>
>> ---
>> configs/devices/mips-softmmu/common.mak | 3 ---
>> hw/i386/Kconfig | 2 --
>> 2 files changed, 5 deletions(-)
>>
>> diff --git a/configs/devices/mips-softmmu/common.mak b/configs/devices/mips-softmmu/common.mak
>> index 416161f833..88aff94625 100644
>> --- a/configs/devices/mips-softmmu/common.mak
>> +++ b/configs/devices/mips-softmmu/common.mak
>> @@ -17,9 +17,7 @@ CONFIG_I8254=y
>> CONFIG_PCSPK=y
>> CONFIG_PCKBD=y
>> CONFIG_FDC=y
>> -CONFIG_ACPI=y
>> CONFIG_ACPI_PIIX4=y
>> -CONFIG_APM=y
>> CONFIG_I8257=y
>> CONFIG_PIIX4=y
>> CONFIG_IDE_ISA=y
>> @@ -32,6 +30,5 @@ CONFIG_MIPS_ITU=y
>> CONFIG_MALTA=y
>> CONFIG_PCNET_PCI=y
>> CONFIG_MIPSSIM=y
>> -CONFIG_ACPI_SMBUS=y
>> CONFIG_SMBUS_EEPROM=y
>> CONFIG_TEST_DEVICES=y
>> diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig
>> index 3a92566701..c4fb5b49bd 100644
>> --- a/hw/i386/Kconfig
>> +++ b/hw/i386/Kconfig
>> @@ -51,7 +51,6 @@ config PC_PCI
>> bool
>> select APIC
>> select IOAPIC
>> - select APM
>> select PC
>>
>> config PC_ACPI
>> @@ -72,7 +71,6 @@ config I440FX
>> select ACPI_PIIX4
>> select PC_PCI
>> select PC_ACPI
>> - select ACPI_SMBUS
>> select PCI_I440FX
>> select PIIX3
>> select IDE_PIIX
>>
>
>Is select APM now redundant in VT82686 too?
No it's not, quite the opposite indeed: APM is provided by the VT82686 south bridge, so it needs to select it. See also patches 2 and 4 of this series for futher explanation.
The idea of this patch is to remove the redundant selections from the boards.
Best regards,
Bernhard
>
>Regards,
>BALATON Zoltan
next prev parent reply other threads:[~2022-12-16 15:19 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-16 13:03 [PATCH v2 0/7] Clean up dependencies of ACPI controllers Bernhard Beschow
2022-12-16 13:03 ` [PATCH v2 1/7] hw/acpi/Kconfig: Rename ACPI_X86_ICH to ACPI_ICH9 Bernhard Beschow
2022-12-16 13:03 ` [PATCH v2 2/7] hw/acpi/Kconfig: Add missing dependencies " Bernhard Beschow
2022-12-16 13:03 ` [PATCH v2 3/7] hw/acpi/Kconfig: Do not needlessly build TYPE_PIIX4_PM in non-PC/Malta machines Bernhard Beschow
2022-12-16 14:44 ` BALATON Zoltan
2022-12-16 15:10 ` Bernhard Beschow
2022-12-16 13:03 ` [PATCH v2 4/7] hw/acpi/Kconfig: Add missing dependencies to ACPI_PIIX4 Bernhard Beschow
2022-12-17 23:23 ` Philippe Mathieu-Daudé
2022-12-16 13:03 ` [PATCH v2 5/7] hw/isa/Kconfig: Add missing dependency to VT82C686 Bernhard Beschow
2022-12-16 14:45 ` BALATON Zoltan
2022-12-17 23:32 ` Philippe Mathieu-Daudé
2022-12-16 13:03 ` [PATCH v2 6/7] i386, mips: Resolve redundant ACPI and APM dependencies Bernhard Beschow
2022-12-16 14:48 ` BALATON Zoltan
2022-12-16 15:18 ` Bernhard Beschow [this message]
2022-12-17 23:34 ` Philippe Mathieu-Daudé
2022-12-16 13:03 ` [PATCH v2 7/7] hw/ppc/Kconfig: Remove unused dependencies from PEGASOS2 Bernhard Beschow
2022-12-16 14:53 ` BALATON Zoltan
2022-12-17 23:36 ` Philippe Mathieu-Daudé
2022-12-17 21:35 ` [PATCH v2 0/7] Clean up dependencies of ACPI controllers Bernhard Beschow
2022-12-21 17:56 ` Bernhard Beschow
2022-12-21 19:11 ` Michael S. Tsirkin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1856CA06-FA2C-4A5C-A5DA-6355CE9EED6B@gmail.com \
--to=shentey@gmail.com \
--cc=ani@anisinha.ca \
--cc=balaton@eik.bme.hu \
--cc=eduardo@habkost.net \
--cc=imammedo@redhat.com \
--cc=jiaxun.yang@flygoat.com \
--cc=marcel.apfelbaum@gmail.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=richard.henderson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).