On Fri, Oct 16, 2020 at 08:32:03PM -0700, Ira Weiny wrote:
On Fri, Oct 16, 2020 at 12:57:43PM +0200, Peter Zijlstra wrote:
On Fri, Oct 09, 2020 at 12:42:51PM -0700, ira.weiny@intel.com wrote:
From: Fenghua Yu fenghua.yu@intel.com
Define a helper, update_pkey_val(), which will be used to support both Protection Key User (PKU) and the new Protection Key for Supervisor (PKS) in subsequent patches.
Co-developed-by: Ira Weiny ira.weiny@intel.com Signed-off-by: Ira Weiny ira.weiny@intel.com Signed-off-by: Fenghua Yu fenghua.yu@intel.com
arch/x86/include/asm/pkeys.h | 2 ++ arch/x86/kernel/fpu/xstate.c | 22 ++++------------------ arch/x86/mm/pkeys.c | 21 +++++++++++++++++++++ 3 files changed, 27 insertions(+), 18 deletions(-)
This is not from Fenghua.
https://lkml.kernel.org/r/20200717085442.GX10769@hirez.programming.kicks-ass...
This is your patch based on the code I wrote.
Ok, I apologize. Yes the code below was all yours.
Is it ok to add?
Co-developed-by: Peter Zijlstra peterz@infradead.org Signed-off-by: Peter Zijlstra peterz@infradead.org
Sure, thanks!