Statistics
| Branch: | Revision:

root / hw / ppc @ 7c43bca0

Name Size
Makefile.objs 666 Bytes
e500-ccsr.h 337 Bytes
e500.c 26.8 kB
e500.h 391 Bytes
e500plat.c 1.7 kB
mac.h 5 kB
mac_newworld.c 17.7 kB
mac_oldworld.c 12.5 kB
mpc8544_guts.c 4.1 kB
mpc8544ds.c 1.4 kB
ppc.c 40 kB
ppc405.h 3 kB
ppc405_boards.c 20.4 kB
ppc405_uc.c 66.2 kB
ppc440_bamboo.c 9.6 kB
ppc4xx_devs.c 20.4 kB
ppc4xx_pci.c 11.5 kB
ppc_booke.c 11.5 kB
ppce500_spin.c 5.6 kB
prep.c 20.6 kB
spapr.c 43 kB
spapr_events.c 12.8 kB
spapr_hcall.c 22.5 kB
spapr_iommu.c 8.3 kB
spapr_pci.c 28.9 kB
spapr_rtas.c 12.2 kB
spapr_vio.c 17.1 kB
virtex_ml507.c 10 kB

Latest revisions

# Date Author Comment
f3c75d42 03/05/2014 04:07 am Aneesh Kumar K.V

target-ppc: Fix htab_mask calculation

Correctly update the htab_mask using the return value of
KVM_PPC_ALLOCATE_HTAB ioctl. Also we don't update sdr1
on GET_SREGS for HV. We check for external htab and if
found true, we don't need to update sdr1

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

7c43bca0 03/05/2014 04:07 am Aneesh Kumar K.V

target-ppc: Fix page table lookup with kvm enabled

With kvm enabled, we store the hash page table information in the hypervisor.
Use ioctl to read the htab contents. Without this we get the below error when
trying to read the guest address

(gdb) x/10 do_fork...
3c3b0dde 03/05/2014 04:07 am Alexander Graf

PPC: sPAPR: Only use getpagesize() when we run with kvm

We currently size the msi window trap page according to the host's page
size so that we poke a working hole into a memory slot in case we overlap.

However, this is only ever necessary with KVM active. Without KVM, we should...

3b66da82 03/05/2014 04:06 am Alexey Kardashevskiy

spapr: print more detailed error message on failed load_elf()

This makes use of new error codes which load_elf() can return and
prints more informative error message.

Signed-off-by: Alexey Kardashevskiy <>
Signed-off-by: Alexander Graf <>

5736245c 03/05/2014 04:06 am Aneesh Kumar K.V

target-ppc: Update external_htab even when HTAB is managed by kernel

We will use this in later patches to make sure we use the right load
functions when copying hpte entries.

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

133e70ee 03/05/2014 04:06 am Alexey Kardashevskiy

spapr: support only ELF kernel images

Currently everybody uses ELF kernel images with "-kernel" option on
pseries machine but QEMU still tries to boot from an image even it
fails to recognize it is ELF. This produces undefined behaviour if
the user tries a kernel image compiled for another architecture....

0658aa9c 03/05/2014 04:06 am Edgar E. Iglesias

virtex_ml507: Add support for loading initrd images

Signed-off-by: Edgar E. Iglesias <>
[agraf: fix up stray quotes and newlines in strings]
Signed-off-by: Alexander Graf <>

09aa9a52 03/05/2014 04:06 am Alexey Kardashevskiy

spapr-pci: enable adding PHB via -device

Recent changes introduced cannot_instantiate_with_device_add_yet
and removed capability of adding yet another PCI host bridge via
command line for SPAPR platform (POWERPC64 server).

This brings the capability back and puts SPAPR PHB into "bridge"...

135a129a 03/05/2014 04:06 am Aneesh Kumar K.V

kvm: Add a new machine option kvm-type

Targets like ppc64 support different types of KVM, one which use
hypervisor mode and the other which doesn't. Add a new machine
option kvm-type that helps in selecting the respective ones
We also add a new QEMUMachine callback get_vm_type that helps...

d5001cf7 02/26/2014 06:54 am Peter Crosthwaite

xilinx: Delete hw/include/xilinx.h

This is now obsolete - remove the header and all its inclusions.

Signed-off-by: Peter Crosthwaite <>
Signed-off-by: Edgar E. Iglesias <>

View revisions

Also available in: Atom