thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone

Blame SOURCES/kvm-tests-acpi-whitelist-nvdimm-s-SSDT-and-FACP.slic-exp.patch

dc1fe0
From 667b82b02f7f3a1e5c37e3ff77b146cc3fd9da80 Mon Sep 17 00:00:00 2001
dc1fe0
From: Igor Mammedov <imammedo@redhat.com>
dc1fe0
Date: Wed, 12 Jan 2022 08:03:30 -0500
dc1fe0
Subject: [PATCH 10/14] tests: acpi: whitelist nvdimm's SSDT and FACP.slic
dc1fe0
 expected blobs
dc1fe0
dc1fe0
RH-Author: Igor Mammedov <imammedo@redhat.com>
dc1fe0
RH-MergeRequest: 130: acpi: fix QEMU crash when started with SLIC table
dc1fe0
RH-Commit: [6/10] 9b35b82e26499de3b7bdc0cdd089fda0a8ec031a
dc1fe0
RH-Bugzilla: 2043531
dc1fe0
RH-Acked-by: Gerd Hoffmann <kraxel@redhat.com>
dc1fe0
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
dc1fe0
RH-Acked-by: MST <None>
dc1fe0
dc1fe0
The next commit will revert OEM fields whitespace padding to
dc1fe0
padding with '\0' as it was before [1]. That will change OEM
dc1fe0
Table ID for:
dc1fe0
  * SSDT.*: where it was padded from 6 characters to 8
dc1fe0
  * FACP.slic: where it was padded from 2 characters to 8
dc1fe0
after reverting whitespace padding, it will be replaced with
dc1fe0
'\0' which effectively will shorten OEM table ID to 6 and 2
dc1fe0
characters.
dc1fe0
dc1fe0
Whitelist affected tables before introducing the change.
dc1fe0
dc1fe0
1) 602b458201 ("acpi: Permit OEM ID and OEM table ID fields to be changed")
dc1fe0
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
dc1fe0
Message-Id: <20220112130332.1648664-3-imammedo@redhat.com>
dc1fe0
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
dc1fe0
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
dc1fe0
(cherry picked from commit d1e4a4654154925eddf0fc449fa9c92b806b9c8c)
dc1fe0
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
dc1fe0
---
dc1fe0
 tests/qtest/bios-tables-test-allowed-diff.h | 4 ++++
dc1fe0
 1 file changed, 4 insertions(+)
dc1fe0
dc1fe0
diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios-tables-test-allowed-diff.h
dc1fe0
index dfb8523c8b..7faa8f53be 100644
dc1fe0
--- a/tests/qtest/bios-tables-test-allowed-diff.h
dc1fe0
+++ b/tests/qtest/bios-tables-test-allowed-diff.h
dc1fe0
@@ -1 +1,5 @@
dc1fe0
 /* List of comma-separated changed AML files to ignore */
dc1fe0
+"tests/data/acpi/virt/SSDT.memhp",
dc1fe0
+"tests/data/acpi/pc/SSDT.dimmpxm",
dc1fe0
+"tests/data/acpi/q35/SSDT.dimmpxm",
dc1fe0
+"tests/data/acpi/q35/FACP.slic",
dc1fe0
-- 
dc1fe0
2.31.1
dc1fe0