Statistics
| Branch: | Revision:

root / target-ppc @ d1a0cf73

Name Size
Makefile.objs 276 Bytes
STATUS 10.6 kB
cpu-models.c 64.1 kB
cpu-models.h 29.4 kB
cpu-qom.h 2.5 kB
cpu.h 90 kB
excp_helper.c 33.9 kB
fpu_helper.c 49 kB
helper.h 16 kB
helper_regs.h 3.3 kB
int_helper.c 52.5 kB
kvm.c 41.7 kB
kvm_ppc.c 1.1 kB
kvm_ppc.h 3.3 kB
machine.c 5.7 kB
mem_helper.c 9.2 kB
mfrom_table.c 3.3 kB
mfrom_table_gen.c 653 Bytes
misc_helper.c 3.6 kB
mmu_helper.c 101.2 kB
timebase_helper.c 4.3 kB
translate.c 356.3 kB
translate_init.c 298.5 kB

Latest revisions

# Date Author Comment
edbe35e0 03/08/2013 10:04 pm Andreas Färber

target-ppc: Fix PPC_DUMP_SPR_ACCESS build

A victim of the d523dd00a7d73b28f2e99acf45a4b3f92e56e40a AREG0
conversion, insert the missing cpu_env arguments.

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

5ba4576b 03/08/2013 10:04 pm Andreas Färber

target-ppc: Make host CPU a subclass of the host's CPU model

This avoids assigning individual class fields and contributors
forgetting to add field assignments in KVM-only code.

ppc_cpu_class_find_by_pvr() requires the CPU model classes to be
registered, so defer host CPU type registration to kvm_arch_init()....

55d3d1a4 03/08/2013 10:04 pm Andreas Färber

target-ppc: List alias names alongside CPU models

Revert adding a separate -cpu ? output section for aliases and list them
per CPU subclass.

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

35e21d3f 03/08/2013 10:04 pm Andreas Färber

target-ppc: Report CPU aliases for QMP

The QMP query-cpu-definitions implementation iterated over CPU classes
only, which were getting less and less as aliases were extracted.

Keep them in QMP as valid -cpu arguments even if not guaranteed stable.

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

e9a96075 03/08/2013 10:04 pm Andreas Färber

target-ppc: Move CPU aliases out of translate_init.c

Move array of CPU aliases to cpu-models.c, alongside model definitions.
This requires to zero-terminate the aliases array since ARRAY_SIZE() can
no longer be used in translate_init.c then.

Suggested-by: Alexander Graf <>...

953af181 03/08/2013 10:04 pm Andreas Färber

target-ppc: Split model definitions out of translate_init.c

Now that model definitions only reference their parent type, model
definitions are independent of the family definitions and can be
compiled independently of TCG translation.

Keep all #if defined(TODO) code local to cpu-models.c....

cc4a04db 03/08/2013 10:04 pm Andreas Färber

target-ppc: Fix remaining microcontroller typos among models

controler -> controller

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

befa8af3 03/08/2013 10:04 pm Andreas Färber

target-ppc: Change "POWER7" CPU alias

Let it resolve to v2.3 rather than v2.0.

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

d67d40ea 03/08/2013 10:04 pm David Gibson

target-ppc: Add mechanism for synchronizing SPRs with KVM

Currently when runing under KVM on ppc, we synchronize a certain number of
vital SPRs to KVM through the SET_SREGS call. This leaves out quite a lot
of important SPRs which are maintained in KVM. It would be helpful to...

70b79849 03/08/2013 10:04 pm David Gibson

target-ppc: Synchronize FPU state with KVM

Currently qemu does not get and put the state of the floating point and
vector registers to KVM. This is obviously a problem for savevm, as well
as possibly being problematic for debugging of FP-using guests.

This patch fixes this by using new extensions to the ONE_REG interface to...

View revisions

Also available in: Atom