[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
- [Qemu-devel] [PATCH v5 18/23] acpi/piix: add macros for acpi property names, (continued)
- [Qemu-devel] [PATCH v5 18/23] acpi/piix: add macros for acpi property names, Michael S. Tsirkin, 2013/09/25
- [Qemu-devel] [PATCH v5 20/23] ich9: APIs for pc guest info, Michael S. Tsirkin, 2013/09/25
- [Qemu-devel] [PATCH v5 21/23] pvpanic: add API to access io port, Michael S. Tsirkin, 2013/09/25
- [Qemu-devel] [PATCH v5 22/23] hpet: add API to find it, Michael S. Tsirkin, 2013/09/25
- [Qemu-devel] [PATCH v5 23/23] i386: ACPI table generation code from seabios, Michael S. Tsirkin, 2013/09/25
- Re: [Qemu-devel] [PATCH v5 00/23] qemu: generate acpi tables for the guest, Gerd Hoffmann, 2013/09/25
- Re: [Qemu-devel] [PATCH v5 00/23] qemu: generate acpi tables for the guest, Michael S. Tsirkin, 2013/09/25
- Re: [Qemu-devel] [PATCH v5 00/23] qemu: generate acpi tables for the guest, Michael S. Tsirkin, 2013/09/25
- Re: [Qemu-devel] [PATCH v5 00/23] qemu: generate acpi tables for the guest, Gerd Hoffmann, 2013/09/25
- Re: [Qemu-devel] [PATCH v5 00/23] qemu: generate acpi tables for the guest, Michael S. Tsirkin, 2013/09/25
- Re: [Qemu-devel] [PATCH v5 00/23] qemu: generate acpi tables for the guest,
Gerd Hoffmann <=
- Re: [Qemu-devel] [PATCH v5 00/23] qemu: generate acpi tables for the guest, Michael S. Tsirkin, 2013/09/26
- Re: [Qemu-devel] [PATCH v5 00/23] qemu: generate acpi tables for the guest, Gerd Hoffmann, 2013/09/27
Re: [Qemu-devel] [PATCH v5 00/23] qemu: generate acpi tables for the guest, Gerd Hoffmann, 2013/09/25