ppc: Use split I/D mmu modes to avoid flushes on interrupts
We rework the way the MMU indices are calculated, providing separate indices for I and D side based on MSR:IR and MSR:DR respectively, and thus no longer need to flush the TLB on context changes. This also adds correct support for HV as a separate address space. Signed-off-by:Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by:
David Gibson <david@gibson.dropbear.id.au>
Showing
- target-ppc/cpu.h 8 additions, 3 deletionstarget-ppc/cpu.h
- target-ppc/excp_helper.c 0 additions, 11 deletionstarget-ppc/excp_helper.c
- target-ppc/helper_regs.h 47 additions, 7 deletionstarget-ppc/helper_regs.h
- target-ppc/machine.c 4 additions, 1 deletiontarget-ppc/machine.c
- target-ppc/translate.c 4 additions, 3 deletionstarget-ppc/translate.c
Loading
Please register or sign in to comment