lkml.org 
[lkml]   [2023]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v5 16/25] powerpc/pseries: Expose PLPKS config values, support additional fields
From


On 1/31/23 01:39, Andrew Donnellan wrote:
> From: Nayna Jain <nayna@linux.ibm.com>
>
> 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
> other files. Validate that the values we're getting comply with the spec.
>
> While we're here, move the config struct in _plpks_get_config() off the
> stack - it's getting large and we also need to make sure it doesn't cross
> a page boundary.
>
> Signed-off-by: Nayna Jain <nayna@linux.ibm.com>
> [ajd: split patch, extend to support additional v3 API fields, minor fixes]
> Co-developed-by: Andrew Donnellan <ajd@linux.ibm.com>
> Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
> Signed-off-by: Russell Currey <ruscur@russell.cc>

Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>

\
 
 \ /
  Last update: 2023-03-27 00:03    [W:0.329 / U:5.840 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site