summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2024-11-18 08:40:54 +0100
committerLean Sheng Tan <sheng.tan@9elements.com>2024-11-19 11:22:02 +0000
commitc2c00f2a4577cae01807f7d2cbcc64de97c51885 (patch)
tree093c4bce5c936709316f6506c9fd878ebbc81045 /src
parent57631693d699dbae1c84dda162a25be6e3d11ca9 (diff)
soc/intel/xeon_sp/acpi/gen1: Properly set _PXM
Set _PXM in ACPI to indicate which socket the PCI domain belongs to. TEST: Booted on 2S ocp/tiogapass and checked dmesg that PCI domains are advertised in the correct Proximity Domain. Change-Id: I39cec0307b0dce0a4da5df5be5095b8d90758997 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85172 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Shuo Liu <shuo.liu@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/xeon_sp/acpi/gen1/iiostack.asl20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/soc/intel/xeon_sp/acpi/gen1/iiostack.asl b/src/soc/intel/xeon_sp/acpi/gen1/iiostack.asl
index 53e144a650..735197a3bf 100644
--- a/src/soc/intel/xeon_sp/acpi/gen1/iiostack.asl
+++ b/src/soc/intel/xeon_sp/acpi/gen1/iiostack.asl
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#define MAKE_IIO_DEV(id,rt) \
+#define MAKE_IIO_DEV(id,rt,pxm) \
Device (PC##id) \
{ \
Name (_HID, EisaId ("PNP0A08") /* PCI Express Bus */) \
@@ -27,7 +27,7 @@
} \
Name (SUPP, 0x00) \
Name (CTRL, 0x00) \
- Name (_PXM, 0x00) /* _PXM: Device Proximity */ \
+ Name (_PXM, pxm) /* _PXM: Device Proximity */ \
Method (_OSC, 4, NotSerialized) \
{ \
CreateDWordField (Arg3, 0x00, CDW1) \
@@ -72,14 +72,14 @@
}
// Keep in sync with iio_domain_set_acpi_name()!
-MAKE_IIO_DEV(00, 00)
-MAKE_IIO_DEV(01, 10)
-MAKE_IIO_DEV(02, 20)
-MAKE_IIO_DEV(03, 28)
+MAKE_IIO_DEV(00, 00, 0)
+MAKE_IIO_DEV(01, 10, 0)
+MAKE_IIO_DEV(02, 20, 0)
+MAKE_IIO_DEV(03, 28, 0)
#if (CONFIG_MAX_SOCKET > 1)
-MAKE_IIO_DEV(20, 40)
-MAKE_IIO_DEV(21, 50)
-MAKE_IIO_DEV(22, 60)
-MAKE_IIO_DEV(23, 68)
+MAKE_IIO_DEV(20, 40, 1)
+MAKE_IIO_DEV(21, 50, 1)
+MAKE_IIO_DEV(22, 60, 1)
+MAKE_IIO_DEV(23, 68, 1)
#endif