Re: [PATCH backport pre-4.9] powerpc/slb: Force a full SLB flush when we insert for a bad EA

2017-06-27 Thread Michael Ellerman
Greg Kroah-Hartman 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

Re: [PATCH backport pre-4.9] powerpc/slb: Force a full SLB flush when we insert for a bad EA

2017-06-27 Thread Greg Kroah-Hartman
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

[PATCH backport pre-4.9] powerpc/slb: Force a full SLB flush when we insert for a bad EA

2017-06-22 Thread Michael Ellerman
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