]> git.karo-electronics.de Git - linux-beck.git/commit
powerpc/booke64: Use SPRG_TLB_EXFRAME on bolted handlers
authorScott Wood <scottwood@freescale.com>
Mon, 10 Mar 2014 22:29:38 +0000 (17:29 -0500)
committerScott Wood <scottwood@freescale.com>
Thu, 20 Mar 2014 00:57:15 +0000 (19:57 -0500)
commita3dc620743f44cd509a1ab7b01c33d26fb501c8c
treebee3b37742185aa7c43f50fefa7c59928e937a03
parent9d378dfac885f72b8b369d08fc61bef36e2f2dd1
powerpc/booke64: Use SPRG_TLB_EXFRAME on bolted handlers

While bolted handlers (including e6500) do not need to deal with a TLB
miss recursively causing another TLB miss, nested TLB misses can still
happen with crit/mc/debug exceptions -- so we still need to honor
SPRG_TLB_EXFRAME.

We don't need to spend time modifying it in the TLB miss fastpath,
though -- the special level exception will handle that.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Cc: Mihai Caraman <mihai.caraman@freescale.com>
Cc: kvm-ppc@vger.kernel.org
arch/powerpc/include/asm/exception-64e.h
arch/powerpc/include/asm/kvm_booke_hv_asm.h
arch/powerpc/kvm/bookehv_interrupts.S
arch/powerpc/mm/tlb_low_64e.S