qemu-patch-raspberry4/target-ppc
Thomas Huth eac4fba965 ppc: Improve PCR bit selection in ppc_set_compat()
When using an olderr PowerISA level, all the upper compatibility
bits have to be enabled, too. For example when we want to run
something in PowerISA 2.05 compatibility mode on POWER8, the bit
for 2.06 has to be set beside the bit for 2.05.
Additionally, to make sure that we do not set bits that are not
supported by the host, we apply a mask with the known-to-be-good
bits here, too.

Signed-off-by: Thomas Huth <thuth@redhat.com>
[dwg: Added some #ifs to fix compile on 32-bit targets]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2016-06-14 10:41:38 +10:00
..
arch_dump.c ppc: Clean up includes 2016-01-29 15:07:22 +00:00
cpu-models.c target-ppc: Add PVR for POWER8NVL processor 2016-03-16 09:55:05 +11:00
cpu-models.h target-ppc: Add PVR for POWER8NVL processor 2016-03-16 09:55:05 +11:00
cpu-qom.h ppc: Split pcr_mask settings into supported bits and the register mask 2016-06-14 10:41:38 +10:00
cpu.h ppc: Improve PCR bit selection in ppc_set_compat() 2016-06-14 10:41:38 +10:00
dfp_helper.c ppc: Clean up includes 2016-01-29 15:07:22 +00:00
excp_helper.c ppc: Fix hreg_store_msr() so that non-HV mode cannot alter MSR:HV 2016-06-07 10:17:45 +10:00
fpu_helper.c target-ppc/fpu_helper: Fix efscmp* instructions handling 2016-06-07 10:17:44 +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: Add missing slbfee. instruction on ppc64 BookS processors 2016-06-07 13:10:45 +10:00
helper_regs.h ppc: Batch TLB flushes on 32-bit 6xx/7xx/7xxx in hash mode 2016-06-07 13:10:44 +10:00
int_helper.c cpu: move exec-all.h inclusion out of cpu.h 2016-05-19 16:42:29 +02: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: Provide function to get CPU class of the host CPU 2016-06-14 10:41:38 +10:00
kvm_ppc.h ppc: Provide function to get CPU class of the host CPU 2016-06-14 10:41:38 +10:00
machine.c ppc: Use split I/D mmu modes to avoid flushes on interrupts 2016-05-30 13:20:04 +10:00
Makefile.objs kvm_ppc: remove kvmppc_timer_hack 2015-09-20 22:48:38 +02:00
mem_helper.c cpu: move exec-all.h inclusion out of cpu.h 2016-05-19 16:42:29 +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 ppc: Clean up includes 2016-01-29 15:07:22 +00:00
misc_helper.c cpu: move exec-all.h inclusion out of cpu.h 2016-05-19 16:42:29 +02: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 target-ppc: do not use target_ulong in cpu-qom.h 2016-05-19 13:08:05 +02:00
mmu-hash64.c ppc: Add missing slbfee. instruction on ppc64 BookS processors 2016-06-07 13:10:45 +10:00
mmu-hash64.h target-ppc: do not use target_ulong in cpu-qom.h 2016-05-19 13:08:05 +02:00
mmu_helper.c ppc: Batch TLB flushes on 32-bit 6xx/7xx/7xxx in hash mode 2016-06-07 13:10:44 +10:00
monitor.c ppc: Clean up includes 2016-01-29 15:07:22 +00:00
STATUS target-ppc: remove powerpc 970gx 2014-03-05 03:06:23 +01:00
timebase_helper.c cpu: move exec-all.h inclusion out of cpu.h 2016-05-19 16:42:29 +02:00
translate.c ppc: Do not take exceptions on unknown SPRs in privileged mode 2016-06-07 13:10:45 +10:00
translate_init.c ppc: Improve PCR bit selection in ppc_set_compat() 2016-06-14 10:41:38 +10:00
user_only_helper.c ppc: Clean up includes 2016-01-29 15:07:22 +00:00