9ae3a8
From 7062c4cd0e110af1bbf165db42c11ca2cbb50fc1 Mon Sep 17 00:00:00 2001
9ae3a8
From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@redhat.com>
9ae3a8
Date: Thu, 4 Jan 2018 20:19:02 +0100
9ae3a8
Subject: [PATCH 1/2] i386: update ssdt-misc.hex.generated
9ae3a8
MIME-Version: 1.0
9ae3a8
Content-Type: text/plain; charset=UTF-8
9ae3a8
Content-Transfer-Encoding: 8bit
9ae3a8
9ae3a8
RH-Author: Marc-André Lureau <marcandre.lureau@redhat.com>
9ae3a8
Message-id: <20180104201902.4364-1-marcandre.lureau@redhat.com>
9ae3a8
Patchwork-id: 78516
9ae3a8
O-Subject: [RHEL-7.5 qemu-kvm PATCH] i386: update ssdt-misc.hex.generated
9ae3a8
Bugzilla: 1411490
9ae3a8
RH-Acked-by: Michael S. Tsirkin <mst@redhat.com>
9ae3a8
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
9ae3a8
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
9ae3a8
9ae3a8
RHEL commit d7b246e19d4e81f231b3aff6c3885c325be9a9d2 "i386: expose
9ae3a8
fw_cfg QEMU0002 in SSDT" modified ssdt-misc.dsl to export fw_cfg in
9ae3a8
ACPI tables. However, the file isn't compiled in RHEL.
9ae3a8
9ae3a8
Use known good version acpica-tools-20150619-3.el7.x86_64 to build the
9ae3a8
new compiled version. I verified with a RHEL5 guest that #1377087
9ae3a8
isn't happening again after this update.
9ae3a8
9ae3a8
RHEL only: This is needed so kernel module can find the device and
9ae3a8
load the driver. Upstream qemu uses different API to build ACPI
9ae3a8
tables.
9ae3a8
9ae3a8
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
9ae3a8
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
9ae3a8
---
9ae3a8
 hw/i386/ssdt-misc.hex.generated | 68 ++++++++++++++++++++++++++++++++++++++---
9ae3a8
 1 file changed, 64 insertions(+), 4 deletions(-)
9ae3a8
9ae3a8
diff --git a/hw/i386/ssdt-misc.hex.generated b/hw/i386/ssdt-misc.hex.generated
9ae3a8
index 86c5725..52ad0b7 100644
9ae3a8
--- a/hw/i386/ssdt-misc.hex.generated
9ae3a8
+++ b/hw/i386/ssdt-misc.hex.generated
9ae3a8
@@ -18,12 +18,12 @@ static unsigned char ssdp_misc_aml[] = {
9ae3a8
 0x53,
9ae3a8
 0x44,
9ae3a8
 0x54,
9ae3a8
-0x62,
9ae3a8
+0x9e,
9ae3a8
 0x1,
9ae3a8
 0x0,
9ae3a8
 0x0,
9ae3a8
 0x1,
9ae3a8
-0x80,
9ae3a8
+0xbf,
9ae3a8
 0x42,
9ae3a8
 0x58,
9ae3a8
 0x50,
9ae3a8
@@ -176,6 +176,66 @@ static unsigned char ssdp_misc_aml[] = {
9ae3a8
 0x0,
9ae3a8
 0x0,
9ae3a8
 0x10,
9ae3a8
+0x3b,
9ae3a8
+0x5c,
9ae3a8
+0x2e,
9ae3a8
+0x5f,
9ae3a8
+0x53,
9ae3a8
+0x42,
9ae3a8
+0x5f,
9ae3a8
+0x50,
9ae3a8
+0x43,
9ae3a8
+0x49,
9ae3a8
+0x30,
9ae3a8
+0x5b,
9ae3a8
+0x82,
9ae3a8
+0x2e,
9ae3a8
+0x46,
9ae3a8
+0x57,
9ae3a8
+0x43,
9ae3a8
+0x46,
9ae3a8
+0x8,
9ae3a8
+0x5f,
9ae3a8
+0x48,
9ae3a8
+0x49,
9ae3a8
+0x44,
9ae3a8
+0xd,
9ae3a8
+0x51,
9ae3a8
+0x45,
9ae3a8
+0x4d,
9ae3a8
+0x55,
9ae3a8
+0x30,
9ae3a8
+0x30,
9ae3a8
+0x30,
9ae3a8
+0x32,
9ae3a8
+0x0,
9ae3a8
+0x8,
9ae3a8
+0x5f,
9ae3a8
+0x53,
9ae3a8
+0x54,
9ae3a8
+0x41,
9ae3a8
+0xa,
9ae3a8
+0xb,
9ae3a8
+0x8,
9ae3a8
+0x5f,
9ae3a8
+0x43,
9ae3a8
+0x52,
9ae3a8
+0x53,
9ae3a8
+0x11,
9ae3a8
+0xd,
9ae3a8
+0xa,
9ae3a8
+0xa,
9ae3a8
+0x47,
9ae3a8
+0x1,
9ae3a8
+0x10,
9ae3a8
+0x5,
9ae3a8
+0x10,
9ae3a8
+0x5,
9ae3a8
+0x1,
9ae3a8
+0xc,
9ae3a8
+0x79,
9ae3a8
+0x0,
9ae3a8
+0x10,
9ae3a8
 0x40,
9ae3a8
 0xc,
9ae3a8
 0x5c,
9ae3a8
@@ -369,8 +429,8 @@ static unsigned char ssdp_misc_aml[] = {
9ae3a8
 0x4d,
9ae3a8
 0x58
9ae3a8
 };
9ae3a8
-static unsigned char ssdt_isa_pest[] = {
9ae3a8
-0xd0
9ae3a8
+static unsigned short ssdt_isa_pest[] = {
9ae3a8
+0x10c
9ae3a8
 };
9ae3a8
 static unsigned char acpi_s4_name[] = {
9ae3a8
 0x88
9ae3a8
-- 
9ae3a8
1.8.3.1
9ae3a8