Statistics
| Branch: | Revision:

root / target-ppc @ 3bc9ccc0

Name Size
Makefile.objs 455 Bytes
STATUS 10.6 kB
arch_dump.c 6.5 kB
cpu-models.c 64.4 kB
cpu-models.h 29.7 kB
cpu-qom.h 3.6 kB
cpu.h 87.1 kB
excp_helper.c 34.5 kB
fpu_helper.c 48.5 kB
gdbstub.c 3.8 kB
helper.h 15.9 kB
helper_regs.h 3.4 kB
int_helper.c 52.8 kB
kvm-stub.c 400 Bytes
kvm.c 51.7 kB
kvm_ppc.c 1.2 kB
kvm_ppc.h 4.8 kB
machine.c 14.8 kB
mem_helper.c 8.3 kB
mfrom_table.c 3.3 kB
mfrom_table_gen.c 653 Bytes
misc_helper.c 3.5 kB
mmu-hash32.c 16 kB
mmu-hash32.h 3.2 kB
mmu-hash64.c 15.4 kB
mmu-hash64.h 4.5 kB
mmu_helper.c 88.4 kB
timebase_helper.c 4.3 kB
translate.c 364.2 kB
translate_init.c 304.4 kB
user_only_helper.c 1.4 kB

Latest revisions

# Date Author Comment
3bc9ccc0 12/20/2013 02:57 am Alexey Kardashevskiy

powerpc: add PVR mask support

IBM POWERPC processors encode PVR as a CPU family in higher 16 bits and
a CPU version in lower 16 bits. Since there is no significant change
in behavior between versions, there is no point to add every single CPU
version in QEMU's CPU list. Also, new CPU versions of already supported...

c65f9a07 12/20/2013 02:57 am Greg Kurz

target-ppc: add stubs for KVM breakpoints

The latest update to v3.13-rc3 (bf63839f) breaks the
ppc build with KVM:

kvm-all.o: In function `kvm_update_guest_debug':
kvm-all.c:1910: undefined reference to `kvm_arch_update_guest_debug'
kvm-all.o: In function `kvm_insert_breakpoint':...

4b4d4a21 10/26/2013 12:25 am Aneesh Kumar K.V

target-ppc: Update slb array with correct index values.

Without this, a value of rb=0 and rs=0 results in replacing the 0th
index. This can be observed when using gdb remote debugging support.

(gdb) x/10i do_fork
0xc000000000085330 <do_fork>: Cannot access memory at address 0xc000000000085330...

d83af167 10/26/2013 12:25 am Aneesh Kumar K.V

target-ppc: Use #define for max slb entries

Instead of opencoding 64 use MAX_SLB_ENTRIES. We don't update the kernel
header here.

Signed-off-by: Aneesh Kumar K.V <>
Signed-off-by: Alexander Graf <>

e62fbc54 10/26/2013 12:25 am Aneesh Kumar K.V

target-ppc: dump-guest-memory support

This patch add support for dumping guest memory using dump-guest-memory
monitor command.

Before patch:

(qemu) dump-guest-memory testcrash
this feature or command is not currently supported
(qemu)

After patch:

(qemu) dump-guest-memory testcrash...

793826cd 10/26/2013 12:25 am Andreas Färber

target-ppc: Fill in OpenFirmware names for some PowerPCCPU families

Set the expected values for POWER7, POWER7+, POWER8 and POWER5+.
Note that POWER5+ and POWER7+ are intentionally lacking the '+', so the
lack of a POWER7P family constitutes no problem.
...

3bbf37f2 10/26/2013 12:25 am Andreas Färber

spapr: Use DeviceClass::fw_name for device tree CPU node

Instead of relying on cpu_model, obtain the device tree node label
per CPU. Use DeviceClass::fw_name as source.

Whenever DeviceClass::fw_name is unknown, default to "PowerPC,UNKNOWN".

As a consequence, spapr_fixup_cpu_dt() can operate on each CPU's fw_name,...

feaa64c4 10/26/2013 12:25 am David Gibson

target-ppc: Add helper for KVM_PPC_RTAS_DEFINE_TOKEN

Recent PowerKVM allows the kernel to intercept some RTAS calls from the
guest directly. This is used to implement the more efficient in-kernel
XICS for example. qemu is still responsible for assigning the RTAS token...

bbfb6f13 10/26/2013 12:25 am Tom Musta

target-ppc: Little Endian Correction to Load/Store Vector Element

The Load Vector Element (lve*x) and Store Vector Element (stve*x)
instructions not only byte-swap in Little Endian mode, they also
invert the element that is accessed. For example, the RTL for...

9633fcc6 10/26/2013 12:25 am Alexander Graf

PPC: Fix L2CR write accesses

Commit 2345f1c01 was supposed to render L2CR writes into noops. Instead,
it made them illegal instruction traps which apparently didn't confuse
XNU, but can easily confuse other OSs.

Fix it up by actually doing nothing when we write to L2CR....

View revisions

Also available in: Atom