Re: [PATCH 3/4] powerpc/pseries: Expose PLPKS config values, support additional fields

2023-01-03 Thread Andrew Donnellan
On Wed, 2023-01-04 at 14:57 +1100, Russell Currey wrote: > > +   maxobjlabelsize = be16_to_cpu(config->maxobjlabelsize) - > > + MAX_LABEL_ATTR_SIZE; > > +   maxobjlabelsize = maxobjlabelsize < 0 ? 0 : > > maxobjlabelsize; > > Isn't a bit of precision lost here?  The

Re: [PATCH 3/4] powerpc/pseries: Expose PLPKS config values, support additional fields

2023-01-03 Thread Russell Currey
On Tue, 2022-12-20 at 18:16 +1100, Andrew Donnellan wrote: > From: Nayna Jain > > The plpks driver uses the H_PKS_GET_CONFIG hcall to retrieve > configuration > and status information about the PKS from the hypervisor. > > Update _plpks_get_config() to handle some additional fields. Add > getter

[PATCH 3/4] powerpc/pseries: Expose PLPKS config values, support additional fields

2022-12-19 Thread Andrew Donnellan
From: Nayna Jain The plpks driver uses the H_PKS_GET_CONFIG hcall to retrieve configuration and status information about the PKS from the hypervisor. Update _plpks_get_config() to handle some additional fields. Add getter functions to allow the PKS configuration information to be accessed from o