soc/intel/xeon_sp: Walk devicetree to find IOAPICs
commit3a891aff8c8aa05284dbbbc436e50e5ed3f34f5a
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Thu, 24 Oct 2024 12:04:46 +0000 (24 14:04 +0200)
committerLean Sheng Tan <sheng.tan@9elements.com>
Tue, 19 Nov 2024 15:16:16 +0000 (19 15:16 +0000)
treeaee7ca2122b18ae97ece0aa252a6b8806cdb4130
parent6179cce7147745c19fadbf54140089aca563691d
soc/intel/xeon_sp: Walk devicetree to find IOAPICs

Walk the devicetree to collect all PCI IOAPICs. When found read
the IOAPIC base address from hardware.

TEST: On ocp/tiogapass all IOAPICs are found and advertised.

Change-Id: I2835c202e56849655795b96bc83862cb18e83fc0
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84851
Reviewed-by: Shuo Liu <shuo.liu@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/soc/intel/xeon_sp/iio_ioapic.c