cryptospore / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

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

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