Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ACPI: Let ACPI know we support Generic Initiator Affinity Structures

Until we tell ACPI that we support generic initiators, it will have
to operate in fall back domain mode and all _PXM entries should
be on existing non GI domains.

This patch sets the relevant OSC bit to make that happen.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Jonathan Cameron and committed by
Rafael J. Wysocki
01aabca2 73bf7382

+5
+4
drivers/acpi/bus.c
··· 303 303 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_HOTPLUG_OST_SUPPORT; 304 304 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_PCLPI_SUPPORT; 305 305 306 + #ifdef CONFIG_ARM64 307 + capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_GENERIC_INITIATOR_SUPPORT; 308 + #endif 306 309 #ifdef CONFIG_X86 310 + capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_GENERIC_INITIATOR_SUPPORT; 307 311 if (boot_cpu_has(X86_FEATURE_HWP)) { 308 312 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_CPC_SUPPORT; 309 313 capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_CPCV2_SUPPORT;
+1
include/linux/acpi.h
··· 545 545 #define OSC_SB_PCLPI_SUPPORT 0x00000080 546 546 #define OSC_SB_OSLPI_SUPPORT 0x00000100 547 547 #define OSC_SB_CPC_DIVERSE_HIGH_SUPPORT 0x00001000 548 + #define OSC_SB_GENERIC_INITIATOR_SUPPORT 0x00002000 548 549 549 550 extern bool osc_sb_apei_support_acked; 550 551 extern bool osc_pc_lpi_support_confirmed;