Skip to contentSkip to conversation

ACPICA: ACPICA 20210730

PATCH New Rafael J. Wysocki 1 participant 8 messages Aug 3, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover ACPICA: ACPICA 20210730

Hi All,

This series of patches is the linux-ized set of ACPICA 20210730 changes described at https://acpica.org/sites/acpica/files/changes_59.txt

It contains the following changes:

Bob Moore (6):
ACPICA: iASL: Add support for the AEST table (data compiler)
ACPICA: Fix an if statement (add parens)
ACPICA: Macros should not use a trailing semicolon
ACPICA: iASL: Fix for WPBT table with no command-line arguments
ACPICA: Add method name "_DIS" For use with aslmethod.c
ACPICA: Update version to 20210730

Marcin Wojtas (1):
ACPICA: Headers: Add new DBG2 Serial Port Subtypes

Thanks!

#1 lore raw

PATCH 1/7 ACPICA: iASL: Add support for the AEST table (data compiler)

From: Bob Moore <[email protected]>

Includes support in the table compiler and the disassembler.

ACPICA commit e75074d84d1207339a048486c2d06ecb935d0092

---
 include/acpi/actbl1.h |   1 +
 include/acpi/actbl2.h | 170 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 171 insertions(+)
include/acpi/actbl1.h +1 -0
index ef2872dea01c..a7ea179b2089 100644
@@ -24,6 +24,7 @@
  * file. Useful because they make it more difficult to inadvertently type in
  * the wrong signature.
  */
+#define ACPI_SIG_AEST           "AEST"	/* Arm Error Source Table */
 #define ACPI_SIG_ASF            "ASF!"	/* Alert Standard Format table */
 #define ACPI_SIG_BERT           "BERT"	/* Boot Error Record Table */
 #define ACPI_SIG_BGRT           "BGRT"	/* Boot Graphics Resource Table */
include/acpi/actbl2.h +170 -0

176 lines not on this page · raw message

Signature · 1 line
2.26.2
#2 lore raw

PATCH 2/7 ACPICA: Fix an if statement (add parens)

In reply to Rafael J. Wysocki

From: Bob Moore <[email protected]>

ACPICA commit 4dbe4b9a0c203b04918705f022e0db997aa55696

---
 drivers/acpi/acpica/dswexec.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/acpi/acpica/dswexec.c +2 -3
index 41ba7773fd10..f2d2267054af 100644
@@ -561,11 +561,10 @@ acpi_status acpi_ds_exec_end_op(struct acpi_walk_state *walk_state)
 								op->common.
 								node->object,
 								NULL);
-				if ACPI_FAILURE
-					(status) {
+				if (ACPI_FAILURE(status)) {
 					ACPI_EXCEPTION((AE_INFO, status,
 							"While writing to buffer field"));
-					}
+				}
 			}
 			ACPI_FREE(namepath);
 			status = AE_OK;
Signature · 1 line
2.26.2
#3 lore raw

PATCH 3/7 ACPICA: Macros should not use a trailing semicolon

In reply to Rafael J. Wysocki

From: Bob Moore <[email protected]>

ACPICA commit 8d49c0b2b78b8a8c5dae4d5ff28432729f4d59f2

---
 include/acpi/acoutput.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/acpi/acoutput.h +1 -1
index 1b4c45815695..5a3875744678 100644
@@ -415,7 +415,7 @@
 /* Conditional execution */
 
 #define ACPI_DEBUG_EXEC(a)              a
-#define ACPI_DEBUG_ONLY_MEMBERS(a)      a;
+#define ACPI_DEBUG_ONLY_MEMBERS(a)      a
 #define _VERBOSE_STRUCTURES
 
 /* Various object display routines for debug */
Signature · 1 line
2.26.2
#4 lore raw

PATCH 4/7 ACPICA: Headers: Add new DBG2 Serial Port Subtypes

In reply to Rafael J. Wysocki

From: Marcin Wojtas <[email protected]>

The Microsoft Debug Port Table 2 (DBG2) specification revision September 21, 2020 comprises additional Serial Port Subtypes [1]. Reflect that in the actbl1.h header file.

[1] https://docs.microsoft.com/en-us/windows-hardware/drivers/bringup/acpi-debug-port-table

ACPICA commit d95c7d206b5836c7770e8e9cd613859887fded8f

---
 include/acpi/actbl1.h | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
