[PATCH backport pre-4.9] powerpc/slb: Force a full SLB flush when we insert for a bad EA
Michael Ellerman
mpe at ellerman.id.au
Wed Jun 28 11:40:55 AEST 2017
Greg Kroah-Hartman <gregkh at linuxfoundation.org> writes:
> On Thu, Jun 22, 2017 at 04:52:51PM +1000, Michael Ellerman wrote:
>> The SLB miss handler calls slb_allocate_realmode() in order to create an
>> SLB entry for the faulting address. At the very start of that function
>> we check that the faulting Effective Address (EA) is less than
>> PGTABLE_RANGE (ignoring the region), ie. is it an address which could
>> possibly fit in the virtual address space.
...
>> ---
>> arch/powerpc/mm/slb_low.S | 10 ++++++++++
>> 1 file changed, 10 insertions(+)
>>
>> Note this patch is not upstream. The bug fix was fixed differently in
>> upstream prior to the bug being identified.
>
> Now applied to 4.4 and 3.18-stable kernels, thanks,
Thanks.
cheers
More information about the Linuxppc-dev
mailing list