Skip to content

Commit 23e4de9

Browse files
committed
hcl-x64.config: Set CONFIG_ACPI=y
The wakeup mailbox that the virtual firmware implements to boot secondary CPUs is defined in the ACPI specification (see version 6.6 section 5.2.12.19). The code in the kernel that makes use of the mailbox resides in the x86 ACPI subsystem. CONFIG_ACPI needs to be set as 'y' to select it. The option CONFIG_ACPI selects or enables many other configuration options which in turn select more options that are not used with DeviceTree-based firmware. Unselect all the options that have a menuconfig prompt. The newly selected code remains dormant if the acpi=off is specified in the kernel command line. The code that interacts with the mailbox remains usable for DeviceTree platform firmware. These are the options that are selected after running `make olddefconfig` with this changeset: * CONFIG_ACPI_MADT_WAKEUP=y Enables the wakeup mailbox. * CONFIG_ACPI_LPIT Support for ACPI low-power idle table (not used with DeviceTree FW). * CONFIG_ACPI_LEGACY_TABLES_LOOKUP=y Tweaks ACPI root table lookup (not used with DeviceTree FW). * CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y * CONFIG_ARCH_HAS_ACPI_TABLE_UPGRADE=y Architecture capabilities (unused). * CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y Support for ACPI-based suspend/resume (not used with DeviceTree FW). * CONFIG_ACPI_HOTPLUG_IOAPIC=y Support for IO-APIC hotplug (not used with DeviceTree FW). * CONFIG_HAVE_ACPI_APEI=y * CONFIG_HAVE_ACPI_APEI_NMI=y Architecture capabilities (not used as CONFIG_ACPI_APEI=n). * CONFIG_PCI_LABEL=y ACPI-provided PCI naming facilities (not used with DeviceTree FW). * CONFIG_PNP=y * CONFIG_PNPACPI=y Support only. Does not add drivers. * CONFIG_FIRMWARE_TABLE=y Library for parsing ACPI tables. Signed-off-by: Ricardo Neri <[email protected]>
1 parent 04a67e5 commit 23e4de9

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

Microsoft/hcl-x64.config

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ CONFIG_X86_DIRECT_GBPAGES=y
354354
# CONFIG_AMD_MEM_ENCRYPT is not set
355355
CONFIG_NUMA=y
356356
CONFIG_AMD_NUMA=y
357+
# CONFIG_X86_64_ACPI_NUMA is not set
357358
CONFIG_NODES_SHIFT=6
358359
CONFIG_ARCH_SPARSEMEM_ENABLE=y
359360
CONFIG_ARCH_SPARSEMEM_DEFAULT=y
@@ -433,7 +434,33 @@ CONFIG_ARCH_HAS_ADD_PAGES=y
433434
# CONFIG_SUSPEND is not set
434435
# CONFIG_PM is not set
435436
CONFIG_ARCH_SUPPORTS_ACPI=y
436-
# CONFIG_ACPI is not set
437+
CONFIG_ACPI=y
438+
# CONFIG_ACPI_DEBUGGER is not set
439+
# CONFIG_ACPI_SPCR_TABLE is not set
440+
# CONFIG_ACPI_FPDT is not set
441+
# CONFIG_ACPI_REV_OVERRIDE_POSSIBLE is not set
442+
# CONFIG_ACPI_EC_DEBUGFS is not set
443+
# CONFIG_ACPI_AC is not set
444+
# CONFIG_ACPI_BATTERY is not set
445+
# CONFIG_ACPI_TINY_POWER_BUTTON is not set
446+
# CONFIG_ACPI_DOCK is not set
447+
# CONFIG_ACPI_PROCESSOR is not set
448+
# CONFIG_ACPI_TABLE_UPGRADE is not set
449+
# CONFIG_ACPI_DEBUG is not set
450+
# CONFIG_ACPI_PCI_SLOT is not set
451+
# CONFIG_ACPI_CONTAINER is not set
452+
# CONFIG_ACPI_HOTPLUG_MEMORY is not set
453+
# CONFIG_ACPI_SBS is not set
454+
# CONFIG_ACPI_HED is not set
455+
# CONFIG_ACPI_REDUCED_HARDWARE_ONLY is not set
456+
# CONFIG_ACPI_NFIT is not set
457+
# CONFIG_ACPI_APEI is not set
458+
# CONFIG_ACPI_DPTF is not set
459+
# CONFIG_ACPI_CONFIGFS is not set
460+
# CONFIG_ACPI_PFRUT is not set
461+
# CONFIG_ACPI_FFH is not set
462+
# CONFIG_PMIC_OPREGION is not set
463+
# CONFIG_X86_PM_TIMER is not set
437464

438465
#
439466
# CPU Frequency scaling
@@ -452,6 +479,7 @@ CONFIG_ARCH_SUPPORTS_ACPI=y
452479
# Bus options (PCI etc.)
453480
#
454481
CONFIG_PCI_DIRECT=y
482+
# CONFIG_PCI_MMCONFIG is not set
455483
# CONFIG_PCI_CNB20LE_QUIRK is not set
456484
# CONFIG_ISA_BUS is not set
457485
# CONFIG_ISA_DMA_API is not set
@@ -1230,6 +1258,7 @@ CONFIG_LDISC_AUTOLOAD=y
12301258
CONFIG_SERIAL_EARLYCON=y
12311259
CONFIG_SERIAL_8250=y
12321260
CONFIG_SERIAL_8250_DEPRECATED_OPTIONS=y
1261+
# CONFIG_SERIAL_8250_PNP is not set
12331262
CONFIG_SERIAL_8250_16550A_VARIANTS=y
12341263
# CONFIG_SERIAL_8250_FINTEK is not set
12351264
CONFIG_SERIAL_8250_CONSOLE=y

0 commit comments

Comments
 (0)