Statistics
| Branch: | Revision:

root / target-ppc @ 771142c2

Name Size
STATUS 10.6 kB
cpu.h 87.2 kB
helper.c 104.9 kB
helper.h 14.7 kB
helper_regs.h 3.3 kB
kvm.c 24.3 kB
kvm_ppc.c 1.1 kB
kvm_ppc.h 2.5 kB
machine.c 5.7 kB
mfrom_table.c 3.3 kB
mfrom_table_gen.c 652 Bytes
op_helper.c 131.5 kB
translate.c 351.5 kB
translate_init.c 426.7 kB

Latest revisions

# Date Author Comment
02d4eae4 10/31/2011 03:57 am David Gibson

ppc: Alter CPU state to mask out TCG unimplemented instructions as appropriate

The CPU state contains two bitmaps, initialized from the CPU spec
which describes which instructions are implemented on the CPU. A
couple of bits are defined which cover instructions (VSX and DFP)...

98efaf75 10/30/2011 09:03 pm David Gibson

ppc: Fix up usermode only builds

The recent usage of MemoryRegion in kvm_ppc.h breaks builds with
CONFIG_USER_ONLY=y. This patch fixes it.

Signed-off-by: David Gibson <>
Signed-off-by: Alexander Graf <>

70bca53f 10/30/2011 09:03 pm Alexander Graf

KVM: PPC: Override host vmx/vsx/dfp only when information known

The -cpu host feature tries to find out the host capabilities based
on device tree information. However, we don't always have that available
because it's an optional property in dt.

So instead of force unsetting values depending on an unreliable source...

74b41e56 10/30/2011 09:03 pm David Gibson

pseries: Allow writes to KVM accelerated TCE table

Sufficiently recent kernels include a KVM call to accelerate use of
PAPR TCE tables (IOMMU), which are used by PAPR virtual IO devices.
This involves qemu mapping the TCE table in from a kernel obtained fd,...

f0ad8c34 10/30/2011 09:03 pm Alexander Graf

PPC: Disable non-440 CPUs for ppcemb target

The sole reason we have the ppcemb target is to support MMUs that have
less than the usual 4k possible page size. There are very few of these
chips and I don't want to add additional QA and testing burden to everyone...

a7342588 10/30/2011 09:03 pm David Gibson

pseries: Correct vmx/dfp handling in both KVM and TCG cases

Currently, when KVM is enabled, the pseries machine checks if the host
CPU supports VMX, VSX and/or DFP instructions and advertises
accordingly in the guest device tree. It does this regardless of what...

8b242eba 10/30/2011 09:03 pm Alexander Graf

PPC: Bump qemu-system-ppc to 64-bit physical address space

Some 32-bit PPC CPUs can use up to 36 bit of physical address space.
Treat them accordingly in the qemu-system-ppc binary type.

Signed-off-by: Alexander Graf <>

be40edcd 10/30/2011 06:11 pm David Gibson

ppc: Remove broken partial PVR matching

The ppc target contains a ppc_find_by_pvr() function, which looks up a
CPU spec based on a PVR (that is, based on the value in the target cpu's
Processor Version Register). PVR values contain information on both the...

a1e98583 10/30/2011 06:11 pm David Gibson

ppc: First cut implementation of -cpu host

For convenience with kvm, x86 allows the user to specify -cpu host on the
qemu command line, which means make the guest cpu the same as the host
cpu. This patch implements the same option for ppc targets.

For now, this just read the host PVR (Processor Version Register) and...

37e305ce 10/30/2011 06:11 pm David Gibson

ppc: Add cpu defs for POWER7 revisions 2.1 and 2.3

This patch adds cpu specs to the table for POWER7 revisions 2.1 and 2.3.
This allows -cpu host to be used on these host cpus.

Signed-off-by: David Gibson <>
Signed-off-by: Alexander Graf <>

View revisions

Also available in: Atom