[Skiboot] ibm,processor-storage-keys property

Ram Pai linuxram at us.ibm.com
Wed Jul 19 13:28:23 AEST 2017


On Tue, Jul 18, 2017 at 08:14:09PM -0700, Haren Myneni wrote:
> On 07/18/2017 06:25 PM, Ram Pai wrote:
> > Can we have  ibm,processor-storage-keys  property exported through the
> > device tree?  I know skiboot does not adhere to PAPR requirements. But
> > without it, the kernel will have to make assumptions based on the
> > processor; which might turn out to be wrong.
> > 
> > Currently the kernel is planning on blindly enabling pkey on powernv,
> > assuming the processor has no way of *not* supporting
> > it. But who knows; sometime in the future that assumptions may not hold
> > good.
> > 
> > 
> > Just a request.
> > Thanks,
> > 
> 
> pHyp will not be exporting this property. Will you have separate implementation for powerVM? 

phyp does export this property. KVM also exports this property, I think,
     have to verify though.

> 
> Can we say from P8 onwards using CPU_FTR? 

yes. can be based on CPU_FTR on powernv. But even better would be --
support through device-tree exported by skiboot.

RP



More information about the Skiboot mailing list