Skip to contentSkip to conversation

acpi bug fix

GIT PULL Applied Michael S. Tsirkin 3 participants 4 messages Apr 8, 2014 – Apr 9, 2014

lore
Share & tools
lore
#0 lore raw

The following changes since commit 55519a4b244e4822774b593e36647ecf7598286b:

Merge remote-tracking branch 'remotes/afaerber/tags/qom-devices-for-2.0' into staging (2014-04-07 17:57:23 +0100)

are available in the git repository at:

git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream

for you to fetch changes up to f2ccc311df55ec026a8f8ea9df998f26314f22b2:

dsdt: tweak ACPI ID for hotplug resource device (2014-04-08 15:22:59 +0300)

----------------------------------------------------------------
acpi bug fix

Here is a single last minute fix for 2.0

This changes the HID of the container used to claim resources for CPU hotplug.
As a result, windows XP SP3 no longer brings up an annoying "found new hardware" wizard on boot.

----------------------------------------------------------------
Michael S. Tsirkin (1):
dsdt: tweak ACPI ID for hotplug resource device

 hw/i386/acpi-dsdt-cpu-hotplug.dsl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
#1 lore raw

[Qemu-devel] [PULL for-2.0] dsdt: tweak ACPI ID for hotplug resource device

ACPI0004 seems too new:
Windows XP complains about an unrecognized device. This is a regression since 1.7.
Use PNP0A06 instead - Generic Container Device.

---
 hw/i386/acpi-dsdt-cpu-hotplug.dsl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/i386/acpi-dsdt-cpu-hotplug.dsl +1 -1
index dee4843..34aab5a 100644
@@ -93,7 +93,7 @@ Scope(\_SB) {
     }
 
     Device(CPU_HOTPLUG_RESOURCE_DEVICE) {
-        Name(_HID, "ACPI0004")
+        Name(_HID, EisaId("PNP0A06"))
 
         Name(_CRS, ResourceTemplate() {
             IO(Decode16, CPU_STATUS_BASE, CPU_STATUS_BASE, 0, CPU_STATUS_LEN)
Signature · 1 line
MST
#3 lore raw
In reply to Michael S. Tsirkin
Quoted 16 lines · Michael S. Tsirkin

The following changes since commit 55519a4b244e4822774b593e36647ecf7598286b:

Merge remote-tracking branch 'remotes/afaerber/tags/qom-devices-for-2.0' into staging (2014-04-07 17:57:23 +0100)

are available in the git repository at:

git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream

for you to fetch changes up to f2ccc311df55ec026a8f8ea9df998f26314f22b2:

dsdt: tweak ACPI ID for hotplug resource device (2014-04-08 15:22:59 +0300)

----------------------------------------------------------------
acpi bug fix

Quoted 8 lines

Here is a single last minute fix for 2.0

This changes the HID of the container used to claim resources for CPU hotplug.
As a result, windows XP SP3 no longer brings up an annoying "found new hardware" wizard on boot.

Applied, thanks.

-- PMM

#2 lore raw

Re: [Qemu-devel] [PULL for-2.0] dsdt: tweak ACPI ID for hotplug resource device

In reply to Michael S. Tsirkin
Quoted 16 lines · On Tue, 8 Apr 2014 15:24:18 +0300 "Michael S. Tsirkin" <[email protected]> wrote:

ACPI0004 seems too new:
Windows XP complains about an unrecognized device. This is a regression since 1.7.
Use PNP0A06 instead - Generic Container Device.

---
 hw/i386/acpi-dsdt-cpu-hotplug.dsl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/i386/acpi-dsdt-cpu-hotplug.dsl +0 -0
index dee4843..34aab5a 100644

hw/i386/acpi-dsdt-cpu-hotplug.dsl Scope(\_SB) { · line 99

Quoted 8 lines
hw/i386/acpi-dsdt-cpu-hotplug.dsl +1 -1
@@ -93,7 +93,7 @@ Scope(\_SB) {
     }
 
     Device(CPU_HOTPLUG_RESOURCE_DEVICE) {
-        Name(_HID, "ACPI0004")
+        Name(_HID, EisaId("PNP0A06"))
 
         Name(_CRS, ResourceTemplate() {
             IO(Decode16, CPU_STATUS_BASE, CPU_STATUS_BASE, 0, CPU_STATUS_LEN)

There is a need to update test cases with new DSDTs, since it breaks them.