[04/14] ACPICA: iASL: Finish support for the IVRS ACPI table

Message ID 20210604212608.2604267-5-erik.kaneda@intel.com
State New
Headers show
Series
  • [01/14] ACPICA: ACPI 6.4: MADT: add Multiprocessor Wakeup Mailbox Structure
Related show

Commit Message

Erik Kaneda June 4, 2021, 9:25 p.m.
From: Bob Moore <robert.moore@intel.com>

1) Add compiler support for IVRS.
2) Update disassembler support for IVRS.
3) Add a new utility, ut_is_id_integer to determine if a HID/CID is
   an integer or a string.

ACPICA commit 7eb0b770cb0efcf089cb217b5f8bafc0c6395a3d

Link: https://github.com/acpica/acpica/commit/7eb0b770
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
---
 include/acpi/actbl2.h | 6 ++++++
 1 file changed, 6 insertions(+)

Patch

diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h
index d8fec67e4c8c..42c78fecca7c 100644
--- a/include/acpi/actbl2.h
+++ b/include/acpi/actbl2.h
@@ -447,6 +447,12 @@  struct acpi_ivrs_device_hid {
 	u8 uid_length;
 };
 
+/* Values for uid_type above */
+
+#define ACPI_IVRS_UID_NOT_PRESENT   0
+#define ACPI_IVRS_UID_IS_INTEGER    1
+#define ACPI_IVRS_UID_IS_STRING     2
+
 /* 0x20, 0x21, 0x22: I/O Virtualization Memory Definition Block (IVMD) */
 
 struct acpi_ivrs_memory {