acpi/acpi: Pass struct device to acpi_create_srat_gia_pci
commit344ebf1f81db4219ad44b5d578c464b4bd8820a5
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Wed, 31 Jan 2024 10:38:38 +0000 (31 11:38 +0100)
committerFelix Held <felix-coreboot@felixheld.de>
Fri, 9 Feb 2024 13:47:00 +0000 (9 13:47 +0000)
tree306a71ba491897b70e8aaa42f75b37e348678e03
parentf25d58c9a59aa5ccdc5a8b6afeccc7afa0d9d364
acpi/acpi: Pass struct device to acpi_create_srat_gia_pci

Instead of S:B:D:F numbers pass the struct device to
acpi_create_srat_gia_pci and let it extract the information needed.

This also adds support for PCI multi segment groups.

Change-Id: Iafe32e98f0c85f14347695ccaa0225e43fad99e7
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80258
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Shuo Liu <shuo.liu@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/acpi/acpi.c
src/include/acpi/acpi.h
src/soc/intel/xeon_sp/uncore_acpi_cxl.c