Statistics
| Branch: | Revision:

root / hw / intc @ 327ed10f

# Date Author Comment
855011be 02/26/2014 07:20 pm Christoffer Dall

hw: arm_gic_kvm: Add KVM VGIC save/restore logic

Save and restore the ARM KVM VGIC state from the kernel. We rely on
QEMU to marshal the GICState data structure and therefore simply
synchronize the kernel state with the QEMU emulated state in both
directions....

1da41cc1 02/26/2014 07:20 pm Christoffer Dall

arm: vgic device control api support

Support creating the ARM vgic device through the device control API and
setting the base address for the distributor and cpu interfaces in KVM
VMs using this API.

Because the older KVM_CREATE_IRQCHIP interface needs the irq chip to be...

6453fa99 02/26/2014 07:19 pm Christoffer Dall

hw/intc/arm_gic: Fix GIC_SET_LEVEL

The GIC_SET_LEVEL macro unfortunately overwrote the entire level
bitmask instead of just or'ing on the necessary bits, causing active
level PPIs on a core to clear PPIs on other cores.

Cc:
Reported-by: Rob Herring <>...

fce0a826 02/26/2014 07:19 pm Peter Maydell

hw/intc/exynos4210_combiner: Don't overrun output_irq array in init

The Exynos4210 combiner has IIC_NIRQ inputs and IIC_NGRP outputs;
use the correct constant in the loop initializing our output
sysbus IRQs so that we don't overrun the output_irq[] array....

105a0601 02/21/2014 05:04 pm Peter Maydell

Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20140220' into staging

target-arm queue: * Fix a bug causing an assertion in the NVIC on ARMv7M models * More A64 Neon instructions * Refactor cpreg API to separate out access check functions, as...

87316902 02/20/2014 12:35 pm Peter Maydell

hw/intc/arm_gic: Fix NVIC assertion failure

