Statistics
| Branch: | Revision:

root / target-ppc @ a8170e5e

Name Size
Makefile.objs 304 Bytes
STATUS 10.6 kB
cpu-qom.h 1.9 kB
cpu.h 90.4 kB
excp_helper.c 33.1 kB
fpu_helper.c 49 kB
helper.c 1.3 kB
helper.h 16.3 kB
helper_regs.h 3.3 kB
int_helper.c 53.2 kB
kvm.c 33.2 kB
kvm_ppc.c 1.1 kB
kvm_ppc.h 3.1 kB
machine.c 5.5 kB
mem_helper.c 9.3 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
mpic_helper.c 1.2 kB
timebase_helper.c 4.3 kB
translate.c 360.4 kB
translate_init.c 438 kB

Latest revisions

# Date Author Comment
a8170e5e 10/23/2012 04:58 pm Avi Kivity

Rename target_phys_addr_t to hwaddr

target_phys_addr_t is unwieldly, violates the C standard (_t suffixes are
reserved) and its purpose doesn't match the name (most target_phys_addr_t
addresses are not target specific). Replace it with a finger-friendly,...

6b2f90fb 10/06/2012 07:51 pm Aurelien Jarno

Merge branch 'ppc-for-upstream' of git://repo.or.cz/qemu/agraf

  • 'ppc-for-upstream' of git://repo.or.cz/qemu/agraf: (35 commits)
    PPC: KVM: Fix BAT put
    PPC: e500: Only expose even TLB sizes in initial TLB
    ppc/pseries: Reset VPA registration on CPU reset...
ae215068 10/05/2012 03:58 pm Jim Meyering

ppc: avoid buffer overrun: use pstrcpy, not strncpy

A terminal NUL is required by caller's use of strchr.
It's better not to use strncpy at all, since there is no need
to zero out hundreds of trailing bytes for each iteration.

Signed-off-by: Jim Meyering <>...

ef8beb0e 10/05/2012 05:38 am Alexander Graf

PPC: KVM: Fix BAT put

In the sregs API, upper and lower 32bit segments of the BAT registers
are swapped when doing a set. Since we need to support old kernels out
there, don't bother to fix it in the kernel, but instead work around
the problem in QEMU by swapping on put....

4be403c8 10/05/2012 03:46 am Avi Kivity

Make target_phys_addr_t 64 bits unconditionally

The hassle and compile time overhead of maintaining both 32-bit and 64-bit
capable source isn't worth the tiny performance advantage which is seen on
a minority of configurations. Switch to compiling libhw only once, with...

2b15811c 10/05/2012 03:35 am David Gibson

ppc/pseries: Reset VPA registration on CPU reset

The ppc specific CPU state contains several variables which track the
VPA, SLB shadow and dispatch trace log. These are structures shared
between OS and hypervisor that are used on the pseries machine to track...

ace9a2cb 10/04/2012 04:54 pm David Gibson

target-ppc: KVM: Fix some kernel version edge cases for kvmppc_reset_htab()

The kvmppc_reset_htab() function invokes the KVM_PPC_ALLOCATE_HTAB vm ioctl
to request KVM to allocate and reset a hash page table for the guest - it
returns the size of hash table allocated, or 0 to indicate that qemu needs...

011aba24 10/04/2012 04:54 pm David Gibson

target-ppc: Remove unused power_mode field from cpu state

CPUPPCState includes a variable 'power_mode' which is used nowhere. This
patch removes it. This includes saving a dummy zero in its place during
vmsave, to avoid breaking the save format.

Signed-off-by: David Gibson <>...

f1af19d7 10/04/2012 04:54 pm David Gibson

ppc: Make kvm_arch_put_registers() put all the registers

At least when invoked with high enough 'level' arguments,
kvm_arch_put_registers() is supposed to copy essentially all the cpu state
as encoded in qemu's internal structures into the kvm state. Currently...

7f763a5d 10/04/2012 04:54 pm David Gibson

pseries: Add support for new KVM hash table control call

This adds support for then new "reset htab" ioctl which allows qemu
to properly cleanup the MMU hash table when the guest is reset. With
the corresponding kernel support, reset of a guest now works properly....

View revisions

Also available in: Atom