Clean up dependencies of ACPI controllers
v2 cover Clean up dependencies of ACPI controllers
This small series establishes consistency between ICH9, PIIX4 and VT82C686 ACPI controllers to select ACPI, ACPI_SMBUS and APM since they are provided by the device models.
Due to the PIIX4 PM cleanup PEGASOS2's dependency can be reduced to just ACPI, eliminating 9 dependencies from the softmmu-ppc build.
v2:
- Turn "depends on ACPI" into "select ACPI" (Phil)
- Remove "select ACPI" from PEGASOS2 (Phil)
- Move already reviewed patches to bottom
- Split some patches into "add missing dependencies" and "remove redundant dependencies" for ease of review
Bernhard Beschow (7):
hw/acpi/Kconfig: Rename ACPI_X86_ICH to ACPI_ICH9 hw/acpi/Kconfig: Add missing dependencies to ACPI_ICH9 hw/acpi/Kconfig: Do not needlessly build TYPE_PIIX4_PM in non-PC/Malta
machines
hw/acpi/Kconfig: Add missing dependencies to ACPI_PIIX4 hw/isa/Kconfig: Add missing dependency to VT82C686
i386, mips: Resolve redundant ACPI and APM dependencies hw/ppc/Kconfig: Remove unused dependencies from PEGASOS2
configs/devices/mips-softmmu/common.mak | 3 --- hw/acpi/Kconfig | 9 ++++++--- hw/acpi/meson.build | 2 +- hw/i2c/meson.build | 2 +- hw/i386/Kconfig | 3 +-- hw/isa/Kconfig | 4 ++-- hw/ppc/Kconfig | 2 -- 7 files changed, 11 insertions(+), 14 deletions(-)
Signature · 1 line
2.39.0
PATCH v2 1/7 hw/acpi/Kconfig: Rename ACPI_X86_ICH to ACPI_ICH9
Although the ICH9 ACPI controller may currently be tied to x86 it doesn't have to. Furthermore, the source files this configuration switch manages contain a '9', so this name fits more.
--- hw/acpi/Kconfig | 2 +- hw/acpi/meson.build | 2 +- hw/i2c/meson.build | 2 +- hw/isa/Kconfig | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
hw/acpi/Kconfig +1 -1
@@ -13,7 +13,7 @@ config ACPI_X86 select ACPI_PCIHP select ACPI_ERST -config ACPI_X86_ICH +config ACPI_ICH9 bool select ACPI_X86
hw/acpi/meson.build +1 -1
@@ -22,7 +22,7 @@ acpi_ss.add(when: 'CONFIG_ACPI_PIIX4', if_true: files('piix4.c')) acpi_ss.add(when: 'CONFIG_ACPI_PCIHP', if_true: files('pcihp.c')) acpi_ss.add(when: 'CONFIG_ACPI_PCIHP', if_false: files('acpi-pci-hotplug-stub.c')) acpi_ss.add(when: 'CONFIG_ACPI_VIOT', if_true: files('viot.c')) -acpi_ss.add(when: 'CONFIG_ACPI_X86_ICH', if_true: files('ich9.c', 'tco.c')) +acpi_ss.add(when: 'CONFIG_ACPI_ICH9', if_true: files('ich9.c', 'tco.c')) acpi_ss.add(when: 'CONFIG_ACPI_ERST', if_true: files('erst.c')) acpi_ss.add(when: 'CONFIG_IPMI', if_true: files('ipmi.c'), if_false: files('ipmi-stub.c')) acpi_ss.add(when: 'CONFIG_PC', if_false: files('acpi-x86-stub.c'))
hw/i2c/meson.build +1 -1
@@ -2,7 +2,7 @@ i2c_ss = ss.source_set() i2c_ss.add(when: 'CONFIG_I2C', if_true: files('core.c')) i2c_ss.add(when: 'CONFIG_SMBUS', if_true: files('smbus_slave.c', 'smbus_master.c')) i2c_ss.add(when: 'CONFIG_ACPI_SMBUS', if_true: files('pm_smbus.c')) -i2c_ss.add(when: 'CONFIG_ACPI_X86_ICH', if_true: files('smbus_ich9.c')) +i2c_ss.add(when: 'CONFIG_ACPI_ICH9', if_true: files('smbus_ich9.c')) i2c_ss.add(when: 'CONFIG_ASPEED_SOC', if_true: files('aspeed_i2c.c')) i2c_ss.add(when: 'CONFIG_BITBANG_I2C', if_true: files('bitbang_i2c.c')) i2c_ss.add(when: 'CONFIG_EXYNOS4', if_true: files('exynos4210_i2c.c'))
hw/isa/Kconfig +1 -1
@@ -78,4 +78,4 @@ config LPC_ICH9 select I8257 select ISA_BUS select ACPI_SMBUS - select ACPI_X86_ICH + select ACPI_ICH9
Signature · 1 line
2.39.0
PATCH v2 2/7 hw/acpi/Kconfig: Add missing dependencies to ACPI_ICH9
In reply to Bernhard Beschowich9_lpc_realize() uses apm_init() and ich9_smbus_realize() uses pm_smbus_init(), so both APM and ACPI_SMBUS are provided by the device models managed by ACPI_ICH9.
--- hw/acpi/Kconfig | 2 ++ hw/isa/Kconfig | 1 - 2 files changed, 2 insertions(+), 1 deletion(-)
hw/acpi/Kconfig +2 -0
@@ -15,7 +15,9 @@ config ACPI_X86 config ACPI_ICH9 bool + select ACPI_SMBUS select ACPI_X86 + select APM config ACPI_CPU_HOTPLUG bool
hw/isa/Kconfig +0 -1
@@ -77,5 +77,4 @@ config LPC_ICH9 # for ICH9. select I8257 select ISA_BUS - select ACPI_SMBUS select ACPI_ICH9
Signature · 1 line
2.39.0
PATCH v2 3/7 hw/acpi/Kconfig: Do not needlessly build TYPE_PIIX4_PM in non-PC/Malta machines
In reply to Bernhard BeschowTYPE_PIIX4_PM is only used in machines where PIIX chipsets are used which is currently PC and Malta. There is no point building it for the other ACPI_X86 machines.
Note that this also removes unneeded ACPI_PIIX4 from PEGASOS2.
--- hw/acpi/Kconfig | 1 - hw/i386/Kconfig | 1 + 2 files changed, 1 insertion(+), 1 deletion(-)
hw/acpi/Kconfig +0 -1
@@ -9,7 +9,6 @@ config ACPI_X86 select ACPI_CPU_HOTPLUG select ACPI_MEMORY_HOTPLUG select ACPI_HMAT - select ACPI_PIIX4 select ACPI_PCIHP select ACPI_ERST
hw/i386/Kconfig +1 -0
@@ -69,6 +69,7 @@ config I440FX imply E1000_PCI imply VMPORT imply VMMOUSE + select ACPI_PIIX4 select PC_PCI select PC_ACPI select ACPI_SMBUS
Signature · 1 line
2.39.0
Re: [PATCH v2 3/7] hw/acpi/Kconfig: Do not needlessly build TYPE_PIIX4_PM in non-PC/Malta machines
Quoted 7 lines · Bernhard Beschow
TYPE_PIIX4_PMis only used in machines where PIIX chipsets are used which is currently PC and Malta. There is no point building it for the otherACPI_X86machines.Note that this also removes unneeded
ACPI_PIIX4from PEGASOS2.Signed-off-by Bernhard Beschow <[email protected]>
Isn't 440fx using PIIX3 whereas Malta uses PIIX4? If so there may be still some inconsistency in the naming of this config option (should it be ACPI_PIIX maybe?) but it should not be needed for pegasos2 in any case.
Regards,
BALATON Zoltan
Quoted 30 lines
---
hw/acpi/Kconfig | 1 -
hw/i386/Kconfig | 1 +2 files changed, 1 insertion(+), 1 deletion(-)hw/acpi/Kconfig +0
-1@@ -9,7 +9,6 @@ config ACPI_X86 select ACPI_CPU_HOTPLUG select ACPI_MEMORY_HOTPLUG select ACPI_HMAT - select ACPI_PIIX4 select ACPI_PCIHP select ACPI_ERSThw/i386/Kconfig +1
-0@@ -69,6 +69,7 @@ config I440FX imply E1000_PCI imply VMPORT imply VMMOUSE + select ACPI_PIIX4 select PC_PCI select PC_ACPI select ACPI_SMBUS
Re: [PATCH v2 3/7] hw/acpi/Kconfig: Do not needlessly build TYPE_PIIX4_PM in non-PC/Malta machines
Am 16. Dezember 2022 14:44:33 UTC schrieb BALATON Zoltan <[email protected]>:
Quoted 5 lines · Bernhard Beschow
Quoted 4 lines
TYPE_PIIX4_PMis only used in machines where PIIX chipsets are used which is currently PC and Malta. There is no point building it for the otherACPI_X86machines.
Quoted 7 lines
Quoted 3 lines
Note that this also removes unneeded
ACPI_PIIX4from PEGASOS2.Signed-off-by Bernhard Beschow <[email protected]>Reviewed-by BALATON Zoltan <[email protected]>Isn't 440fx using PIIX3 whereas Malta uses PIIX4?
Correct.
Quoted 1 line
If so there may be still some inconsistency in the naming of this config option (should it be
ACPI_PIIXmaybe?)
I440fx does indeed use the PIIX4 PM controller, often referred to as a "Frankenstein" device here on the list. That's why I'm currently consolidating the PIIX south bridges -- to make PIIX4 bridge usable in i440fx machine.
Best regards,
Bernhard
Quoted 35 lines
but it should not be needed for pegasos2 in any case.
Regards,
BALATON ZoltanQuoted 30 lines
---
hw/acpi/Kconfig | 1 -
hw/i386/Kconfig | 1 +2 files changed, 1 insertion(+), 1 deletion(-)hw/acpi/Kconfig +0
-1@@ -9,7 +9,6 @@ config ACPI_X86 select ACPI_CPU_HOTPLUG select ACPI_MEMORY_HOTPLUG select ACPI_HMAT - select ACPI_PIIX4 select ACPI_PCIHP select ACPI_ERSThw/i386/Kconfig +1
-0@@ -69,6 +69,7 @@ config I440FX imply E1000_PCI imply VMPORT imply VMMOUSE + select ACPI_PIIX4 select PC_PCI select PC_ACPI select ACPI_SMBUS
PATCH v2 4/7 hw/acpi/Kconfig: Add missing dependencies to ACPI_PIIX4
In reply to Bernhard Beschowpiix4_pm_realize() uses apm_init() and pm_smbus_init(), so both APM and ACPI_SMBUS are provided by the device model managed by ACPI_PIIX4.
The ACPIREGS are also provided by ACPI_PIIX4, so needs to select ACPI.
--- hw/acpi/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
hw/acpi/Kconfig +3 -1
@@ -31,7 +31,9 @@ config ACPI_NVDIMM config ACPI_PIIX4 bool - depends on ACPI + select ACPI + select ACPI_SMBUS + select APM config ACPI_PCIHP bool
Signature · 1 line
2.39.0
Re: [PATCH v2 4/7] hw/acpi/Kconfig: Add missing dependencies to ACPI_PIIX4
Quoted 9 lines · Bernhard Beschow
piix4_pm_realize()usesapm_init()andpm_smbus_init(), so both APM andACPI_SMBUSare provided by the device model managed byACPI_PIIX4.The ACPIREGS are also provided by
ACPI_PIIX4, so needs to select ACPI.Signed-off-by Bernhard Beschow <[email protected]>--- hw/acpi/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
PATCH v2 5/7 hw/isa/Kconfig: Add missing dependency to VT82C686
In reply to Bernhard BeschowThe ACPIREGS are provided by TYPE_VIA_PM, so needs to select ACPI.
--- hw/isa/Kconfig | 1 + 1 file changed, 1 insertion(+)
hw/isa/Kconfig +1 -0
@@ -52,6 +52,7 @@ config PIIX4 config VT82C686 bool select ISA_SUPERIO + select ACPI select ACPI_SMBUS select SERIAL_ISA select FDC_ISA
Signature · 1 line
2.39.0
Re: [PATCH v2 5/7] hw/isa/Kconfig: Add missing dependency to VT82C686
Quoted 3 lines · Bernhard Beschow
The ACPIREGS are provided by
TYPE_VIA_PM, so needs to select ACPI.Signed-off-by Bernhard Beschow <[email protected]>
Quoted 17 lines
---
hw/isa/Kconfig | 1 +1 file changed, 1 insertion(+)hw/isa/Kconfig +0
-0@@ -52,6 +52,7 @@ config PIIX4config VT82C686
bool
selectISA_SUPERIO
+ select ACPI
selectACPI_SMBUS
selectSERIAL_ISA
selectFDC_ISA
Re: [PATCH v2 5/7] hw/isa/Kconfig: Add missing dependency to VT82C686
In reply to Bernhard BeschowQuoted 6 lines · Bernhard Beschow
The ACPIREGS are provided by
TYPE_VIA_PM, so needs to select ACPI.Signed-off-by Bernhard Beschow <[email protected]>--- hw/isa/Kconfig | 1 + 1 file changed, 1 insertion(+)
PATCH v2 6/7 i386, mips: Resolve redundant ACPI and APM dependencies
In reply to Bernhard BeschowNow that all ACPI controllers select the ACPI and APM dependencies themselves, these explicit dependencies became redundant. Remove them.
--- configs/devices/mips-softmmu/common.mak | 3 --- hw/i386/Kconfig | 2 -- 2 files changed, 5 deletions(-)
configs/devices/mips-softmmu/common.mak +0 -3
@@ -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
hw/i386/Kconfig +0 -2
@@ -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
Signature · 1 line
2.39.0
Re: [PATCH v2 6/7] i386, mips: Resolve redundant ACPI and APM dependencies
Quoted 44 lines · Bernhard Beschow
Now that all ACPI controllers select the ACPI and APM dependencies themselves, these explicit dependencies became redundant. Remove them.
Signed-off-by Bernhard Beschow <[email protected]>---
configs/devices/mips-softmmu/common.mak | 3 ---
hw/i386/Kconfig | 2 --2 files changed, 5 deletions(-)configs/devices/mips-softmmu/common.mak +0
-0@@ -17,9 +17,7 @@ CONFIG_I8254=y
CONFIG_PCSPK=yCONFIG_PCKBD=yCONFIG_FDC=y
-CONFIG_ACPI=yCONFIG_ACPI_PIIX4=y
-CONFIG_APM=yCONFIG_I8257=yCONFIG_PIIX4=yCONFIG_IDE_ISA=yconfigs/devices/mips-softmmu/common.mak +0
-0@@ -32,6 +30,5 @@ CONFIG_MIPS_ITU=y
CONFIG_MALTA=yCONFIG_PCNET_PCI=yCONFIG_MIPSSIM=y
-CONFIG_ACPI_SMBUS=yCONFIG_SMBUS_EEPROM=yCONFIG_TEST_DEVICES=yhw/i386/Kconfig +0
-1@@ -51,7 +51,6 @@ config PC_PCI bool select APIC select IOAPIC - select APM select PCconfig
PC_ACPI
hw/i386/Kconfig config I440FX · line 76
Quoted 7 lines
hw/i386/Kconfig +0
-1@@ -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?
Regards,
BALATON Zoltan
Re: [PATCH v2 6/7] i386, mips: Resolve redundant ACPI and APM dependencies
Am 16. Dezember 2022 14:48:05 UTC schrieb BALATON Zoltan <[email protected]>:
Quoted 42 lines · Bernhard Beschow
Quoted 41 lines
Now that all ACPI controllers select the ACPI and APM dependencies themselves, these explicit dependencies became redundant. Remove them.
Signed-off-by Bernhard Beschow <[email protected]>---
configs/devices/mips-softmmu/common.mak | 3 ---
hw/i386/Kconfig | 2 --2 files changed, 5 deletions(-)configs/devices/mips-softmmu/common.mak +0
-0@@ -17,9 +17,7 @@ CONFIG_I8254=y
CONFIG_PCSPK=yCONFIG_PCKBD=yCONFIG_FDC=y
-CONFIG_ACPI=yCONFIG_ACPI_PIIX4=y
-CONFIG_APM=yCONFIG_I8257=yCONFIG_PIIX4=yCONFIG_IDE_ISA=yconfigs/devices/mips-softmmu/common.mak +0
-0@@ -32,6 +30,5 @@ CONFIG_MIPS_ITU=y
CONFIG_MALTA=yCONFIG_PCNET_PCI=yCONFIG_MIPSSIM=y
-CONFIG_ACPI_SMBUS=yCONFIG_SMBUS_EEPROM=yCONFIG_TEST_DEVICES=yhw/i386/Kconfig +0
-1@@ -51,7 +51,6 @@ config PC_PCI bool select APIC select IOAPIC - select APM select PC
Quoted 12 lines
hw/i386/Kconfig config I440FX · line 76
Quoted 10 lines
config
PC_ACPIhw/i386/Kconfig +0
-1@@ -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_PIIXIs 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
Quoted 3 lines
Regards,
BALATON Zoltan
Re: [PATCH v2 6/7] i386, mips: Resolve redundant ACPI and APM dependencies
In reply to Bernhard BeschowQuoted 8 lines · Bernhard Beschow
Now that all ACPI controllers select the ACPI and APM dependencies themselves, these explicit dependencies became redundant. Remove them.
Signed-off-by Bernhard Beschow <[email protected]>--- configs/devices/mips-softmmu/common.mak | 3 --- hw/i386/Kconfig | 2 -- 2 files changed, 5 deletions(-)
PATCH v2 7/7 hw/ppc/Kconfig: Remove unused dependencies from PEGASOS2
In reply to Bernhard BeschowRemoves the following dependencies from ppc-softmmu:
- CONFIG_ACPI_CPU_HOTPLUG
- CONFIG_ACPI_CXL
- CONFIG_ACPI_HMAT
- CONFIG_ACPI_MEMORY_HOTPLUG
- CONFIG_ACPI_NVDIMM
- CONFIG_ACPI_PCIHP
- CONFIG_ACPI_X86
- CONFIG_MEM_DEVICE
--- hw/ppc/Kconfig | 2 -- 1 file changed, 2 deletions(-)
hw/ppc/Kconfig +0 -2
@@ -76,8 +76,6 @@ config PEGASOS2 select VT82C686 select SMBUS_EEPROM select VOF -# This should come with VT82C686 - select ACPI_X86 config PREP bool
Signature · 1 line
2.39.0
Re: [PATCH v2 7/7] hw/ppc/Kconfig: Remove unused dependencies from PEGASOS2
Quoted 11 lines · Bernhard Beschow
Removes the following dependencies from ppc-softmmu:
-CONFIG_ACPI_CPU_HOTPLUG
-CONFIG_ACPI_CXL
-CONFIG_ACPI_HMAT
-CONFIG_ACPI_MEMORY_HOTPLUG
-CONFIG_ACPI_NVDIMM
-CONFIG_ACPI_PCIHP
-CONFIG_ACPI_X86
-CONFIG_MEM_DEVICESigned-off-by Bernhard Beschow <[email protected]>
Thanks for sorting this out.
Quoted 18 lines
---
hw/ppc/Kconfig | 2 --1 file changed, 2 deletions(-)hw/ppc/Kconfig +0
-2@@ -76,8 +76,6 @@ config PEGASOS2 select VT82C686 select SMBUS_EEPROM select VOF -# This should come with VT82C686 - select ACPI_X86config PREP
bool
Re: [PATCH v2 7/7] hw/ppc/Kconfig: Remove unused dependencies from PEGASOS2
In reply to Bernhard BeschowQuoted 10 lines · Bernhard Beschow
Removes the following dependencies from ppc-softmmu:
-CONFIG_ACPI_CPU_HOTPLUG
-CONFIG_ACPI_CXL
-CONFIG_ACPI_HMAT
-CONFIG_ACPI_MEMORY_HOTPLUG
-CONFIG_ACPI_NVDIMM
-CONFIG_ACPI_PCIHP
-CONFIG_ACPI_X86
-CONFIG_MEM_DEVICE
Quoted 4 lines
Signed-off-by Bernhard Beschow <[email protected]>--- hw/ppc/Kconfig | 2 -- 1 file changed, 2 deletions(-)
Am 16. Dezember 2022 13:03:48 UTC schrieb Bernhard Beschow <[email protected]>:
Quoted 14 lines
This small series establishes consistency between ICH9, PIIX4 and VT82C686 ACPI
controllers to select ACPI,
ACPI_SMBUSand APM since they are provided by thedevice models.
Due to the PIIX4 PM cleanup PEGASOS2's dependency can be reduced to just ACPI,
eliminating 9 dependencies from the softmmu-ppc build.
Quoted 6 lines
v2:
- Turn "depends on ACPI" into "select ACPI" (Phil)
- Remove "select ACPI" from PEGASOS2 (Phil)
Ping
Patches 4 & 6 still need review.
Quoted 51 lines
- Move already reviewed patches to bottom
- Split some patches into "add missing dependencies" and "remove redundant
dependencies" for ease of review
Bernhard Beschow (7):
hw/acpi/Kconfig: Rename
ACPI_X86_ICHtoACPI_ICH9hw/acpi/Kconfig: Add missing dependencies to
ACPI_ICH9hw/acpi/Kconfig: Do not needlessly build
TYPE_PIIX4_PMin non-PC/Maltamachines
hw/acpi/Kconfig: Add missing dependencies to
ACPI_PIIX4hw/isa/Kconfig: Add missing dependency to VT82C686
i386, mips: Resolve redundant ACPI and APM dependencies
hw/ppc/Kconfig: Remove unused dependencies from PEGASOS2
configs/devices/mips-softmmu/common.mak | 3 ---
hw/acpi/Kconfig | 9 ++++++---
hw/acpi/meson.build | 2 +-
hw/i2c/meson.build | 2 +-
hw/i386/Kconfig | 3 +--
hw/isa/Kconfig | 4 ++--
hw/ppc/Kconfig | 2 --
7 files changed, 11 insertions(+), 14 deletions(-)-- >
2.39.0
Am 16. Dezember 2022 13:03:48 UTC schrieb Bernhard Beschow <[email protected]>:
Quoted 4 lines
This small series establishes consistency between ICH9, PIIX4 and VT82C686 ACPI
controllers to select ACPI,
ACPI_SMBUSand APM since they are provided by the
Quoted 8 lines
device models.
Due to the PIIX4 PM cleanup PEGASOS2's dependency can be reduced to just ACPI,
eliminating 9 dependencies from the softmmu-ppc build.
Ping
Looks like all patches are reviewed, i.e. ready to be queued.
Best regards,
Bernhard
Quoted 59 lines
v2:
- Turn "depends on ACPI" into "select ACPI" (Phil)
- Remove "select ACPI" from PEGASOS2 (Phil)
- Move already reviewed patches to bottom
- Split some patches into "add missing dependencies" and "remove redundant
dependencies" for ease of review
Bernhard Beschow (7):
hw/acpi/Kconfig: Rename
ACPI_X86_ICHtoACPI_ICH9hw/acpi/Kconfig: Add missing dependencies to
ACPI_ICH9hw/acpi/Kconfig: Do not needlessly build
TYPE_PIIX4_PMin non-PC/Maltamachines
hw/acpi/Kconfig: Add missing dependencies to
ACPI_PIIX4hw/isa/Kconfig: Add missing dependency to VT82C686
i386, mips: Resolve redundant ACPI and APM dependencies
hw/ppc/Kconfig: Remove unused dependencies from PEGASOS2
configs/devices/mips-softmmu/common.mak | 3 ---
hw/acpi/Kconfig | 9 ++++++---
hw/acpi/meson.build | 2 +-
hw/i2c/meson.build | 2 +-
hw/i386/Kconfig | 3 +--
hw/isa/Kconfig | 4 ++--
hw/ppc/Kconfig | 2 --
7 files changed, 11 insertions(+), 14 deletions(-)-- >
2.39.0
Quoted 16 lines · Bernhard Beschow
Am 16. Dezember 2022 13:03:48 UTC schrieb Bernhard Beschow <[email protected]>:
Quoted 4 lines
This small series establishes consistency between ICH9, PIIX4 and VT82C686 ACPI
controllers to select ACPI,
ACPI_SMBUSand APM since they are provided by theQuoted 8 lines
device models.
Due to the PIIX4 PM cleanup PEGASOS2's dependency can be reduced to just ACPI,
eliminating 9 dependencies from the softmmu-ppc build.
Quoted 6 lines
Ping
Looks like all patches are reviewed, i.e. ready to be queued.
Best regards,
Bernhard
Sure, next pull.
Quoted 59 lines
Quoted 59 lines
v2:
- Turn "depends on ACPI" into "select ACPI" (Phil)
- Remove "select ACPI" from PEGASOS2 (Phil)
- Move already reviewed patches to bottom
- Split some patches into "add missing dependencies" and "remove redundant
dependencies" for ease of review
Bernhard Beschow (7):
hw/acpi/Kconfig: Rename
ACPI_X86_ICHtoACPI_ICH9hw/acpi/Kconfig: Add missing dependencies to
ACPI_ICH9hw/acpi/Kconfig: Do not needlessly build
TYPE_PIIX4_PMin non-PC/Maltamachines
hw/acpi/Kconfig: Add missing dependencies to
ACPI_PIIX4hw/isa/Kconfig: Add missing dependency to VT82C686
i386, mips: Resolve redundant ACPI and APM dependencies
hw/ppc/Kconfig: Remove unused dependencies from PEGASOS2
configs/devices/mips-softmmu/common.mak | 3 ---
hw/acpi/Kconfig | 9 ++++++---
hw/acpi/meson.build | 2 +-
hw/i2c/meson.build | 2 +-
hw/i386/Kconfig | 3 +--
hw/isa/Kconfig | 4 ++--
hw/ppc/Kconfig | 2 --
7 files changed, 11 insertions(+), 14 deletions(-)-- >
2.39.0