[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4d19936f-fc8a-8e86-95b2-67a4ab2e2b7f@intel.com>
Date: Tue, 1 Feb 2022 07:22:58 -0800
From: Dave Hansen <dave.hansen@...el.com>
To: Nayna Jain <nayna@...ux.ibm.com>, linuxppc-dev@...ts.ozlabs.org
Cc: linux-kernel@...r.kernel.org,
Douglas Miller <dougmill@...ux.vnet.ibm.com>,
Greg KH <gregkh@...uxfoundation.org>,
George Wilson <gcwilson@...ux.ibm.com>, gjoyce@....com,
Daniel Axtens <dja@...ens.net>,
"Weiny, Ira" <ira.weiny@...el.com>, Ram Pai <linuxram@...ibm.com>
Subject: Re: [RFC PATCH 0/2] powerpc/pseries: add support for local secure
storage called Platform Keystore(PKS)
On 1/21/22 16:56, Nayna Jain wrote:
> Nayna Jain (2):
> pseries: define driver for Platform Keystore
> pseries: define sysfs interface to expose PKS variables
Hi Folks,
There another feature that we might want to consider in the naming here:
> https://lore.kernel.org/all/20220127175505.851391-1-ira.weiny@intel.com/
Protection Keys for Supervisor pages is also called PKS. It's also not
entirely impossible that powerpc might want to start using this code at
some point, just like what happened with the userspace protection keys[1].
I don't think it's the end of the world either way, but it might save a
hapless user or kernel developer some confusion if we can avoid
including two "PKS" features in the kernel. I just wanted to make sure
we were aware of the other's existence. :)
1.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/powerpc/include/asm/pkeys.h
Powered by blists - more mailing lists