summaryrefslogtreecommitdiffstats
path: root/include/acpi/actbl3.h
diff options
context:
space:
mode:
authorJean-Philippe Brucker <jean-philippe@linaro.org>2021-04-06 23:30:26 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-04-07 19:09:01 +0200
commite563f6fc9ef4674c083b22d62ca4d93f0cfb1cce (patch)
tree5c96321958f5fe4ddc267440cad3b0e2655944ad /include/acpi/actbl3.h
parentACPICA: iASL: Decode subtable type field for VIOT (diff)
downloadlinux-e563f6fc9ef4674c083b22d62ca4d93f0cfb1cce.tar.xz
linux-e563f6fc9ef4674c083b22d62ca4d93f0cfb1cce.zip
ACPICA: acpisrc: Add missing conversion for VIOT support
ACPICA commit 856a96fdf4b51b2b8da17529df0255e6f51f1b5b struct acpi_viot_header is missing from identifier table, causing linuxize failures. Link: https://github.com/acpica/acpica/commit/856a96fd Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Erik Kaneda <erik.kaneda@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/actbl3.h')
-rw-r--r--include/acpi/actbl3.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/acpi/actbl3.h b/include/acpi/actbl3.h
index c0e68331f1fc..86903ac5bbc5 100644
--- a/include/acpi/actbl3.h
+++ b/include/acpi/actbl3.h
@@ -520,7 +520,7 @@ enum acpi_viot_node_type {
/* VIOT subtables */
struct acpi_viot_pci_range {
- ACPI_VIOT_HEADER header;
+ struct acpi_viot_header header;
u32 endpoint_start;
u16 segment_start;
u16 segment_end;
@@ -531,7 +531,7 @@ struct acpi_viot_pci_range {
};
struct acpi_viot_mmio {
- ACPI_VIOT_HEADER header;
+ struct acpi_viot_header header;
u32 endpoint;
u64 base_address;
u16 output_node;
@@ -539,14 +539,14 @@ struct acpi_viot_mmio {
};
struct acpi_viot_virtio_iommu_pci {
- ACPI_VIOT_HEADER header;
+ struct acpi_viot_header header;
u16 segment;
u16 bdf;
u8 reserved[8];
};
struct acpi_viot_virtio_iommu_mmio {
- ACPI_VIOT_HEADER header;
+ struct acpi_viot_header header;
u8 reserved[4];
u64 base_address;
};