mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/4] ACPI: LoongArch: Add IOVT table support
@ 2026-07-17  6:37 Bibo Mao
  2026-07-17  6:37 ` [PATCH v2 1/4] ACPI: LoongArch: Add acpi_arch_[late]_init() Bibo Mao
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Bibo Mao @ 2026-07-17  6:37 UTC (permalink / raw)
  To: Huacai Chen, Rafael J . Wysocki
  Cc: Len Brown, Saket Dumbre, linux-kernel, loongarch, linux-acpi,
	acpica-devel, lixianglai

I/O Virtualization Table is ACPI table for LoongArch IOMMU devices, it
is merged on ACPI Spec 6.6, and it can be located at
  https://www.loongson.cn/uploads/images/2024110517404135188.LoongArch-IO-Virtualization-Table-Specification.pdf

Here add IOVT table parsing on LoongArch system, it is for LoongArch
IOMMU driver use in future.
---
v1 ... v2:
  1. Reorganize the patch, patch 1/4 are merged, patch 3/5/6 are merged,
     add patch 2/8 are merged together.
  2. Enrich error printk information in iovt_get_pci_iommu_fwnode(). 
---
Bibo Mao (4):
  ACPI: LoongArch: Add acpi_arch_[late]_init()
  ACPI: LoongArch: Add IOVT device entry table scanning
  ACPI: scan: Add support for LoongArch in acpi_iommu_configure_id()
  MAINTAINERS: Add entry for drivers/acpi/loongarch

 MAINTAINERS                     |   9 +
 arch/loongarch/Kconfig          |   1 +
 drivers/acpi/Kconfig            |   4 +
 drivers/acpi/Makefile           |   2 +-
 drivers/acpi/bus.c              |   2 +
 drivers/acpi/loongarch/Kconfig  |   7 +
 drivers/acpi/loongarch/Makefile |   3 +
 drivers/acpi/loongarch/init.c   |  16 ++
 drivers/acpi/loongarch/init.h   |   5 +
 drivers/acpi/loongarch/iovt.c   | 280 ++++++++++++++++++++++++++++++++
 drivers/acpi/scan.c             |   3 +
 include/acpi/actbl2.h           |   3 +
 include/linux/acpi.h            |   1 +
 include/linux/acpi_iovt.h       |  13 ++
 14 files changed, 348 insertions(+), 1 deletion(-)
 create mode 100644 drivers/acpi/loongarch/Kconfig
 create mode 100644 drivers/acpi/loongarch/Makefile
 create mode 100644 drivers/acpi/loongarch/init.c
 create mode 100644 drivers/acpi/loongarch/init.h
 create mode 100644 drivers/acpi/loongarch/iovt.c
 create mode 100644 include/linux/acpi_iovt.h


base-commit: 58717b2a1365d06c8c64b72aa948541b53fe31eb
-- 
2.39.3


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-07-23 12:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-17  6:37 [PATCH v2 0/4] ACPI: LoongArch: Add IOVT table support Bibo Mao
2026-07-17  6:37 ` [PATCH v2 1/4] ACPI: LoongArch: Add acpi_arch_[late]_init() Bibo Mao
2026-07-21 19:10   ` Rafael J. Wysocki (Intel)
2026-07-23 12:47     ` Bibo Mao
2026-07-17  6:37 ` [PATCH v2 2/4] ACPI: LoongArch: Add IOVT device entry table scanning Bibo Mao
2026-07-21 19:09   ` Rafael J. Wysocki (Intel)
2026-07-23 12:44     ` Bibo Mao
2026-07-17  6:37 ` [PATCH v2 3/4] ACPI: scan: Add support for LoongArch in acpi_iommu_configure_id() Bibo Mao
2026-07-21 19:07   ` Rafael J. Wysocki (Intel)
2026-07-17  6:37 ` [PATCH v2 4/4] MAINTAINERS: Add entry for drivers/acpi/loongarch Bibo Mao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®