History log of /linux/drivers/acpi/loongarch/Kconfig (Results 1 – 1 of 1)
Revision Date Author Comments
# a9b0c345 27-Oct-2026 Bibo Mao <maobibo@loongson.cn>

ACPI: LoongArch: Add acpi_arch_[late]_init()

LoongArch IOMMU scanning flow is similar with virtio-iommu, there is an
early init phase and a late init phase. In the early init function, PCI
ACS is en

ACPI: LoongArch: Add acpi_arch_[late]_init()

LoongArch IOMMU scanning flow is similar with virtio-iommu, there is an
early init phase and a late init phase. In the early init function, PCI
ACS is enabled if there is IOMMU table, and the late init function is
called after PCI device scanning, where IOVT table scanning function is
executed.

Here add acpi_arch_init() and acpi_arch_late_init() API for LoongArch:
the acpi_iovt_init() function is to enable PCI ACS function if the IOMMU
device exists in IOVT table; while the acpi_iovt_late_init() function is
to scan IOVT table and add IOMMU devices.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>

show more ...