Statistics
| Branch: | Revision:

root / hw / cpu @ 216db403

# Date Author Comment
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 <>

57e72f2a 12/10/2013 03:28 pm François LEGAL

cpu/a9mpcore: Add Global Timer

Add the global timer to A9 MPCore.

Signed-off-by: François LEGAL <>
Reviewed-by: Peter Maydell <>
Message-id: ...

d3053e6b 12/10/2013 03:24 pm Peter Crosthwaite

cpu/a9mpcore: rename timerbusdev variable

Rename this variable for consistency with the above defined mptimerdev
variable.

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

4c25f365 12/10/2013 03:24 pm Peter Crosthwaite

cpu/a9mpcore: reorder operations/declarations

To make it consistent for easier code reading. The order in which
variables are defined and functions are called is set to match the
address map ordering.

The new consistent order of doing stuff is:

SCU -> GIC -> MPTimer -> WDT....

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

a9mpcore: Convert to QOM realize

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

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

a9mpcore: Prepare for QOM embedding

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

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

a15mpcore: Split off instance_init

Prepares for QOM realize.

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

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

a15mpcore: Embed GICState

This covers both emulated and KVM GIC.

Prepares for QOM realize.

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

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

a15mpcore: Convert to QOM realize

Turn SysBusDevice initfn into a QOM realizefn.

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

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

a15mpcore: Prepare for QOM embedding

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

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

arm11mpcore: Fix typo in MemoryRegion name

"mpcode" -> "mpcore"

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

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

arm11mpcore: Drop unused fields

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

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

arm11mpcore: Create container MemoryRegion in instance_init

This allows to map the region directly after object initialization.

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

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

arm11mpcore: Split off SCU device

Inspired by a9scu.

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

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

arm11mpcore: Convert ARM11MPCorePriveState to QOM realize

Embed child devices and replace SysBus initfn with realizefn.

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

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

arm11mpcore: Convert mpcore_rirq_state to QOM realize

Embed ARM11MPCorePriveState and RealViewGICState and replace SysBus
initfn with realizefn.

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

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

arm11mpcore: 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 <>

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

arm11mpcore: Split off RealView MPCore

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

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

a9mpcore: Split off instance_init

Prepares for QOM realize.

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

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

a9mpcore: Embed GICState

Prepares for conversion to QOM realize.

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

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

a9mpcore: Embed A9SCUState

Prepares for QOM realize.

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

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

a9mpcore: Embed ARMMPTimerState

Prepares for QOM realize.

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

aaa6a401 09/03/2013 08:33 pm Anthony Liguori

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

QOM CPUState refactorings / X86CPU

  • Conversion of global CPU list to QTAILQ - preparing for CPU hot-unplug
  • Document X86CPU magic numbers for CPUID cache info
  1. gpg: Signature made Tue 03 Sep 2013 10:59:22 AM CDT using RSA key ID 3E7E013F...
27013bf2 09/03/2013 12:30 pm Andreas Färber

a15mpcore: Use qemu_get_cpu() for generic timers

This simplifies the loop and aids with refactoring of CPU list.

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

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

qdev: Pass size to qbus_create_inplace()

To be passed to object_initialize().

Since commit 39355c3826f5d9a2eb1ce3dc9b4cdd68893769d6 the argument is
void*, so drop some superfluous (BusState *) casts or direct parent
field usages.

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

6033e840 08/20/2013 04:54 pm Peter Maydell

hw/cpu/a15mpcore: Wire generic timer outputs to GIC inputs

Now our A15 CPU implements the generic timers, we can wire them
up to the appropriate inputs on the GIC.

Signed-off-by: Peter Maydell <>
Tested-by: Laurent Desnogues <>...

66aae5e1 08/20/2013 04:54 pm Peter Maydell

default-configs: Fix A9MP and A15MP config names

When individual CONFIG_ switches for the A9MPcore and A15MPcore
devices were created, they were inadvertently given incorrect names
(CONFIG_ARM9MPCORE and CONFIG_ARM15MPCORE). These CPUs are
"Cortex-A9MP" and "Cortex-A15MP", and in particular the ARM9 is...

45c0a675 07/29/2013 09:44 pm Andreas Färber

arm11mpcore: QOM cast cleanups for mpcore_rirq_state

Introduce a type constant, use QOM casts, rename the parent field and
prepare for QOM realize.

Reviewed-by: Hu Tao <>
Signed-off-by: Andreas Färber <>

56fc0281 07/29/2013 09:42 pm Andreas Färber

arm11mpcore: QOM cast cleanups for ARM11MPCorePriveState

Introduce a type constant, use QOM casts and rename the parent field.

Reviewed-by: Hu Tao <>
Signed-off-by: Andreas Färber <>

97da11d8 07/29/2013 09:42 pm Andreas Färber

cpu/a15mpcore: QOM cast cleanup

Introduce type constant and cast macro and rename A15MPPrivState::busdev
field to parent_obj to enforce its use.

Prepares for QOM realize.

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

5126fec7 07/29/2013 09:41 pm Andreas Färber

cpu/a9mpcore: QOM casting cleanup

Introduce type constant and cast macro and enforce its use by
renaming A9MPPrivState::busdev field to parent_obj.

Reviewed-by: Peter Crosthwaite <>
Reviewed-by: Peter Maydell <>...

125ee0ed 07/29/2013 06:37 pm Marcel Apfelbaum

devices: Associate devices to their logical category

The category will be used to sort the devices displayed in
the command line help.

Signed-off-by: Marcel Apfelbaum <>
Message-id: ...

52862242 07/15/2013 06:17 pm Peter Maydell

hw/cpu/a15mpcore: Correct default value for num-irq

The a15mpcore device claims that its default value for num-irq
is the number of interrupts used by the A15MP in the vexpress-a15
board. However that chip has 128 external interrupts, not 64.
Since there is only one A15 based model in QEMU currently, we...

300b1fc6 07/04/2013 06:42 pm Paolo Bonzini

hw/c*: 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 <>

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 <>

f0513d2c 05/01/2013 02:06 pm Igor Mammedov

target-i386: Introduce ICC bus/device/bridge

Provides a hotpluggable bus for APIC and CPU.

  • icc-bridge will serve as a parent for icc-bus and provide
    mmio mapping services to child icc-devices.
  • icc-device will replace SysBusDevice as a parent of APIC...
0434e30a 04/08/2013 07:13 pm Paolo Bonzini

hw: move ARM CPU cores to hw/cpu/, configure with default-configs/

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 <>