qemu-e2k/target-ppc
Benjamin Herrenschmidt 6ca038c292 ppc: restrict the use of the rfi instruction
Power ISA 2.x has deleted the rfi instruction and rfid shoud be used
instead on cpus following this instruction set or later.

This will raise an invalid exception when rfi is used on such
processors: Book3S 64-bit processors.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
[clg: the required fix in openbios, commit b747b6acc272 ('ppc: use
      rfid when running under a CPU from the 970 family.'), is now
      merged in qemu under commit 5cebd885d0 ('Update OpenBIOS
      images to b747b6a built from submodule.') ]
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2016-09-23 10:29:40 +10:00
..
translate ppc: Rename #include'd .c files to .inc.c 2016-09-07 12:40:12 +10:00
Makefile.objs kvm_ppc: remove kvmppc_timer_hack 2015-09-20 22:48:38 +02:00
STATUS
arch_dump.c ppc64: fix compressed dump with pseries kernel 2016-08-10 13:05:05 +10:00
cpu-models.c target-ppc: Introduce Power9 family 2016-09-07 09:52:14 +10:00
cpu-models.h target-ppc: Introduce Power9 family 2016-09-07 09:52:14 +10:00
cpu-qom.h target-ppc: Introduce Power9 family 2016-09-07 09:52:14 +10:00
cpu.h Remove unused function declarations 2016-09-15 15:32:22 +03:00
dfp_helper.c target-ppc: add dtstsfi[q] instructions 2016-09-07 12:40:11 +10:00
excp_helper.c ppc: Make alignment exceptions suck less 2016-09-07 12:40:10 +10:00
fpu_helper.c ppc: Make float_check_status() pass the return address 2016-09-07 12:33:47 +10:00
gdbstub.c qemu-common: push cpu.h inclusion out of qemu-common.h 2016-05-19 16:42:29 +02:00
helper.h ppc: Improve a few more helper flags 2016-09-07 12:40:12 +10:00
helper_regs.h ppc: Fix support for odd MSR combinations 2016-07-18 10:40:27 +10:00
int_helper.c target-ppc: add vsrv instruction 2016-09-07 12:40:12 +10:00
kvm-stub.c qemu-common: push cpu.h inclusion out of qemu-common.h 2016-05-19 16:42:29 +02:00
kvm.c ppc/kvm: Register also a generic spapr CPU core family type 2016-08-10 13:12:20 +10:00
kvm_ppc.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
machine.c ppc: Use split I/D mmu modes to avoid flushes on interrupts 2016-05-30 13:20:04 +10:00
mem_helper.c ppc: Speed up dcbz 2016-09-07 12:40:11 +10:00
mfrom_table.c
mfrom_table_gen.c ppc: Clean up includes 2016-01-29 15:07:22 +00:00
misc_helper.c ppc: Don't update NIP in facility unavailable interrupts 2016-09-07 12:40:10 +10:00
mmu-hash32.c cpu: move exec-all.h inclusion out of cpu.h 2016-05-19 16:42:29 +02:00
mmu-hash32.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
mmu-hash64.c ppc: Fix source NIP on SLB related interrupts 2016-09-07 12:40:10 +10:00
mmu-hash64.h Remove unused function declarations 2016-09-15 15:32:22 +03:00
mmu_helper.c ppc: Don't update NIP BookE 2.06 tlbwe 2016-09-07 12:40:10 +10:00
monitor.c ppc: Clean up includes 2016-01-29 15:07:22 +00:00
timebase_helper.c ppc: Don't update NIP in DCR access routines 2016-09-07 12:40:10 +10:00
trace-events trace-events: fix first line comment in trace-events 2016-08-12 10:36:01 +01:00
translate.c ppc: restrict the use of the rfi instruction 2016-09-23 10:29:40 +10:00
translate_init.c ppc: Don't update NIP in facility unavailable interrupts 2016-09-07 12:40:10 +10:00
user_only_helper.c ppc: Clean up includes 2016-01-29 15:07:22 +00:00