soc/intel/xeon_sp: Add acpigen_write_PRT_pre_routed
commitf214acd6e570fa053f4a6366d6d4609f10a4ad80
authorLu, Pen-ChunX <pen-chunx.lu@intel.com>
Fri, 14 Jun 2024 16:48:28 +0000 (15 00:48 +0800)
committerLean Sheng Tan <sheng.tan@9elements.com>
Thu, 7 Nov 2024 10:01:18 +0000 (7 10:01 +0000)
tree86bedd6673a15fead876a12d5a56113b835ef039
parenta80461f84b0a1fa6f4f41eee8564f6f192b86fc0
soc/intel/xeon_sp: Add acpigen_write_PRT_pre_routed

acpigen_write_PRT_pre_routed writes _PRT covering all direct
subordinate child devices based on interrupt line/pin info from
their PCI configuration spaces. It is required that IRQ routing
and PCI configuration space update to be done ahead of time.

TEST=Build and boot on intel/archercity CRB

Change-Id: Ic54888f76d2ec9804442bec5aec54267d9a16d7c
Signed-off-by: Lu, Pen-ChunX <pen-chunx.lu@intel.com>
Signed-off-by: Shuo Liu <shuo.liu@intel.com>
Signed-off-by: Jincheng Li <jincheng.li@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82253
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
src/soc/intel/xeon_sp/acpi.c
src/soc/intel/xeon_sp/include/soc/acpi.h