Re: powerpc/mm/hash: hard disable irq in the SLB insert path

2018-06-04 Thread Michael Ellerman
On Fri, 2018-06-01 at 08:24:02 UTC, "Aneesh Kumar K.V" wrote: > When inserting SLB entries for EA above 512TB, we need to hard disable irq. > This will make sure we don't take a PMU interrupt that can possibly touch > user space address via a stack dump. To prevent this, we need to hard disable >

[PATCH] powerpc/mm/hash: hard disable irq in the SLB insert path

2018-06-01 Thread Aneesh Kumar K.V
When inserting SLB entries for EA above 512TB, we need to hard disable irq. This will make sure we don't take a PMU interrupt that can possibly touch user space address via a stack dump. To prevent this, we need to hard disable the interrupt. Also add a comment explaining why we don't need