673b189a2e
This uses feature sections to arrange that we always use HSPRG1 as the scratch register in the interrupt entry code rather than SPRG2 when we're running in hypervisor mode on POWER7. This will ensure that we don't trash the guest's SPRG2 when we are running KVM guests. To simplify the code, we define GET_SCRATCH0() and SET_SCRATCH0() macros like the GET_PACA/SET_PACA macros. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> |
||
---|---|---|
.. | ||
44x.c | ||
44x_emulate.c | ||
44x_tlb.c | ||
44x_tlb.h | ||
book3s.c | ||
book3s_32_mmu.c | ||
book3s_32_mmu_host.c | ||
book3s_32_sr.S | ||
book3s_64_mmu.c | ||
book3s_64_mmu_host.c | ||
book3s_64_slb.S | ||
book3s_emulate.c | ||
book3s_exports.c | ||
book3s_interrupts.S | ||
book3s_mmu_hpte.c | ||
book3s_paired_singles.c | ||
book3s_rmhandlers.S | ||
book3s_segment.S | ||
booke.c | ||
booke.h | ||
booke_emulate.c | ||
booke_interrupts.S | ||
e500.c | ||
e500_emulate.c | ||
e500_tlb.c | ||
e500_tlb.h | ||
emulate.c | ||
fpu.S | ||
Kconfig | ||
Makefile | ||
powerpc.c | ||
timing.c | ||
timing.h | ||
trace.h |