diff options
| author | Bibo Mao <maobibo@loongson.cn> | 2026-09-22 20:10:55 +0800 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-10-12 16:44:05 +0200 |
| commit | 3bd2779b6cfdb67a05bc52b86a1d9cd2e31cdcc2 (patch) | |
| tree | f58bcd7ce763c90359e55f66c4d8bc06a4b1b4c5 /include | |
| parent | 888dab4b04ea8725168c6d50d0bfb8057fccca18 (diff) | |
| download | linux-next-3bd2779b6cfdb67a05bc52b86a1d9cd2e31cdcc2.tar.gz linux-next-3bd2779b6cfdb67a05bc52b86a1d9cd2e31cdcc2.zip | |
ACPICA: actbl2.h: Add bit constants of the Flags field in the IOVT IOMMU structure
According to the IOVT specification, define macros for each bit of the
Flags field in the IOVT IOMMU structure.
Link: https://github.com/open-acpica/acpica/commit/352f750e4cc0
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Link: https://patch.msgid.link/20260922121058.972734-2-maobibo@loongson.cn
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/acpi/actbl2.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index baef525367b5..76e4a5bc79b4 100644 --- a/include/acpi/actbl2.h +++ b/include/acpi/actbl2.h @@ -919,6 +919,13 @@ struct acpi_iovt_iommu { u32 device_entry_offset; }; +/* Masks for Flags field above */ +#define ACPI_IOVT_IOMMU_PCI_DEVICE (1<<0) +#define ACPI_IOVT_IOMMU_PXM_VALID (1<<1) +#define ACPI_IOVT_IOMMU_MAGAGE_BY_SEGMENT (1<<2) +#define ACPI_IOVT_IOMMU_HW_CAP_SUPPORT (1<<3) +#define ACPI_IOVT_IOMMU_MSI_INT_BYPASS (1<<4) + struct acpi_iovt_device_entry { u8 type; u8 length; |
