On Wed, Sep 25, 2013 at 03:02:35PM +0200, Gerd Hoffmann wrote: > On Mi, 2013-09-25 at 15:59 +0300, Michael S. Tsirkin wrote: > > On Wed, Sep 25, 2013 at 02:48:52PM +0200, Gerd Hoffmann wrote: > > > On Mi, 2013-09-25 at 14:22 +0300, Michael S. Tsirkin wrote: > > > > This code can also be found here: > > > > git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git acpi > > > > > > > > While this patch still uses info not available in QOM, I think it's > > > > reasonable > > > > to merge it and then refactor as QOM properties cover more ground. > > > > > > Testing with coreboot (-M pc only so far, -M q35 tbd). > > > > > > [root@fedora ~]# 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? > > [root@fedora 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? -- MST
