acpi: Add functions to declare ARM GIC V3 hardware

For GICD and GICR a SOC needs to implement 2 callbacks to get the base
of those interrupt controllers.

For all the cpu GIC the code loops over all the DEVICE_PATH_GICC_V3
devices in a similar fashion to how x86 lapics are added. It's up to the
SOC to add those devices to the tree.

Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Change-Id: I5074d0a76316e854b7801e14b3241f88e805b02f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76132
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Arthur Heymans
2023-06-27 16:44:59 +02:00
committed by Lean Sheng Tan
parent fca612497d
commit 3df6cc9de6
5 changed files with 106 additions and 0 deletions

View File

@@ -53,6 +53,10 @@ config ACPI_COMMON_MADT_LAPIC
config ACPI_COMMON_MADT_IOAPIC
bool
config ACPI_COMMON_MADT_GICC_V3
bool
depends on ARCH_ARM64
config ACPI_NO_PCAT_8259
bool
help