qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v5 00/23] qemu: generate acpi tables for the gue


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH v5 00/23] qemu: generate acpi tables for the guest
Date: Wed, 25 Sep 2013 15:26:12 +0200

> > > > address@hidden ~]# cat /proc/ioports 
> > > >   [ ... ]
> > > >   afe0-afe3 : ACPI GPE0_BLK
> > > >   b010-b015 : ACPI CPU throttle
> > > >   b100-b10f : 0000:00:01.3
> > > >     b100-b107 : piix4_smbus
> > > >   e400-e43f : 0000:00:01.3
> > > >     e400-e403 : ACPI PM1a_EVT_BLK
> > > >     e404-e405 : ACPI PM1a_CNT_BLK
> > > >     e408-e40b : ACPI PM_TMR
> > > > 
> > > > "ACPI CPU throttle" looks wrong, probably hardcoded to 0xb010 instead of
> > > > pmbase+0x10.
> > > 
> > > Hmm hardcoded where? Do you know where this comes from?
> > 
> > address@hidden acpi]# grep -i b010 *.dsl
> > SSDT.dsl:        Processor (CP00, 0x00, 0x0000B010, 0x06)
> > 
> > cheers,
> >   Gerd

> Sorry I wasn't clear.
> Where *should* the value come from?
> Does QEMU have any hardware at that address?

It is part of the piix4 acpi bar, with seabios it looks like this:

  b000-b03f : 0000:00:01.3
    b000-b003 : ACPI PM1a_EVT_BLK
    b004-b005 : ACPI PM1a_CNT_BLK
    b008-b00b : ACPI PM_TMR
    b010-b015 : ACPI CPU throttle

I don't think we have virtual cpu throttling, as far I know nothing in
qemu does actually listens at that address.  Maybe the CorrectThing[tm]
to do would be passing 0 there (not fully sure how to express "no power
management here" in acpi).

cheers,
  Gerd






reply via email to

[Prev in Thread] Current Thread [Next in Thread]