]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
irqchip/gic-v5: Add ACPI ITS probing
authorLorenzo Pieralisi <lpieralisi@kernel.org>
Thu, 15 Jan 2026 09:50:51 +0000 (10:50 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 27 Jan 2026 14:31:42 +0000 (15:31 +0100)
commita97efa5ba594642b86fb6702f38ed0d18e3b0269
tree70108d39e134287b9b1de7ff89c5e79495d151c0
parent35866efa52feaf48cc54a0745851a555654e1446
irqchip/gic-v5: Add ACPI ITS probing

On ACPI ARM64 systems the GICv5 ITS configuration and translate frames
are described in the MADT table.

Refactor the current GICv5 ITS driver code to share common functions
between ACPI and OF and implement ACPI probing in the GICv5 ITS driver.

Add iort_msi_xlate() to map a device ID and retrieve an MSI controller
fwnode node for ACPI systems and update pci_msi_map_rid_ctlr_node() to
use it in its ACPI code path.

Add the required functions to IORT code for deviceID retrieval and IRQ
domain registration and look-up so that the GICv5 ITS driver in an
ACPI based system can be successfully probed.

Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Acked-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260115-gicv5-host-acpi-v3-5-c13a9a150388@kernel.org
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/arm64/iort.c
drivers/irqchip/irq-gic-its-msi-parent.c
drivers/irqchip/irq-gic-v5-irs.c
drivers/irqchip/irq-gic-v5-its.c
drivers/pci/msi/irqdomain.c
include/linux/acpi_iort.h
include/linux/irqchip/arm-gic-v5.h