1b78585135
As s390x was the only one remaining, it has now been excluded. This was best done with an update of the source tree to match upstream. This is turn caused additional patch updates. With s390x gone, all of the big-endian patches can be removed, simplifying things enormously. This is the biggest change. Several other patches that are no longer needed due to changes in Fedora builds (ld flags, for example), or that are no longer needed (such as armv7) have also been removed. Added three new patches to fix problems with dumping various tables, and removed all the remaining patches that no longer serve a purpose. Thanks to the contributors for PR#4 and PR#5 for the suggestions. These have all been incorporated even if they are not in exactly the same form. Signed-off-by: Al Stone <ahs3@ahs3.net> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
From ec87f7e157a23078dc5458d6d26951fe4e2ac926 Mon Sep 17 00:00:00 2001
|
|
From: Al Stone <ahs3@ahs3.net>
|
|
Date: Wed, 14 Apr 2021 20:52:05 -0600
|
|
Subject: [PATCH 1/2] Correct DBG2 dump of OemData
|
|
|
|
When OemData is present in a Device subtable, the original code was
|
|
reading data to put in OemData from the beginning of the DBG2 table,
|
|
not from the subtable that was being built. So, when dumping the
|
|
table, read from the proper place (the subtable) and not the beginning
|
|
of the DBG2 table.
|
|
|
|
Signed-off-by: Al Stone <ahs3@ahs3.net>
|
|
---
|
|
source/common/dmtbdump1.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/source/common/dmtbdump1.c b/source/common/dmtbdump1.c
|
|
index bcf985325..56d959fd0 100644
|
|
--- a/source/common/dmtbdump1.c
|
|
+++ b/source/common/dmtbdump1.c
|
|
@@ -1371,8 +1371,8 @@ AcpiDmDumpDbg2 (
|
|
|
|
if (Subtable->OemDataOffset)
|
|
{
|
|
- Status = AcpiDmDumpTable (Length, Offset + Subtable->OemDataOffset,
|
|
- Table, Subtable->OemDataLength,
|
|
+ Status = AcpiDmDumpTable (Length, Subtable->OemDataOffset,
|
|
+ Subtable, Subtable->OemDataLength,
|
|
AcpiDmTableInfoDbg2OemData);
|
|
if (ACPI_FAILURE (Status))
|
|
{
|
|
--
|
|
2.45.2
|
|
|