From: "Michael S. Tsirkin" <mst@redhat.com>
To: Igor Mammedov <imammedo@redhat.com>
Cc: qemu-devel@nongnu.org, marcel.a@redhat.com
Subject: Re: [Qemu-devel] [PATCH 1/9] pc: acpi: fix WindowsXP BSOD when memory hotplug is enabled
Date: Tue, 9 Dec 2014 12:33:09 +0200 [thread overview]
Message-ID: <20141209103309.GA3993@redhat.com> (raw)
In-Reply-To: <20141209110537.63a06381@nial.usersys.redhat.com>
On Tue, Dec 09, 2014 at 11:05:37AM +0100, Igor Mammedov wrote:
> On Mon, 8 Dec 2014 22:57:05 +0200
> "Michael S. Tsirkin" <mst@redhat.com> wrote:
>
> > On Mon, Dec 08, 2014 at 04:08:00PM +0000, Igor Mammedov wrote:
> > > ACPI parser in XP considers PNP0A06 devices of CPU and
> > > memory hotplug as duplicates. Adding unique _UID
> > > to CPU hotplug device fixes BSOD.
> > >
> > > Signed-off-by: Igor Mammedov <imammedo@redhat.com>
> >
> > And let's add them for memory hotplug as well?
> XP doesn't support it.
> > Also, if we do stable branch release, we probably
> > want to only do it for memory hotplug in a separate
> > patch, right?
> > This way users who don't enable memory hotplug
> > are unaffected, reduces risk slightly.
> Memory hotplug device already has _UID, so it doesn't need patching.
> This patch just fixes BSOD if QEMU has been started with
> hotplug enabled i.e. for example -m 2G,slots=2,maxmem=4G,
> and prevents clashing between memory hotplug and
> cpu hotplug devices on XP (i.e. XP specific quirk).
>
> I've tested it with XPsp3 and all later version upto WS2012R2.
I see, I misunderstood.
Thanks, I'll apply this one.
>
> >
> > > ---
> > > hw/i386/acpi-dsdt-cpu-hotplug.dsl | 1 +
> > > 1 file changed, 1 insertion(+)
> > >
> > > diff --git a/hw/i386/acpi-dsdt-cpu-hotplug.dsl b/hw/i386/acpi-dsdt-cpu-hotplug.dsl
> > > index 34aab5a..268d870 100644
> > > --- a/hw/i386/acpi-dsdt-cpu-hotplug.dsl
> > > +++ b/hw/i386/acpi-dsdt-cpu-hotplug.dsl
> > > @@ -94,6 +94,7 @@ Scope(\_SB) {
> > >
> > > Device(CPU_HOTPLUG_RESOURCE_DEVICE) {
> > > Name(_HID, EisaId("PNP0A06"))
> > > + Name(_UID, "CPU hotplug resources")
> > >
> > > Name(_CRS, ResourceTemplate() {
> > > IO(Decode16, CPU_STATUS_BASE, CPU_STATUS_BASE, 0, CPU_STATUS_LEN)
> > > --
> > > 1.8.3.1
next prev parent reply other threads:[~2014-12-09 10:33 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-08 16:07 [Qemu-devel] [PATCH 0/9] pc: acpi: various fixes and cleanups Igor Mammedov
2014-12-08 16:08 ` [Qemu-devel] [PATCH 1/9] pc: acpi: fix WindowsXP BSOD when memory hotplug is enabled Igor Mammedov
2014-12-08 20:57 ` Michael S. Tsirkin
2014-12-09 10:05 ` Igor Mammedov
2014-12-09 10:33 ` Michael S. Tsirkin [this message]
2014-12-08 16:08 ` [Qemu-devel] [PATCH 2/9] pc: acpi: decribe bridge device as not hotpluggable Igor Mammedov
2014-12-08 19:13 ` Michael S. Tsirkin
2014-12-09 10:27 ` Igor Mammedov
2014-12-09 10:34 ` Michael S. Tsirkin
2014-12-09 11:45 ` Igor Mammedov
2014-12-09 12:51 ` Michael S. Tsirkin
2014-12-09 12:57 ` Igor Mammedov
2014-12-09 13:16 ` Michael S. Tsirkin
2014-12-09 13:08 ` Igor Mammedov
2014-12-08 16:08 ` [Qemu-devel] [PATCH 3/9] pc: acpi-build: cleanup AcpiPmInfo initialization Igor Mammedov
2014-12-08 21:03 ` Michael S. Tsirkin
2014-12-09 10:29 ` Igor Mammedov
2014-12-08 16:08 ` [Qemu-devel] [PATCH 4/9] acpi: build_append_nameseg(): add padding if necessary Igor Mammedov
2014-12-08 21:15 ` Michael S. Tsirkin
2014-12-09 10:32 ` Igor Mammedov
2014-12-09 10:38 ` Michael S. Tsirkin
2014-12-09 12:55 ` Igor Mammedov
2014-12-08 16:08 ` [Qemu-devel] [PATCH 5/9] acpi: move generic aml building helpers into dedictated file Igor Mammedov
2014-12-08 20:43 ` Michael S. Tsirkin
2014-12-09 10:37 ` Igor Mammedov
2014-12-08 16:08 ` [Qemu-devel] [PATCH 6/9] acpi: add build_append_namestring() helper Igor Mammedov
2014-12-08 20:21 ` Michael S. Tsirkin
2014-12-09 10:39 ` Igor Mammedov
2014-12-09 12:02 ` Michael S. Tsirkin
2014-12-09 12:59 ` Igor Mammedov
2014-12-08 16:08 ` [Qemu-devel] [PATCH 7/9] acpi: replace opencoded notify codes with named values Igor Mammedov
2014-12-08 20:54 ` Michael S. Tsirkin
2014-12-09 10:59 ` Igor Mammedov
2014-12-08 16:08 ` [Qemu-devel] [PATCH 8/9] acpi: drop min-bytes in build_package() Igor Mammedov
2014-12-08 16:08 ` [Qemu-devel] [PATCH 9/9] pc: acpi-build: replace recursive PCI bus tree generation with loop based Igor Mammedov
2014-12-08 20:43 ` Michael S. Tsirkin
2014-12-09 14:01 ` Igor Mammedov
2014-12-09 14:29 ` Michael S. Tsirkin
2014-12-11 11:09 ` [Qemu-devel] [PATCH V2 9/9] pc: acpi-build: simplify PCI bus tree generation Igor Mammedov
2014-12-08 20:43 ` [Qemu-devel] [PATCH 0/9] pc: acpi: various fixes and cleanups Michael S. Tsirkin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141209103309.GA3993@redhat.com \
--to=mst@redhat.com \
--cc=imammedo@redhat.com \
--cc=marcel.a@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.