include/acpi/actbl1.h +14 -1
index a7ea179b2089..159070edd031 100644
@@ -483,7 +483,7 @@ struct acpi_csrt_descriptor {
  * DBG2 - Debug Port Table 2
  *        Version 0 (Both main table and subtables)
  *
- * Conforms to "Microsoft Debug Port Table 2 (DBG2)", December 10, 2015
+ * Conforms to "Microsoft Debug Port Table 2 (DBG2)", September 21, 2020
  *
  ******************************************************************************/
 
@@ -533,11 +533,24 @@ struct acpi_dbg2_device {
 
 #define ACPI_DBG2_16550_COMPATIBLE  0x0000
 #define ACPI_DBG2_16550_SUBSET      0x0001
+#define ACPI_DBG2_MAX311XE_SPI      0x0002
 #define ACPI_DBG2_ARM_PL011         0x0003
+#define ACPI_DBG2_MSM8X60           0x0004
+#define ACPI_DBG2_16550_NVIDIA      0x0005
+#define ACPI_DBG2_TI_OMAP           0x0006
+#define ACPI_DBG2_APM88XXXX         0x0008
+#define ACPI_DBG2_MSM8974           0x0009
+#define ACPI_DBG2_SAM5250           0x000A
+#define ACPI_DBG2_INTEL_USIF        0x000B
+#define ACPI_DBG2_IMX6              0x000C
 #define ACPI_DBG2_ARM_SBSA_32BIT    0x000D
 #define ACPI_DBG2_ARM_SBSA_GENERIC  0x000E
 #define ACPI_DBG2_ARM_DCC           0x000F
 #define ACPI_DBG2_BCM2835           0x0010
+#define ACPI_DBG2_SDM845_1_8432MHZ  0x0011
+#define ACPI_DBG2_16550_WITH_GAS    0x0012
+#define ACPI_DBG2_SDM845_7_372MHZ   0x0013
+#define ACPI_DBG2_INTEL_LPSS        0x0014
 
 #define ACPI_DBG2_1394_STANDARD     0x0000
 
Signature · 1 line
2.26.2
#5 lore raw

PATCH 5/7 ACPICA: iASL: Fix for WPBT table with no command-line arguments

In reply to Rafael J. Wysocki

From: Bob Moore <[email protected]>

Handle the case where the Command-line Arguments table field does not exist.

ACPICA commit d6487164497fda170a1b1453c5d58f2be7c873d6

---
 include/acpi/actbl3.h | 4 ++++
 1 file changed, 4 insertions(+)
include/acpi/actbl3.h +4 -0
index 86903ac5bbc5..9125e2f16329 100644
@@ -723,6 +723,10 @@ struct acpi_table_wpbt {
 	u16 arguments_length;
 };
 
+struct acpi_wpbt_unicode {
+	u16 *unicode_string;
+};
+
 /*******************************************************************************
  *
  * WSMT - Windows SMM Security Mitigations Table
Signature · 1 line
2.26.2
#6 lore raw

PATCH 6/7 ACPICA: Add method name "_DIS" For use with aslmethod.c

In reply to Rafael J. Wysocki

From: Bob Moore <[email protected]>

ACPICA commit 5acc6818c537888be147d9da6b280a0b8c241a1d

---
 include/acpi/acnames.h | 1 +
 1 file changed, 1 insertion(+)
include/acpi/acnames.h +1 -0
index a2bc381c7ce7..30869ab77fba 100644
@@ -20,6 +20,7 @@
 #define METHOD_NAME__CLS        "_CLS"
 #define METHOD_NAME__CRS        "_CRS"
 #define METHOD_NAME__DDN        "_DDN"
+#define METHOD_NAME__DIS        "_DIS"
 #define METHOD_NAME__DMA        "_DMA"
 #define METHOD_NAME__HID        "_HID"
 #define METHOD_NAME__INI        "_INI"
Signature · 1 line
2.26.2
#7 lore raw

PATCH 7/7 ACPICA: Update version to 20210730

In reply to Rafael J. Wysocki

From: Bob Moore <[email protected]>

Version 20210730.

ACPICA commit 2195f614e79442beb4d24d7a29a6347493e444e5

---
 include/acpi/acpixf.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/acpi/acpixf.h +1 -1
index a43335961e30..fa02e3ff0faf 100644
@@ -12,7 +12,7 @@
 
 /* Current ACPICA subsystem version in YYYYMMDD format */
 
-#define ACPI_CA_VERSION                 0x20210604
+#define ACPI_CA_VERSION                 0x20210730
 
 #include <acpi/acconfig.h>
 #include <acpi/actypes.h>
Signature · 1 line
2.26.2