Update some of the big-endian patches with corrections

Signed-off-by: Al Stone <ahs3@redhat.com>
This commit is contained in:
Al Stone 2020-10-23 18:40:24 -06:00
parent 249abc074a
commit 6c29d68058
5 changed files with 694 additions and 334 deletions

View File

@ -1,7 +1,7 @@
From 9d7f9c8f4ecbee2e621d471a8c4944cebe62947d Mon Sep 17 00:00:00 2001
From: Al Stone <ahs3@redhat.com>
Date: Wed, 30 Sep 2020 18:59:57 -0600
Subject: [PATCH 39/40] Add partial big-endian support for WPBT tables
Subject: [PATCH 1/5] Add partial big-endian support for WPBT tables
There's some weirdness here that at present does not warrant
further investigation; this is just a really low priority table.
@ -12,11 +12,11 @@ Signed-off-by: Al Stone <ahs3@redhat.com>
source/compiler/dttable2.c | 3 ++-
2 files changed, 6 insertions(+), 5 deletions(-)
Index: acpica-unix2-20200925/source/common/dmtbdump3.c
===================================================================
--- acpica-unix2-20200925.orig/source/common/dmtbdump3.c
+++ acpica-unix2-20200925/source/common/dmtbdump3.c
@@ -628,13 +628,13 @@ AcpiDmDumpWpbt (
diff --git a/source/common/dmtbdump3.c b/source/common/dmtbdump3.c
index d2f2bf7b7..da9b81c92 100644
--- a/source/common/dmtbdump3.c
+++ b/source/common/dmtbdump3.c
@@ -736,13 +736,13 @@ AcpiDmDumpWpbt (
{
ACPI_STATUS Status;
ACPI_TABLE_WPBT *Subtable;
@ -32,7 +32,7 @@ Index: acpica-unix2-20200925/source/common/dmtbdump3.c
if (ACPI_FAILURE (Status))
{
return;
@@ -643,10 +643,10 @@ AcpiDmDumpWpbt (
@@ -751,10 +751,10 @@ AcpiDmDumpWpbt (
/* Extract the arguments buffer length from the main table */
Subtable = ACPI_CAST_PTR (ACPI_TABLE_WPBT, Table);
@ -45,11 +45,11 @@ Index: acpica-unix2-20200925/source/common/dmtbdump3.c
+ (void) AcpiDmDumpTable (TableLength, 0, Table, ArgumentsLength,
AcpiDmTableInfoWpbt0);
}
Index: acpica-unix2-20200925/source/compiler/dttable2.c
===================================================================
--- acpica-unix2-20200925.orig/source/compiler/dttable2.c
+++ acpica-unix2-20200925/source/compiler/dttable2.c
@@ -2190,7 +2190,8 @@ DtCompileWpbt (
diff --git a/source/compiler/dttable2.c b/source/compiler/dttable2.c
index 584c09ee8..48729b48f 100644
--- a/source/compiler/dttable2.c
+++ b/source/compiler/dttable2.c
@@ -2298,7 +2298,8 @@ DtCompileWpbt (
/* Extract the length of the Arguments buffer, insert into main table */
@ -59,3 +59,6 @@ Index: acpica-unix2-20200925/source/compiler/dttable2.c
Table = ACPI_CAST_PTR (ACPI_TABLE_WPBT, ParentTable->Buffer);
Table->ArgumentsLength = Length;
--
2.26.2

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
From 902266037614bc0b3ff31c1dfeb350c80e517d90 Mon Sep 17 00:00:00 2001
From 62c6c5b94772b7f8f5de6136a2ba61e31d0c7b3c Mon Sep 17 00:00:00 2001
From: Al Stone <ahs3@redhat.com>
Date: Fri, 16 Oct 2020 20:52:43 -0400
Subject: [PATCH 1/4] Support MTMR in a big-endian world
Subject: [PATCH 3/5] Support MTMR in a big-endian world
Signed-off-by: Al Stone <ahs3@redhat.com>
---
@ -42,5 +42,5 @@ index 285fd30d7..7450ca3f7 100644
if (ACPI_FAILURE (Status))
{
--
2.28.0
2.26.2

View File

@ -1,7 +1,7 @@
From b8d25df79205c128057dba4112b34a7b714a7c43 Mon Sep 17 00:00:00 2001
From 19eefeadf92a471f1c4fbc6dd4d035e45fa76dcd Mon Sep 17 00:00:00 2001
From: Al Stone <ahs3@redhat.com>
Date: Mon, 19 Oct 2020 17:17:40 -0400
Subject: [PATCH 2/4] Support VRTC in a big-endian world
Subject: [PATCH 4/5] Support VRTC in a big-endian world
---
source/common/dmtbdump3.c | 7 ++++---
@ -41,5 +41,5 @@ index da9b81c92..db2f54ffb 100644
if (ACPI_FAILURE (Status))
{
--
2.28.0
2.26.2

View File

@ -1,7 +1,7 @@
From 1652084e864a8048b44486548d9df40eb64cd8de Mon Sep 17 00:00:00 2001
From 5805d42c0cec5366daa12e0f4caed7a58b13fe5b Mon Sep 17 00:00:00 2001
From: Al Stone <ahs3@redhat.com>
Date: Mon, 19 Oct 2020 17:30:30 -0400
Subject: [PATCH 3/4] Support S3PT in a big-endian world
Subject: [PATCH 5/5] Support S3PT in a big-endian world
---
source/common/dmtbdump2.c | 15 +++++++++------
@ -95,5 +95,5 @@ index 48729b48f..1ac063795 100644
case ACPI_S3PT_TYPE_RESUME:
--
2.28.0
2.26.2