]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ACPI: RISC-V: Initialize GSI mapping structures
authorSunil V L <sunilvl@ventanamicro.com>
Mon, 12 Aug 2024 00:59:23 +0000 (06:29 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 27 Aug 2024 13:48:35 +0000 (15:48 +0200)
commite77b8dc02a1ca227e84c61e6af085d350e3b3611
tree4eed548ab03cdf3cb36a80fd0960ee79eb57f80b
parentf8bba143dae10f824e2b4522f31d6e78781b8667
ACPI: RISC-V: Initialize GSI mapping structures

RISC-V has PLIC and APLIC in MADT as well as namespace devices.
Initialize the list of those structures using MADT and namespace devices
to create mapping between the ACPI handle and the GSI ranges. This will
be used later to add dependencies.

Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Tested-by: Björn Töpel <bjorn@rivosinc.com>
Link: https://patch.msgid.link/20240812005929.113499-12-sunilvl@ventanamicro.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/riscv/include/asm/irq.h
drivers/acpi/riscv/init.c
drivers/acpi/riscv/init.h [new file with mode: 0644]
drivers/acpi/riscv/irq.c