On Tue, 2024-05-14 at 12:17 +0200, Greg Kroah-Hartman wrote: > 6.1-stable review patch. If anyone has any objections, please let me > know. > > ------------------ > > From: Nayna Jain <nayna@xxxxxxxxxxxxx> > > [ Upstream commit 899d9b8fee66da820eadc60b2a70090eb83db761 ] > > The Platform Keystore provides a signed update interface which can be > used > to create, replace or append to certain variables in the PKS in a > secure > fashion, with the hypervisor requiring that the update be signed > using the > Platform Key. > > Implement an interface to the H_PKS_SIGNED_UPDATE hcall in the plpks > driver to allow signed updates to PKS objects. > > (The plpks driver doesn't need to do any cryptography or otherwise > handle > the actual signed variable contents - that will be handled by > userspace > tooling.) > > Signed-off-by: Nayna Jain <nayna@xxxxxxxxxxxxx> > [ajd: split patch, add timeout handling and misc cleanups] > Co-developed-by: Andrew Donnellan <ajd@xxxxxxxxxxxxx> > Signed-off-by: Andrew Donnellan <ajd@xxxxxxxxxxxxx> > Signed-off-by: Russell Currey <ruscur@xxxxxxxxxx> > Reviewed-by: Stefan Berger <stefanb@xxxxxxxxxxxxx> > Signed-off-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx> > Link: > https://lore.kernel.org/r/20230210080401.345462-18-ajd@xxxxxxxxxxxxx > Stable-dep-of: 784354349d2c ("powerpc/pseries: make max polling > consistent for longer H_CALLs") > Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx> This is a new feature and I don't think it should be backported. 784354349d2c can be backported by dropping the plpks_signed_update_var() hunk. -- Andrew Donnellan OzLabs, ADL Canberra ajd@xxxxxxxxxxxxx IBM Australia Limited