qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: "Gabriel L. Somlo" <gsomlo@gmail.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
	qemu-devel@nongnu.org, Anthony Liguori <aliguori@amazon.com>
Subject: Re: [Qemu-devel] [PULL 1/5] acpi-build: append description for non-hotplug
Date: Thu, 20 Feb 2014 07:13:46 +0200	[thread overview]
Message-ID: <20140220051346.GA28241@redhat.com> (raw)
In-Reply-To: <20140219194528.GW29329@ERROL.INI.CMU.EDU>

On Wed, Feb 19, 2014 at 02:45:29PM -0500, Gabriel L. Somlo wrote:
> On Wed, Feb 19, 2014 at 09:02:15PM +0200, Michael S. Tsirkin wrote:
> > On Wed, Feb 19, 2014 at 03:50:22PM +0200, Michael S. Tsirkin wrote:
> > > On Mon, Feb 17, 2014 at 09:51:39AM -0500, Gabriel L. Somlo wrote:
> > > > With this latest version of your patch, I crash during OS X boot with
> > > > "unable to find driver for this platform:\"ACPI\".\n"@/SourceCache/xnu/xnu-2050.48.12/iokit/Kernel/IOPlatformExpert.cpp:1514"
> > > > 
> > > Any chance below helps on top?
> > > Another alternative is that DSDT referencing
> > > SSDT does not work for apple.
> > > I hope it's not that, that would be annoying...
> > 
> > OK I think it's that unfortunately.
> > The following on top should help.
> > Can you confirm please?
> > 
> > Thanks a lot for the report!
> > 
> > commit a0ad25b1e5d0eb21cbba001799341bd6b557e995
> > Author: Michael S. Tsirkin <mst@redhat.com>
> > Date:   Wed Feb 19 17:20:56 2014 +0200
> > 
> >     Don't call SSDT from DSDT
> >     
> >     Windows XP doesn't like this.
> >     Apparently, neither does Mac OSX.
> >     
> >     Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> >     Tested-by: "Gabriel L. Somlo" <gsomlo@gmail.com>
> 
> Sorry, still the same error :(

Oh yes, I forgot that Q35 has a separate DSDT.
Please add this on top:

commit ceb36090bf2054c8ad5c8cf441b690fad5581f4f
Author: Michael S. Tsirkin <mst@redhat.com>
Date:   Thu Feb 20 07:10:56 2014 +0200

    q35: fix up dsdt as well

diff --git a/hw/i386/q35-acpi-dsdt.dsl b/hw/i386/q35-acpi-dsdt.dsl
index 8e522a5..f4d2a2d 100644
--- a/hw/i386/q35-acpi-dsdt.dsl
+++ b/hw/i386/q35-acpi-dsdt.dsl
@@ -72,7 +72,6 @@ DefinitionBlock (
             Name(_ADR, 0x00)
             Name(_UID, 1)
 
-#define ISA SF8_
             External(ISA, DeviceObj)
 
             // _OSC: based on sample of ACPI3.0b spec
@@ -140,8 +139,10 @@ DefinitionBlock (
  * LPC ISA bridge
  ****************************************************************/
 
-    Scope(\_SB.PCI0.ISA) {
+    Scope(\_SB.PCI0) {
         /* PCI D31:f0 LPC ISA bridge */
+        Device(ISA) {
+            Name (_ADR, 0x001F0000)  // _ADR: Address
 
             /* ICH9 PCI to ISA irq remapping */
             OperationRegion(PIRQ, PCI_Config, 0x60, 0x0C)
@@ -164,6 +165,7 @@ DefinitionBlock (
                 LPEN,   1,
                 FDEN,   1
             }
+        }
     }
 
 #define DSDT_APPLESMC_STA q35_dsdt_applesmc_sta

  reply	other threads:[~2014-02-20  5:09 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-17 14:25 [Qemu-devel] [PULL 0/5] acpi,pc,pci,virtio,memory bug fixes Michael S. Tsirkin
2014-02-17 14:25 ` [Qemu-devel] [PULL 1/5] acpi-build: append description for non-hotplug Michael S. Tsirkin
2014-02-17 14:51   ` Gabriel L. Somlo
2014-02-17 16:44     ` Michael S. Tsirkin
2014-02-19 13:52       ` Peter Maydell
2014-02-19 14:36         ` Michael S. Tsirkin
2014-02-19 13:50     ` Michael S. Tsirkin
2014-02-19 15:24       ` Gabriel L. Somlo
2014-02-19 19:09         ` Michael S. Tsirkin
2014-02-19 19:02       ` Michael S. Tsirkin
2014-02-19 19:45         ` Gabriel L. Somlo
2014-02-20  5:13           ` Michael S. Tsirkin [this message]
2014-02-20 14:22             ` Gabriel L. Somlo
2014-02-20 15:29               ` Michael S. Tsirkin
2014-02-19 16:09     ` Alex Williamson
2014-02-17 14:25 ` [Qemu-devel] [PULL 2/5] acpi-test-data: update expected files Michael S. Tsirkin
2014-02-17 14:25 ` [Qemu-devel] [PULL 3/5] virtio-net: remove function calls from assert Michael S. Tsirkin
2014-02-17 14:25 ` [Qemu-devel] [PULL 4/5] memory_region_present: return false if address is not found in child MemoryRegion Michael S. Tsirkin
2014-02-17 14:25 ` [Qemu-devel] [PULL 5/5] PCIE: fix regression with coldplugged multifunction device Michael S. Tsirkin
2014-02-19 14:35 ` [Qemu-devel] [PULL 0/5] acpi,pc,pci,virtio,memory bug fixes Peter Maydell

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=20140220051346.GA28241@redhat.com \
    --to=mst@redhat.com \
    --cc=aliguori@amazon.com \
    --cc=gsomlo@gmail.com \
    --cc=peter.maydell@linaro.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).