Statistics
| Branch: | Revision:

root / hw / vt82c686.c @ bf3bc4c4

History | View | Annotate | Download (13.6 kB)

# Date Author Comment
8385b173 12/10/2012 04:33 pm Anthony Liguori

Merge remote-tracking branch 'kraxel/acpi.1' into staging

  • kraxel/acpi.1:
    acpi: drop debug port
    q35: update lpc pci config space according to configured devices
    apci: switch piix4 pci hotplug to memory api
    acpi: remove acpi_gpe_blk
    apci: switch piix4 gpe to memory api...
42d8a3cf 12/04/2012 03:50 pm Julien Grall

hw/apm.c: Replace register_ioport_*

Replace all register_ioport_*() with a MemoryRegion.
This permits to use the new Memory stuff like listeners.

Moreover, the PCI device is added as an argument for apm_init(),
so we can register IO inside the PCI IO address space....

798512e5 12/04/2012 02:52 pm Gerd Hoffmann

acpi: switch smbus to memory api

Signed-off-by: Gerd Hoffmann <>

a2902821 12/04/2012 02:52 pm Gerd Hoffmann

apci: switch vt82c686 to memory api

Signed-off-by: Gerd Hoffmann <>

77d58b1e 12/04/2012 02:52 pm Gerd Hoffmann

apci: switch timer to memory api

Signed-off-by: Gerd Hoffmann <>

afafe4bb 12/04/2012 02:52 pm Gerd Hoffmann

apci: switch cnt to memory api

Signed-off-by: Gerd Hoffmann <>

b5a7c024 12/04/2012 02:52 pm Gerd Hoffmann

apci: switch evt to memory api

Signed-off-by: Gerd Hoffmann <>

a0f95659 12/04/2012 02:52 pm Gerd Hoffmann

acpi: cleanup vt82c686 memory region

Nothing left to do, everything handled by subregions,
we can zap the reaw/write handlers now.

Signed-off-by: Gerd Hoffmann <>

459ae5ea 06/19/2012 09:36 pm Gleb Natapov

Add PIIX4 properties to control PM system states.

This patch adds two things. First it allows QEMU to distinguish between
regular powerdown and S4 powerdown. Later separate QMP notification will
be added for S4 powerdown. Second it allows S3/S4 states to be disabled...

da98c8eb 02/24/2012 09:36 pm Gerd Hoffmann

suspend: switch acpi s3 to new infrastructure.

This patch switches pc s3 suspend over to the new infrastructure.
The cmos_s3 qemu_irq is killed, the new notifier is used instead.
The xen hack goes away with that too, the hypercall can simply be
done in a notifier function now....

355bf2e5 02/24/2012 09:36 pm Gerd Hoffmann

acpi: add ACPIREGS

All those acpi structs are not independent from each other.
Various acpi functions expecting multiple acpi structs passed
in are a clean indicator for that ;)

So this patch bundles all acpi structs in the new ACPIREGS
struct, then use it everythere pass around acpi state....

2886be1b 02/24/2012 09:36 pm Gerd Hoffmann

acpi: don't pass overflow_time to acpi_pm1_evt_get_sts

Pretty pointless, can easily be reached via ACPIREGS now.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

8283c4f5 02/24/2012 09:36 pm Gerd Hoffmann

acpi: add acpi_pm1_evt_write_en

Do APCIREGS->pm1.evt.en updates using the new acpi_pm1_evt_write_en
function, so the acpi code will see those updates.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

83f7d43a 02/15/2012 05:39 pm Andreas Färber

qom: Unify type registration

Replace device_init() with generalized type_init().

While at it, unify naming convention: type_init([$prefix_]register_types)
Also, type_init() is a function, so add preceding blank line where
necessary and don't put a semicolon after the closing brace....

39bffca2 02/03/2012 06:41 pm Anthony Liguori

qdev: register all types natively through QEMU Object Model

This was done in a mostly automated fashion. I did it in three steps and then
rebased it into a single step which avoids repeatedly touching every file in
the tree.

The first step was a sed-based addition of the parent type to the subclass...

40021f08 01/27/2012 06:50 pm Anthony Liguori

pci: convert to QEMU Object Model

Signed-off-by: Anthony Liguori <>

6b620ca3 01/13/2012 06:55 pm Paolo Bonzini

prepare for future GPLv2+ relicensing

All files under GPLv2 will get GPLv2+ changes starting tomorrow.
event_notifier.c and exec-obsolete.h were only ever touched by Red Hat
employees and can be relicensed now.

Signed-off-by: Paolo Bonzini <>...

c9940edb 12/20/2011 11:44 pm Hervé Poussineau

fulong2e: give ISA bus to ISA methods

Signed-off-by: Hervé Poussineau <>
Signed-off-by: Anthony Liguori <>

c2d0d012 09/25/2011 02:58 pm Richard Henderson

isa: Pass i/o address space to isa_bus_new

Not used yet, but at least we're provided with the correct region.

Signed-off-by: Richard Henderson <>
Signed-off-by: Avi Kivity <>

b2bedb21 09/16/2011 04:25 pm Stefan Weil

Remove blanks before \n in output strings

Those blanks violate the coding conventions, see
scripts/checkpatch.pl.

Blanks missing after colons in the changed lines were added.

This patch does not try to fix tabs, long lines and other
problems in the changed lines, therefore checkpatch.pl reports...

1cf0d2b8 06/12/2011 10:33 am Isaku Yamahata

hw/vt82c686.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

eaba51c5 04/09/2011 07:39 pm Isaku Yamahata

acpi, acpi_piix, vt82c686: factor out PM1_CNT logic

factor out ACPI PM1_CNT logic. This will be used by ich9 acpi.

Cc: Blue Swirl <>
Cc: Huacai Chen <>
Cc: Aurelien Jarno <>
Signed-off-by: Isaku Yamahata <>...

a54d41a8 04/09/2011 07:39 pm Isaku Yamahata

acpi, acpi_piix, vt82c686: factor out PM_TMR logic

factor out PM_TMR logic. Later This will be used by ich9 acpi.
Also fixes the same bug in vt82c686.c that was fixed by the following
commits.

commit 055479feab63607b8042bb8ebb2e0523f17cbc4e
Author: aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>...

04dc308f 04/09/2011 07:39 pm Isaku Yamahata

acpi, acpi_piix, vt82c686: factor out PM1a EVT logic

factor out ACPI PM1a EVT logic.
Later this will be used by ich9 acpi.

Cc: Blue Swirl <>
Cc: Huacai Chen <>
Cc: Aurelien Jarno <>
Signed-off-by: Isaku Yamahata <>...

74475455 03/21/2011 10:23 am Paolo Bonzini

change all other clock references to use nanosecond resolution accessors

This was done with:

sed -i 's/qemu_get_clock\>/qemu_get_clock_ns/' \
$(git grep -l 'qemu_get_clock\>' )
sed -i 's/qemu_new_timer\>/qemu_new_timer_ns/' \
$(git grep -l 'qemu_new_timer\>' )...
aa5fb7b3 07/12/2010 07:36 pm Isaku Yamahata

pci/multi function bit: fix vt82c686.c.

The file, vt82c686.c, was added after the change set of
b80d4a9887fa4b6cc63f8c3a13ab2a45054d3e5c and
fecb93c45c749a4c994d8d12bdee17ce2012de9e
are created, but before the patch series was commit.
So similar fix is needed to vt82c686.c....

edf79e66 06/30/2010 12:07 am Huacai Chen

Initial support of vt82686b south bridge used by fulong mini pc

Signed-off-by: Huacai Chen <>
Signed-off-by: Aurelien Jarno <>