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

0727d3
From a132a22e316121cf00ff733afb1ad1dc313e14b3 Mon Sep 17 00:00:00 2001
0727d3
From: Jon Maloy <jmaloy@redhat.com>
0727d3
Date: Wed, 30 Mar 2022 14:52:34 -0400
0727d3
Subject: [PATCH 14/18] tests: acpi: whitelist nvdimm's SSDT and FACP.slic
0727d3
 expected blobs
0727d3
0727d3
RH-Author: Jon Maloy <jmaloy@redhat.com>
0727d3
RH-MergeRequest: 141: acpi: fix QEMU crash when started with SLIC table
0727d3
RH-Commit: [6/10] 3f3a929cde82f228da1e4bc66e4c869467c0289c (jmaloy/qemu-kvm)
0727d3
RH-Bugzilla: 2062611
0727d3
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
0727d3
0727d3
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2062611
0727d3
Upstream: Merged
0727d3
0727d3
commit d1e4a4654154925eddf0fc449fa9c92b806b9c8c
0727d3
Author: Igor Mammedov <imammedo@redhat.com>
0727d3
Date:   Wed Jan 12 08:03:30 2022 -0500
0727d3
0727d3
    tests: acpi: whitelist nvdimm's SSDT and FACP.slic expected blobs
0727d3
0727d3
    The next commit will revert OEM fields whitespace padding to
0727d3
    padding with '\0' as it was before [1]. That will change OEM
0727d3
    Table ID for:
0727d3
      * SSDT.*: where it was padded from 6 characters to 8
0727d3
      * FACP.slic: where it was padded from 2 characters to 8
0727d3
    after reverting whitespace padding, it will be replaced with
0727d3
    '\0' which effectively will shorten OEM table ID to 6 and 2
0727d3
    characters.
0727d3
0727d3
    Whitelist affected tables before introducing the change.
0727d3
0727d3
    1) 602b458201 ("acpi: Permit OEM ID and OEM table ID fields to be changed")
0727d3
    Signed-off-by: Igor Mammedov <imammedo@redhat.com>
0727d3
    Message-Id: <20220112130332.1648664-3-imammedo@redhat.com>
0727d3
    Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
0727d3
    Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
0727d3
0727d3
(cherry picked from commit d1e4a4654154925eddf0fc449fa9c92b806b9c8c)
0727d3
Signed-off-by: Jon Maloy <jmaloy@redhat.com>
0727d3
---
0727d3
 tests/qtest/bios-tables-test-allowed-diff.h | 4 ++++
0727d3
 1 file changed, 4 insertions(+)
0727d3
0727d3
diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios-tables-test-allowed-diff.h
0727d3
index dfb8523c8b..7faa8f53be 100644
0727d3
--- a/tests/qtest/bios-tables-test-allowed-diff.h
0727d3
+++ b/tests/qtest/bios-tables-test-allowed-diff.h
0727d3
@@ -1 +1,5 @@
0727d3
 /* List of comma-separated changed AML files to ignore */
0727d3
+"tests/data/acpi/virt/SSDT.memhp",
0727d3
+"tests/data/acpi/pc/SSDT.dimmpxm",
0727d3
+"tests/data/acpi/q35/SSDT.dimmpxm",
0727d3
+"tests/data/acpi/q35/FACP.slic",
0727d3
-- 
0727d3
2.27.0
0727d3