hw/arm/Kconfig: no need to enable ACPI_MEMORY_HOTPLUG/ACPI_NVDIMM explicitly
PATCH v3 1/1 hw/arm/Kconfig: no need to enable ACPI_MEMORY_HOTPLUG/ACPI_NVDIMM explicitly
Since commit36b79e3219d ("hw/acpi/Kconfig: Add missing Kconfig dependencies (build error)"), ACPI_MEMORY_HOTPLUG and ACPI_NVDIMM is implicitly turned on when ACPI_HW_REDUCED is selected. ACPI_HW_REDUCED is already enabled. No need to turn on ACPI_MEMORY_HOTPLUG or ACPI_NVDIMM explicitly. This is a minor cleanup.
--- hw/arm/Kconfig | 2 -- 1 file changed, 2 deletions(-)
changelog:
v1: initial patch
v2: commit log updated and ACPI_NVDIMM also removed from config.
v3: added missing parenthesis in commit message.
hw/arm/Kconfig +0 -2
@@ -25,9 +25,7 @@ config ARM_VIRT select ACPI_PCI select MEM_DEVICE select DIMM - select ACPI_MEMORY_HOTPLUG select ACPI_HW_REDUCED - select ACPI_NVDIMM select ACPI_APEI config CHEETAH
Signature · 1 line
2.25.1
Peter Maydell
AppliedQuoted 9 lines · Ani Sinha
Since commit
36b79e3219d("hw/acpi/Kconfig: Add missingKconfigdependencies (build error)"),ACPI_MEMORY_HOTPLUGandACPI_NVDIMMis implicitly turned on whenACPI_HW_REDUCEDis selected.ACPI_HW_REDUCEDis already enabled. No need to turn onACPI_MEMORY_HOTPLUGorACPI_NVDIMMexplicitly. This is a minor cleanup.Signed-off-by Ani Sinha <[email protected]>Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Applied to target-arm.next, thanks.
-- PMM