[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220311005742.1060992-1-ira.weiny@intel.com>
Date: Thu, 10 Mar 2022 16:57:37 -0800
From: ira.weiny@...el.com
To: Dave Hansen <dave.hansen@...ux.intel.com>,
"Aneesh Kumar K.V" <aneesh.kumar@...ux.ibm.com>
Cc: Ira Weiny <ira.weiny@...el.com>,
"Edgecombe, Rick P" <rick.p.edgecombe@...el.com>,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/5] Pkey User clean up patches
From: Ira Weiny <ira.weiny@...el.com>
I'm looking for acks that this is acceptable for official submission to the
maintainers. I believe the code to be better than RFC quality but I realize
that the type changes may be more churn than is desired.
The following patches contain pkey cleanups and an attempt to standardize on
the type used for pkeys.
The PKS code is standardizing on u8 for the pkey type and for some of the call
paths in the user space code this should work as well.
Ira Weiny (5):
x86/pkeys: Clean up arch_set_user_pkey_access() declaration
x86/pkeys: Remove __arch_set_user_pkey_access() declaration
powerpc/pkeys: Properly type pkey in init_{i}amr()
mm/pkeys: Make pkey unsigned in arch_set_user_pkey_access()
x86/pkeys: Standardize on u8 for pkey type
arch/powerpc/include/asm/pkeys.h | 4 ++--
arch/powerpc/mm/book3s64/pkeys.c | 6 +++---
arch/x86/include/asm/pgtable.h | 4 ++--
arch/x86/include/asm/pkeys.h | 12 ++----------
arch/x86/include/asm/pkru.h | 4 ++--
arch/x86/kernel/fpu/xstate.c | 2 +-
include/linux/pkeys.h | 2 +-
7 files changed, 13 insertions(+), 21 deletions(-)
--
2.35.1
Powered by blists - more mailing lists