|
|
9ae3a8 |
From d7b246e19d4e81f231b3aff6c3885c325be9a9d2 Mon Sep 17 00:00:00 2001
|
|
|
9ae3a8 |
From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@redhat.com>
|
|
|
9ae3a8 |
Date: Wed, 13 Dec 2017 13:38:41 +0100
|
|
|
9ae3a8 |
Subject: [PATCH 10/41] i386: expose fw_cfg QEMU0002 in SSDT
|
|
|
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: <20171213133912.26176-11-marcandre.lureau@redhat.com>
|
|
|
9ae3a8 |
Patchwork-id: 78360
|
|
|
9ae3a8 |
O-Subject: [RHEL-7.5 qemu-kvm PATCH v3 10/41] i386: expose fw_cfg QEMU0002 in SSDT
|
|
|
9ae3a8 |
Bugzilla: 1411490
|
|
|
9ae3a8 |
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Michael S. Tsirkin <mst@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
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.dsl | 10 ++++++++++
|
|
|
9ae3a8 |
1 file changed, 10 insertions(+)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
diff --git a/hw/i386/ssdt-misc.dsl b/hw/i386/ssdt-misc.dsl
|
|
|
9ae3a8 |
index a4484b8..d124c74 100644
|
|
|
9ae3a8 |
--- a/hw/i386/ssdt-misc.dsl
|
|
|
9ae3a8 |
+++ b/hw/i386/ssdt-misc.dsl
|
|
|
9ae3a8 |
@@ -74,6 +74,16 @@ DefinitionBlock ("ssdt-misc.aml", "SSDT", 0x01, "BXPC", "BXSSDTSUSP", 0x1)
|
|
|
9ae3a8 |
External(\_SB.PCI0, DeviceObj)
|
|
|
9ae3a8 |
External(\_SB.PCI0.ISA, DeviceObj)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
+ Scope(\_SB.PCI0) {
|
|
|
9ae3a8 |
+ Device(FWCF) {
|
|
|
9ae3a8 |
+ Name(_HID, "QEMU0002")
|
|
|
9ae3a8 |
+ Name(_STA, 0x0B)
|
|
|
9ae3a8 |
+ Name(_CRS, ResourceTemplate () {
|
|
|
9ae3a8 |
+ IO(Decode16, 0x0510, 0x0510, 0x01, 0x0C, IO)
|
|
|
9ae3a8 |
+ })
|
|
|
9ae3a8 |
+ }
|
|
|
9ae3a8 |
+ }
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
Scope(\_SB.PCI0.ISA) {
|
|
|
9ae3a8 |
Device(PEVT) {
|
|
|
9ae3a8 |
Name(_HID, "QEMU0001")
|
|
|
9ae3a8 |
--
|
|
|
9ae3a8 |
1.8.3.1
|
|
|
9ae3a8 |
|