Re: [PATCH] powerpc/8xx: Fix clearing of bits 20-23 in ITLB miss
From: Michael Ellerman
Date: Wed Feb 19 2020 - 07:40:02 EST
On Sun, 2020-02-09 at 18:14:42 UTC, Christophe Leroy wrote:
> In ITLB miss handled the line supposed to clear bits 20-23 on the
> L2 ITLB entry is buggy and does indeed nothing, leading to undefined
> value which could allow execution when it shouldn't.
> Properly do the clearing with the relevant instruction.
> Fixes: 74fabcadfd43 ("powerpc/8xx: don't use r12/SPRN_SPRG_SCRATCH2 in TLB Miss handlers")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Christophe Leroy <christophe.leroy@xxxxxx>
Applied to powerpc fixes, thanks.