Re: [V2] powerpc/cxl: Use REGION_ID instead of opencoding

2016-04-28 Thread Michael Ellerman
On Wed, 2016-20-04 at 07:59:47 UTC, "Aneesh Kumar K.V" wrote: > Also the wrong `~` operation resulted in wrong access check as explained > below. > ... > Reviewed-by: Andrew Donnellan > Acked-by: Ian Munsie > Signed-off-by: Aneesh Kumar K.V Applied to powerpc next, thanks. https://git.kernel.o

[PATCH V2] powerpc/cxl: Use REGION_ID instead of opencoding

2016-04-20 Thread Aneesh Kumar K.V
Also the wrong `~` operation resulted in wrong access check as explained below. The current code will set _PAGE_USER to the access flags for any fault address because ~ operation will be true for all address we take a fault on. But setting _PAGE_USER also means that the fault will be handled only