Re: [PATCH v5 15/26] powerpc/book3s64/pkeys: Use execute_pkey_disable static key

2020-07-06 Thread Aneesh Kumar K.V
On 7/6/20 12:50 PM, Michael Ellerman wrote: "Aneesh Kumar K.V" writes: Use execute_pkey_disabled static key to check for execute key support instead of pkey_disabled. Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/include/asm/pkeys.h | 10 +- arch/powerpc/mm/book3s64/pkeys.c |

Re: [PATCH v5 15/26] powerpc/book3s64/pkeys: Use execute_pkey_disable static key

2020-07-06 Thread Michael Ellerman
"Aneesh Kumar K.V" writes: > Use execute_pkey_disabled static key to check for execute key support instead > of pkey_disabled. > > Signed-off-by: Aneesh Kumar K.V > --- > arch/powerpc/include/asm/pkeys.h | 10 +- > arch/powerpc/mm/book3s64/pkeys.c | 5 - > 2 files changed, 5

[PATCH v5 15/26] powerpc/book3s64/pkeys: Use execute_pkey_disable static key

2020-06-19 Thread Aneesh Kumar K.V
Use execute_pkey_disabled static key to check for execute key support instead of pkey_disabled. Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/include/asm/pkeys.h | 10 +- arch/powerpc/mm/book3s64/pkeys.c | 5 - 2 files changed, 5 insertions(+), 10 deletions(-) diff --git