Re: [PATCH] powerpc/mm: Prevent unlikely crash in copro_calculate_slb()

2016-10-13 Thread Michael Ellerman
Frederic Barrat writes: > Le 13/10/2016 à 12:51, Michael Ellerman a écrit : >> Frederic Barrat writes: >> >>> ping? The patch still applies cleanly on recent trees. >> >> Fell through the cracks :/ >> >> Fixes: ? > > Nothing obvious.

Re: [PATCH] powerpc/mm: Prevent unlikely crash in copro_calculate_slb()

2016-10-13 Thread Frederic Barrat
Le 13/10/2016 à 12:51, Michael Ellerman a écrit : Frederic Barrat writes: ping? The patch still applies cleanly on recent trees. Fell through the cracks :/ Fixes: ? Nothing obvious. Current code was introduced by 73d16a6e0e51990cbe13f8d8f43bd5329bbab30a but

Re: [PATCH] powerpc/mm: Prevent unlikely crash in copro_calculate_slb()

2016-10-13 Thread Michael Ellerman
Frederic Barrat writes: > ping? The patch still applies cleanly on recent trees. Fell through the cracks :/ Fixes: ? cheers

Re: [PATCH] powerpc/mm: Prevent unlikely crash in copro_calculate_slb()

2016-10-12 Thread Frederic Barrat
ping? The patch still applies cleanly on recent trees. Fred Le 17/06/2016 à 18:53, Frederic Barrat a écrit : If a cxl adapter faults on an invalid address for a kernel context, we may enter copro_calculate_slb() with a NULL mm pointer (kernel context) and an effective address which looks

Re: [PATCH] powerpc/mm: Prevent unlikely crash in copro_calculate_slb()

2016-06-20 Thread Ian Munsie
Acked-by: Ian Munsie ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH] powerpc/mm: Prevent unlikely crash in copro_calculate_slb()

2016-06-17 Thread Frederic Barrat
If a cxl adapter faults on an invalid address for a kernel context, we may enter copro_calculate_slb() with a NULL mm pointer (kernel context) and an effective address which looks like a user address. Which will cause a crash when dereferencing mm. It is clearly an AFU bug, but there's no reason