Re: [PATCH 06/10] powerpc/booke64: Use SPRG_TLB_EXFRAME on bolted handlers

2014-03-14 Thread Scott Wood
On Thu, 2014-03-13 at 19:00 -0500, Scott Wood wrote: > @@ -444,6 +451,9 @@ _GLOBAL(kvmppc_resume_host) > PPC_STD(r8, VCPU_SHARED_SPRG6, r11) > mfxer r3 > PPC_STD(r9, VCPU_SHARED_SPRG7, r11) > +#ifdef CONFIG_64BIT > + mtspr SPRN_SPRG_VDSO_WRITE, r3 > +#endif Oops, this hun

[PATCH 06/10] powerpc/booke64: Use SPRG_TLB_EXFRAME on bolted handlers

2014-03-13 Thread Scott Wood
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, thoug