Commit 40d225009ef accidentally changed the behaviour of
gic_acknowledge_irq() for the NVIC. The NVIC doesn't have SGIs,
so this meant we hit an assertion:
gic_acknowledge_irq: Assertion `s->sgi_pending[irq][cpu] != 0' failed....

c7bcc85d 02/14/2014 10:12 pm Paolo Bonzini

qdev: Remove hex8/32/64 property types

Replace them with uint8/32/64.

Reviewed-by: Igor Mammedov <>
Reviewed-by: Eric Blake <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Andreas Färber <>

2a221651 02/11/2014 02:57 pm Edgar E. Iglesias

exec: Make cpu_physical_memory_write_rom input an AS

Reviewed-by: Peter Maydell <>
Signed-off-by: Edgar E. Iglesias <>

aa7d461a 02/08/2014 04:50 pm Christoffer Dall

arm_gic: Support setting/getting binary point reg

Add a binary_point field to the gic emulation structure and support
setting/getting this register now when we have it. We don't actually
support interrupt grouping yet, oh well.

Reviewed-by: Peter Maydell <>...

a9d477c4 02/08/2014 04:50 pm Christoffer Dall

arm_gic: Add GICC_APRn state to the GICState

The GICC_APRn registers are not currently supported by the ARM GIC v2.0
emulation. This patch adds the missing state.

Note that we also change the number of APRs to use a define GIC_NR_APRS
based on the maximum number of preemption levels. This patch also adds...

8d999995 02/08/2014 04:47 pm Christoffer Dall

arm_gic: Fix GIC pending behavior

The existing implementation of the pending behavior in gic_set_irq,
gic_complete_irq, and the distributor pending set/clear registers does
not follow the semantics of the GICv2.0 specs, but may implement the
11MPCore support. Therefore, maintain the existing semantics for...

40d22500 02/08/2014 04:47 pm Christoffer Dall

arm_gic: Keep track of SGI sources

Right now the arm gic emulation doesn't keep track of the source of an
SGI (which apparently Linux guests don't use, or they're fine with
assuming CPU 0 always).

Add the necessary matrix on the GICState structure and maintain the data...

41ab7b55 01/31/2014 04:47 pm Christoffer Dall

arm_gic: Introduce define for GIC_NR_SGIS

Instead of hardcoding 16 various places in the code, use a define to
make it more clear what is going on.

Signed-off-by: Christoffer Dall <>
Reviewed-by: Peter Maydell <>...

5b0adce1 01/31/2014 04:47 pm Christoffer Dall

arm_gic: Fix GICD_ICPENDR and GICD_ISPENDR writes

Fix two bugs that would allow changing the state of SGIs through the
ICPENDR and ISPENDRs.

Signed-off-by: Christoffer Dall <>
Reviewed-by: Peter Maydell <>...

c06f13c6 01/09/2014 09:24 pm Anthony Liguori

Merge remote-tracking branch 'afaerber/tags/qom-devices-for-anthony' into staging

QOM infrastructure fixes and device conversions

  • QOM interface fixes and unit test
  • Device no_user sanitization and documentation
  • Device error reporting improvement
  • Conversion of APIC, ICC, IOAPIC to QOM realization model...
04050c5c 01/08/2014 09:07 pm Christoffer Dall

arm_gic: Rename GIC_X_TRIGGER to GIC_X_EDGE_TRIGGER

TRIGGER can really mean mean anything (e.g. was it triggered, is it
level-triggered, is it edge-triggered, etc.). Rename to EDGE_TRIGGER to
make the code comprehensible without looking up the data structure....

9df90ad0 01/08/2014 09:07 pm Christoffer Dall

hw: arm_gic: Introduce gic_set_priority function

To make the code slightly cleaner to look at and make the save/restore
code easier to understand, introduce this function to set the priority of
interrupts.

Reviewed-by: Peter Maydell <>...

d3b0c9e9 12/24/2013 07:02 pm xiaoqiang zhao

apic: Cleanup for QOM'ification

Do some cleanup, including:
1. Remove DO_UPCAST() for APICCommonState
2. Change DeviceState pointers from 'd' to 'dev', better to understand
3. Rename 'register_types' to specifically 'apic_common_register_types'

Signed-off-by: xiaoqiang zhao <>...

ff6986ce 12/24/2013 07:02 pm xiaoqiang zhao

apic: QOM'ify APIC

Convert 'init' function to QOM's 'realize' for apic, kvm/apic and
xen/xen_apic.

Signed-off-by: xiaoqiang zhao <>
Signed-off-by: Andreas Färber <>

494c2717 12/24/2013 07:02 pm xiaoqiang zhao

icc_bus: QOM'ify ICC

For consistency, QOM'ify APIC's parent bus.

Signed-off-by: xiaoqiang zhao <>
Signed-off-by: Andreas Färber <>

f9771858 12/24/2013 07:02 pm xiaoqiang zhao

ioapic: Cleanup for QOM'ification

Some cleanups:
  • ioapic_common.c: Rename 'register_types' to 'ioapic_common_register_types'
  • Replace inline 'DEVICE' with local 'DeviceState *dev' variable

Signed-off-by: xiaoqiang zhao <>
Signed-off-by: Andreas Färber <>

db0f8888 12/24/2013 07:02 pm xiaoqiang zhao

ioapic: QOM'ify ioapic

Convert 'init' function to QOM's 'realize' for ioapic and kvm-ioapic.
Change variable 'ioapic_no' from static to global. Then we can drop
the 'instance_no' function argument.

Signed-off-by: xiaoqiang zhao <>
Signed-off-by: Andreas Färber <>

1b111dc1 12/24/2013 06:27 pm Markus Armbruster

hw: cannot_instantiate_with_device_add_yet due to pointer props

Pointer properties can be set only by code, not by device_add. A
device with a pointer property can work with device_add only when the
property may remain null.

This is the case for property "interrupt_vector" of device...

f37a4374 12/23/2013 01:27 am Markus Armbruster

apic: Document why cannot_instantiate_with_device_add_yet

Signed-off-by: Markus Armbruster <>
Reviewed-by: Peter Maydell <>
Signed-off-by: Andreas Färber <>

f3b17640 12/23/2013 01:27 am Markus Armbruster

isa: Clean up use of cannot_instantiate_with_device_add_yet

Drop it when there's no obvious reason why device_add could not work.
Else keep and document why.

  • isa-fdc: drop
  • i8042: drop, even though its I/O base is hardcoded (because you
    could conceivably still add one to a board that has none), and even...
efec3dd6 12/23/2013 01:27 am Markus Armbruster

qdev: Replace no_user by cannot_instantiate_with_device_add_yet

In an ideal world, machines can be built by wiring devices together
with configuration, not code. Unfortunately, that's not the world we
live in right now. We still have quite a few devices that need to be...

837d3716 12/23/2013 01:27 am Markus Armbruster

sysbus: Set cannot_instantiate_with_device_add_yet

device_add plugs devices into suitable bus. For "real" buses, that
actually connects the device. For sysbus, the connections need to be
made separately, and device_add can't do that. The device would be...

a64d325d 12/20/2013 02:57 am Alexey Kardashevskiy

spapr-rtas: replace return code constants with macros

Signed-off-by: Alexey Kardashevskiy <>
Signed-off-by: Alexander Graf <>

c3931ee8 12/17/2013 10:12 pm liguang

hw/intc: add allwinner A10 interrupt controller

Signed-off-by: liguang <>
Reviewed-by: Peter Crosthwaite <>
Reviewed-by: Peter Maydell <>
Message-id: ...

612daf06 11/05/2013 06:47 pm Andreas Färber

realview_gic: Convert to QOM realize

Embed GICState and replace SysBus initfn with realizefn.

Reviewed-by: Peter Maydell <>
Signed-off-by: Andreas Färber <>

ce31825d 11/05/2013 06:47 pm Andreas Färber

realview_gic: Prepare for QOM embedding

Move state struct, type constant and cast macro to a new header.

Reviewed-by: Peter Maydell <>
Signed-off-by: Andreas Färber <>

83728796 11/05/2013 06:47 pm Andreas Färber

arm_gic: Extract headers hw/intc/arm_gic{,_common}.h

Rename NCPU to GIC_NCPU and move GICState away from gic_internal.h.

Reviewed-by: Peter Maydell <>
Signed-off-by: Andreas Färber <>

b45ff2d9 10/26/2013 12:25 am Alexey Kardashevskiy

xics: convert init() to realize()

This fixes XICS according new QOM rules.

This converts ICS's init() callbacks to realize().

This converts legacy qdev_init_nofail() to property_set(realized).

Signed-off-by: Alexey Kardashevskiy <>
Reviewed-by: Andreas Färber <>...

456df19c 10/26/2013 12:25 am Alexey Kardashevskiy

xics: add missing const specifiers to TypeInfo

This adds missing const specifiers to ICS and ICP TypeInfo's.

Signed-off-by: Alexey Kardashevskiy <>
Reviewed-by: Andreas Färber <>
Signed-off-by: Alexander Graf <>

5a3d7b23 10/26/2013 12:25 am Alexey Kardashevskiy

xics: split to xics and xics-common

The upcoming XICS-KVM support will use bits of emulated XICS code.
So this introduces new level of hierarchy - "xics-common" class. Both
emulated XICS and XICS-KVM will inherit from it and override class
callbacks when required....

5eb92ccc 10/26/2013 12:25 am Alexey Kardashevskiy

xics: add cpu_setup callback

This adds a cpu_setup callback to the XICS device class (as XICS-KVM
will do it different), xics_cpu_setup() will call it if it is set.

Signed-off-by: Alexey Kardashevskiy <>
Signed-off-by: Alexander Graf <>

11ad93f6 10/26/2013 12:25 am David Gibson

xics-kvm: Support for in-kernel XICS interrupt controller

Recent (host) kernels support emulating the PAPR defined "XICS" interrupt
controller system within KVM. This patch allows qemu to initialize and
configure the in-kernel XICS, and keep its state in sync with qemu's XICS...

075edbe3 10/26/2013 12:25 am Benjamin Herrenschmidt

xics: Implement H_IPOLL

This adds support for the H_IPOLL hypercall which the guest
uses to poll for a pending interrupt. This hypercall is
mandatory for PAPR+ and there is no way for the guest to
detect whether it is supported or not so just add it.

Signed-off-by: Benjamin Herrenschmidt <>...

5d87e4b7 10/26/2013 12:25 am Benjamin Herrenschmidt

xics: Implement H_XIRR_X

This implements H_XIRR_X hypercall in addition to H_XIRR as
it is mandatory for PAPR+ and there is no way for the guest to
detect whether it is supported or not so just add it.

As the Partition Adjunct Option is not supported at the moment,...

9554233c 10/26/2013 12:25 am Alexey Kardashevskiy

xics-kvm: enable irqfd for MSI

This enables IRQFD support for sPAPR. The feature decreases the latency
of interrupt handling.

To enable IRQFD for MSI, this sets kvm_gsi_direct_mapping to true which
enables direct MSI mapping.

To enable IRQFD for LSI (level triggered INTx interrupts), a PCI host bus...

8ffe04ed 10/26/2013 12:25 am Alexey Kardashevskiy

xics: move reset and cpu_setup

This simple change makes following patches nicer.

Signed-off-by: Alexey Kardashevskiy <>
Acked-by: David Gibson <>
Signed-off-by: Alexander Graf <>

9ccff2a4 10/26/2013 12:25 am Alexey Kardashevskiy

xics: replace fprintf with error_report

This replaces old-style fprintf with new style error_report.

Signed-off-by: Alexey Kardashevskiy <>
Reviewed-by: Andreas Färber <>
Acked-by: David Gibson <>
Signed-off-by: Alexander Graf <>

d1b5682d 10/26/2013 12:25 am Alexey Kardashevskiy

xics: add pre_save/post_load dispatchers

The upcoming support of in-kernel XICS will redefine migration callbacks
for both ICS and ICP so classes and callback pointers are added.

Signed-off-by: Alexey Kardashevskiy <>
Signed-off-by: Alexander Graf <>

5cff81f0 09/03/2013 08:30 pm Anthony Liguori

Merge remote-tracking branch 'afaerber/tags/qom-devices-for-anthony' into staging

QOM device refactorings

  • Fix QOM and ISA documentation errors
  • Extend object_initialize() et al. to check the instance size
  1. gpg: Signature made Fri 30 Aug 2013 02:19:48 PM CDT using RSA key ID 3E7E013F...
33a0e5d8 09/02/2013 11:06 am Alexey Kardashevskiy

xics: move registration of global state to realize()

Registration of global state belongs into realize so move it there.

Signed-off-by: Alexey Kardashevskiy <>
Reviewed-by: Andreas Färber <>
Signed-off-by: Alexander Graf <>

213f0c4f 08/30/2013 10:15 pm Andreas Färber

qom: Pass available size to object_initialize()

To be passed on to object_initialize_with_type().

Acked-by: Cornelia Huck <> (virtio-ccw)
Signed-off-by: Andreas Färber <>

bc72ad67 08/22/2013 08:14 pm Alex Bligh

aio / timers: Switch entire codebase to the new timer API

This is an autogenerated patch using scripts/switch-timer-api.

Switch the entire code base to using the new timer API.

Note this patch may introduce some line length issues.

Signed-off-by: Alex Bligh <>...

f54d3157 07/29/2013 10:07 pm Andreas Färber

ioapic: QOM cast cleanup

Signed-off-by: Andreas Färber <>

47edc5a4 07/29/2013 10:06 pm Andreas Färber

omap_intc: QOM'ify omap-intc and omap2-intc

Create a new abstract base type and let omap-intc and omap2-intc inherit
from it. Introduce a type constant and use QOM casts.

Signed-off-by: Andreas Färber <>

aefbc256 07/29/2013 10:06 pm Andreas Färber

pl190: Rename pl190_state to PL190State

Signed-off-by: Andreas Färber <>

7fc3266f 07/29/2013 10:06 pm Andreas Färber

pl190: QOM cast cleanup

Signed-off-by: Andreas Färber <>

1ecdf402 07/29/2013 10:06 pm Andreas Färber

puv3_intc: QOM cast cleanup

Signed-off-by: Andreas Färber <>

b09a6f7b 07/29/2013 10:06 pm Andreas Färber

realview_gic: QOM cast cleanup

Signed-off-by: Andreas Färber <>

7abad863 07/29/2013 10:06 pm Andreas Färber

slavio_intctl: QOM cast cleanup

Signed-off-by: Andreas Färber <>

cc3e064e 07/29/2013 10:06 pm Andreas Färber

xilinx_intc: QOM cast cleanup

Signed-off-by: Andreas Färber <>

285b4432 07/29/2013 10:06 pm Andreas Färber

arm_gic: QOM cast cleanup

Signed-off-by: Andreas Färber <>

9062143f 07/29/2013 10:06 pm Andreas Färber

etraxfs_pic: QOM cast cleanup

Signed-off-by: Andreas Färber <>

c03c6b9c 07/29/2013 10:06 pm Andreas Färber

exynos4210_combiner: QOM cast cleanup

Signed-off-by: Andreas Färber <>

78c6abbd 07/29/2013 10:06 pm Andreas Färber

exynos4210_gic: QOM cast cleanup for exynos4210.gic

Signed-off-by: Andreas Färber <>

c5e22ae3 07/29/2013 10:06 pm Andreas Färber

exynos4210_gic: QOM cast cleanup for exynos4210.irq_gate

Signed-off-by: Andreas Färber <>

730bf932 07/29/2013 10:06 pm Andreas Färber

grlib_irqmp: QOM cast cleanup

Signed-off-by: Andreas Färber <>

1f8a9eac 07/29/2013 10:06 pm Andreas Färber

lm32_pic: QOM cast cleanup

Signed-off-by: Andreas Färber <>

5ff94a61 07/29/2013 10:06 pm Andreas Färber

imx_avic: QOM cast cleanup

Introduce type constant, use QOM casts and prepare SysBus initfn for QOM
realize by resolving SysBusDevice vs. DeviceState "dev" name conflict.

Acked-by: Peter Chubb <>
Signed-off-by: Andreas Färber <>

c04d6cfa 07/29/2013 06:37 pm Anthony Liguori

xics: rename types to be sane and follow coding style

Basically, in HW the layout of the interrupt network is:
- One ICP per processor thread (the "presenter"). This contains the
registers to fetch a pending interrupt (ack), EOI, and control the...
f5ba7523 07/23/2013 01:37 am Hu Tao

ioapic: Use QOM realize for ioapic

Signed-off-by: Hu Tao <>
[AF: Tweaked error message]
Signed-off-by: Andreas Färber <>

42e5b4c9 07/11/2013 07:51 pm Alexey Kardashevskiy

pseries: move interrupt controllers to hw/intc/

Signed-off-by: Alexey Kardashevskiy <>
Reviewed-by: Andreas Färber <>
Signed-off-by: Alexander Graf <>

dfc08079 07/09/2013 10:33 pm Andreas Färber

intc/arm_gic: Build arm_gic only once

Since current_cpu is CPUState it no longer needs CPUArchState.

Signed-off-by: Andreas Färber <>

2b927571 07/09/2013 10:33 pm Andreas Färber

intc/openpic: Build openpic only once

Since current_cpu is CPUState it no longer depends on CPUPPCState.

Move ppce500_set_mpic_proxy() to a new hw/ppc/ppc_e500.h because
hw/ppc/ppc.h is too heavily using CPUPPCState and PowerPCCPU.

Signed-off-by: Andreas Färber <>

182735ef 07/09/2013 10:32 pm Andreas Färber

cpu: Make first_cpu and next_cpu CPUState

Move next_cpu from CPU_COMMON to CPUState.
Move first_cpu variable to qom/cpu.h.

gdbstub needs to use CPUState::env_ptr for now.
cpu_copy() no longer needs to save and restore cpu_next.

Acked-by: Paolo Bonzini <>...

4917cf44 07/09/2013 10:20 pm Andreas Färber

cpu: Replace cpu_single_env with CPUState current_cpu

Move it to qom/cpu.h.

Signed-off-by: Andreas Färber <>

1437c94b 07/04/2013 06:42 pm Paolo Bonzini

hw/i*: pass owner to memory_region_init* functions

Signed-off-by: Paolo Bonzini <>

2c9b15ca 07/04/2013 06:42 pm Paolo Bonzini

memory: add owner argument to initialization functions

Signed-off-by: Paolo Bonzini <>

cbe72019 07/01/2013 02:11 am Andreas Färber

intc/openpic: Convert to QOM realize

Split qdev initfn into instance_init and realize functions.
Change one occurrence of "klass" while at it.

Signed-off-by: Andreas Färber <>
Reviewed-by: Peter Crosthwaite <>...

dd49c038 07/01/2013 02:11 am Andreas Färber

intc/openpic_kvm: Fix QOM and build issues

Signed-off-by: Andreas Färber <>
Signed-off-by: Alexander Graf <>

8935a442 07/01/2013 02:11 am Scott Wood

openpic: factor out some common defines into openpic.h

...for use by the KVM in-kernel irqchip stub.

Signed-off-by: Scott Wood <>
Signed-off-by: Alexander Graf <>

d85937e6 07/01/2013 02:11 am Scott Wood

kvm/openpic: in-kernel mpic support

Enables support for the in-kernel MPIC that thas been merged into the
KVM next branch. This includes irqfd/KVM_IRQ_LINE support from Alex
Graf (along with some other improvements).

Note from Alex regarding kvm_irqchip_create():...

e1766344 07/01/2013 02:11 am Andreas Färber

intc/openpic: QOM'ify

Introduce type constant and cast macro.

Signed-off-by: Andreas Färber <>
Reviewed-by: Peter Crosthwaite <>
Signed-off-by: Alexander Graf <>

45fdd3bf 06/18/2013 10:45 am Peter Crosthwaite

intc/xilinx_intc: Handle level interrupt retriggering

Acking a level sensitive interrupt should have no effect if the
interrupt pin is still asserted. The current implementation requires
and edge condition to occur for setting a level sensitive IRQ, which...

fa96d614 06/18/2013 10:45 am Peter Crosthwaite

intc/xilinx_intc: Inhibit write to ISR when HIE

When the Hardware Interrupt Enable (HIE) bit is set, software cannot
change ISR. Add write guard accordingly.

Signed-off-by: Peter Crosthwaite <>
Signed-off-by: Edgar E. Iglesias <>

afd59989 06/18/2013 10:45 am Peter Crosthwaite

intc/xilinx_intc: Dont lower IRQ when HIE cleared

This is a little strange. It is lowering the parent IRQ pin on input
when HIE is cleared. There is no such behaviour in the real hardware.

ISR changes based on interrupt pin state are already guarded on HIE...

6327c221 06/18/2013 10:44 am Peter Crosthwaite

intc/xilinx_intc: Don't clear level sens. IRQs without ACK

For level sensitive interrupts, ISR bits are cleared when the input pin
is lowered. This is incorrect. Only software can clear ISR bits (via
IAR or direct write to ISR with !MER).

Signed-off-by: Peter Crosthwaite <>...

371a775d 06/15/2013 01:53 pm Blue Swirl

Merge branch 'realize-isa.v2' of git://github.com/afaerber/qemu-cpu

  • 'realize-isa.v2' of git://github.com/afaerber/qemu-cpu:
    qdev: Drop FROM_QBUS() macro
    isa: QOM'ify ISADevice
    isa: QOM'ify ISABus
    i8259: Convert PICCommonState to use QOM realizefn...
5c9f4336 06/11/2013 10:45 pm Peter Crosthwaite

intc/xilinx_intc: Use qemu_set_irq

Use qemu_set_irq rather than if-elsing qemu_irq_(lower|raise). No
functional change, just reduces verbosity.

Cc:

Signed-off-by: Peter Crosthwaite <>
Signed-off-by: Michael Tokarev <>

4a17cc4f 06/07/2013 03:55 pm Andreas Färber

isa: QOM'ify ISADevice

Rename its parent field and use DEVICE where necessary.

Signed-off-by: Andreas Färber <>

d1eebf4e 06/07/2013 03:55 pm Andreas Färber

i8259: QOM'ify some more

Introduce type constant.

Prepares for PIC realizefn.

Signed-off-by: Andreas Färber <>

d2628b7d 06/07/2013 03:55 pm Andreas Färber

i8259: Convert PICCommonState to use QOM realizefn

Instead of having the parent provide PICCommonClass::init,
let the children override DeviceClass::realize themselves.
This pushes the responsibility of saving and calling the parent's
realizefn to the children....

db895a1e 06/07/2013 01:14 pm Andreas Färber

isa: Use realizefn for ISADevice

Drop ISADeviceClass::init and the resulting no-op initfn and let
children implement their own realizefn. Adapt error handling.
Split off an instance_init where sensible.

Signed-off-by: Andreas Färber <>

edf9735e 06/02/2013 06:14 pm Michael S. Tsirkin

apic: rename apic specific bitopts

apic has its own version of bitops, with the
difference that it works on u32 and not long.
Add apic_ prefix to avoid namespace clashes.

We should look into reusing standard bitops long-term,
but that's not entirely trivial....

6a4e1771 05/26/2013 02:37 pm Blue Swirl

Remove Sun4c, Sun4d and a few CPUs

Sun4c and Sun4d architectures and related CPUs are not fully implemented
(especially Sun4c MMU) and there has been no interest for them.

Likewise, a few CPUs (Cypress, Ross etc) are only half implemented.

Remove the machines and CPUs, they can be re-added if needed later....

c7e775e4 05/12/2013 12:25 pm Dong Xu Wang

remove double semicolons

Signed-off-by: Dong Xu Wang <>
Signed-off-by: Michael Tokarev <>

53a89e26 05/01/2013 02:06 pm Igor Mammedov

target-i386: Move APIC to ICC bus

It allows APIC to be hotplugged.

  • map APIC's mmio at board level if it is present
  • do not register mmio region for each APIC, since
    only one is used/mapped

Signed-off-by: Igor Mammedov <>
Signed-off-by: Andreas Färber <>

baaeda08 05/01/2013 02:04 pm Igor Mammedov

target-i386: Replace MSI_SPACE_SIZE with APIC_SPACE_SIZE

Put APIC_SPACE_SIZE in a public header so that it can be
reused elsewhere later.

Signed-off-by: Igor Mammedov <>
Signed-off-by: Andreas Färber <>

29bb5317 04/29/2013 04:27 pm Andreas Färber

i8259: QOM cleanups

Eliminate DO_UPCAST() for PICCommonState. Prepares for ISA realizefn.

Also give the i8259_common type registration functions unique names
while at it.

Signed-off-by: Andreas Färber <>
Signed-off-by: Andreas Färber <>...

f16a69f7 04/16/2013 02:19 am Igor Mammedov

ioapic: Replace FROM_SYSBUS() with QOM type cast

Signed-off-by: Igor Mammedov <>
Signed-off-by: Andreas Färber <>

bd2be150 04/15/2013 04:16 pm Peter Maydell

arm: fix location of some include files

The recent rearrangement of include files had some minor errors:
devices.h is not ARM specific and should not be in arm/
arm.h should be in arm/

Move these two headers to correct this.

Signed-off-by: Peter Maydell <>...

e03ba136 04/12/2013 03:33 pm Peter Maydell

Typo, spelling and grammatical fixes

Minor fixes to documentation and code comments.

Signed-off-by: Peter Maydell <>
Signed-off-by: Stefan Hajnoczi <>

7702e47c 04/08/2013 07:13 pm Paolo Bonzini

hw: move interrupt controllers to hw/intc/, configure with default-configs/

Signed-off-by: Paolo Bonzini <>

47b43a1f 04/08/2013 07:13 pm Paolo Bonzini

hw: move private headers to hw/ subdirectories.

Many headers are used only in a single directory. These can be
kept in hw/.

Signed-off-by: Paolo Bonzini <>

49ab747f 04/08/2013 07:13 pm Paolo Bonzini

hw: move target-independent files to subdirectories

This patch tackles all files that are compiled once, moving
them to subdirectories of hw/.

Signed-off-by: Paolo Bonzini <>

1fd6bb44 04/08/2013 07:13 pm Paolo Bonzini

hw: make subdirectories for devices

Prepare the new directory structure.

Signed-off-by: Paolo Bonzini <>