Statistics
| Branch: | Revision:

root / target-ppc @ 91f477fd

Name Size
Makefile.objs 304 Bytes
STATUS 10.6 kB
cpu-qom.h 1.9 kB
cpu.h 90.5 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 56.5 kB
kvm.c 31.4 kB
kvm_ppc.c 1.1 kB
kvm_ppc.h 2.7 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.6 kB
mpic_helper.c 1.2 kB
timebase_helper.c 4.3 kB
translate.c 360.4 kB
translate_init.c 436.7 kB

Latest revisions

# Date Author Comment
2a7a47fc 06/24/2012 02:04 am Alexander Graf

PPC: BookE: Implement EPR SPR

On the e500 series, accessing SPR_EPR magically turns into an access at
that CPU's IACK register on the MPIC. Implement that logic to get kernels
that make use of that feature work.

Signed-off-by: Alexander Graf <>

e9cd84b9 06/24/2012 02:04 am Alexander Graf

PPC: BookE: Make ivpr selectable by CPU type

IVPR can either hold 32 or 64 bit addresses, depending on the CPU type. Let
the CPU initialization function pass in its mask itself, so we can easily
extend it.

Signed-off-by: Alexander Graf <>

b81ccf8a 06/24/2012 02:04 am Alexander Graf

PPC: Add e5500 CPU target

This patch adds e5500's CPU initialization to the TCG CPU initialization
code.

Signed-off-by: Alexander Graf <>

91f477fd 06/24/2012 02:04 am Alexander Graf

PPC: Extract SPR dump generation into its own function

This patch moves the debug #ifdef'ed SPR trace generation into its
own function, so we can call it from multiple places.

Signed-off-by: Alexander Graf <>

84755ed5 06/24/2012 02:04 am Alexander Graf

PPC: Add some booke SPR defines

The number of SPRs avaiable in different PowerPC chip is still increasing. Add
definitions for the MAS7_MAS3 SPR and all currently known bits in EPCR.

Signed-off-by: Alexander Graf <>

e42a61f1 06/24/2012 02:04 am Alexander Graf

PPC: Add support for MSR_CM

The BookE variant of MSR_SF is MSR_CM. Implement everything it takes in TCG to
support running 64bit code with MSR_CM set.

Signed-off-by: Alexander Graf <>

77c2cf33 06/24/2012 02:04 am Fabien Chouteau

booke_206_tlbwe: Discard invalid bits in MAS2

The size of EPN field in MAS2 depends on page size. This patch adds a
mask to discard invalid bits in EPN field.

Definition of EPN field from e500v2 RM:
EPN Effective page number: Depending on page size, only the bits...

4656e1f0 06/24/2012 02:04 am Benjamin Herrenschmidt

ppc64: Rudimentary Support for extra page sizes on server CPUs

More recent Power server chips (i.e. based on the 64 bit hash MMU)
support more than just the traditional 4k and 16M page sizes. This
can get quite complicated, because which page sizes are supported,...

90638255 06/24/2012 02:04 am Blue Swirl

ppc: Add missing break

Add obviously missing 'break' statement.

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

ea6c0dac 06/24/2012 02:04 am Blue Swirl

ppc: Make hbrev table const

Lookup table 'hbrev' is never written to, so add a 'const' qualifier.

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

View revisions

Also available in: Atom