mirror_qemu/target-ppc
David Gibson 697ab89278 Implement POWER7's CFAR in TCG
This patch implements support for the CFAR SPR on POWER7 (Come From
Address Register), which snapshots the PC value at the time of a branch or
an rfid.  The latest powerpc-next kernel also catches it and can show it in
xmon or in the signal frames.

This works well enough to let recent kernels boot (which otherwise oops
on the CFAR access).  It hasn't been tested enough to be confident that the
CFAR values are actually accurate, but one thing at a time.

Signed-off-by: Ben Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
2011-10-06 09:48:04 +02:00
..
STATUS Fix typos in comments (chek -> check) 2011-05-22 22:31:45 +01:00
cpu.h Implement POWER7's CFAR in TCG 2011-10-06 09:48:04 +02:00
helper.c ppc: booke206: use MAV=2.0 TSIZE definition, fix 4G pages 2011-10-06 09:48:04 +02:00
helper.h target-ppc: remove old CONFIG_SOFTFLOAT #ifdef 2011-06-03 16:07:48 +02:00
helper_regs.h Replace always_inline with inline 2009-08-16 09:06:54 +00:00
kvm.c kvm: ppc: booke206: use MMU API 2011-10-06 09:48:04 +02:00
kvm_ppc.c PPC: KVM: Remove kvmppc_read_host_property 2011-10-06 09:43:35 +02:00
kvm_ppc.h PPC: Enable to use PAPR with PR style KVM 2011-10-06 09:48:02 +02:00
machine.c PPC: move TLBs to their own arrays 2011-06-17 02:58:37 +02:00
mfrom_table.c find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
mfrom_table_gen.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
op_helper.c softmmu_header: pass CPUState to tlb_fill 2011-10-01 09:31:26 +00:00
translate.c Implement POWER7's CFAR in TCG 2011-10-06 09:48:04 +02:00
translate_init.c Implement POWER7's CFAR in TCG 2011-10-06 09:48:04 +02:00