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