[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a3a3a4af-296b-1ce3-31e2-1fa9097c41ec@linux.ibm.com>
Date: Tue, 31 Jan 2023 11:13:45 -0500
From: Stefan Berger <stefanb@...ux.ibm.com>
To: Andrew Donnellan <ajd@...ux.ibm.com>,
linuxppc-dev@...ts.ozlabs.org, linux-integrity@...r.kernel.org
Cc: ruscur@...sell.cc, bgray@...ux.ibm.com, nayna@...ux.ibm.com,
gcwilson@...ux.ibm.com, gjoyce@...ux.ibm.com, brking@...ux.ibm.com,
sudhakar@...ux.ibm.com, erichte@...ux.ibm.com,
gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org,
zohar@...ux.ibm.com, joel@....id.au, npiggin@...il.com
Subject: Re: [PATCH v5 16/25] powerpc/pseries: Expose PLPKS config values,
support additional fields
On 1/31/23 01:39, Andrew Donnellan wrote:
> From: Nayna Jain <nayna@...ux.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@...ux.ibm.com>
> [ajd: split patch, extend to support additional v3 API fields, minor fixes]
> Co-developed-by: Andrew Donnellan <ajd@...ux.ibm.com>
> Signed-off-by: Andrew Donnellan <ajd@...ux.ibm.com>
> Signed-off-by: Russell Currey <ruscur@...sell.cc>
Reviewed-by: Stefan Berger <stefanb@...ux.ibm.com>
Powered by blists - more mailing lists