qemu-patch-raspberry4/target-ppc
Mark Cave-Ayland 52d631dcc7 PPC: Fix TLB invalidation bug within the PPC interrupt handler.
Commit 41557447d3 also introduced a subtle TLB
flush bug. By applying a mask to the interrupt MSR which cleared the IR/DR
bits at the start of the interrupt handler, the logic towards the end of the
handler to force a TLB flush if either one of these bits were set would never
be triggered.

This patch simply changes the IR/DR bit check in the TLB flush logic to use
the original MSR value (albeit with some interrupt-specific bits cleared) so
that the IR/DR bits are preserved at the point where the check takes place.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2012-04-15 17:07:19 +02:00
..
cpu.h Replace Qemu by QEMU in comments 2012-04-07 14:00:45 +00:00
helper.c PPC: Fix TLB invalidation bug within the PPC interrupt handler. 2012-04-15 17:07:19 +02:00
helper.h PPC: E500: Implement msgsnd 2012-02-02 02:47:47 +01:00
helper_regs.h Replace always_inline with inline 2009-08-16 09:06:54 +00:00
kvm.c Replace Qemu by QEMU in comments 2012-04-07 14:00:45 +00:00
kvm_ppc.c Replace Qemu by QEMU in comments 2012-04-07 14:00:45 +00:00
kvm_ppc.h target-ppc: Don't overuse CPUState 2012-03-14 22:20:25 +01:00
machine.c target-ppc: Don't overuse CPUState 2012-03-14 22:20:25 +01: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 fix spelling in target sub directory 2011-12-02 10:50:57 +00:00
op_helper.c Use uintptr_t for various op related functions 2012-04-14 14:23:37 +00:00
STATUS Fix typos in comments (chek -> check) 2011-05-22 22:31:45 +01:00
translate.c PPC: KVM: Synchronize regs on CPU dump 2012-03-15 13:12:12 +01:00
translate_init.c Replace Qemu by QEMU in comments 2012-04-07 14:00:45 +00:00