]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: ccp - Add support for getting security attributes on some older systems
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 28 May 2024 21:07:11 +0000 (16:07 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 7 Jun 2024 11:46:39 +0000 (19:46 +0800)
commit82f9327f774c6e040ba63a887a85fa2e290a233a
tree125a995ade0ee9f68b864e668ed8f4a51bcad838
parentb4100947a8014e1876872546398275968f77e1ad
crypto: ccp - Add support for getting security attributes on some older systems

Older systems will not populate the security attributes in the
capabilities register. The PSP on these systems, however, does have a
command to get the security attributes. Use this command during ccp
startup to populate the attributes if they're missing.

Closes: https://github.com/fwupd/fwupd/issues/5284
Closes: https://github.com/fwupd/fwupd/issues/5675
Closes: https://github.com/fwupd/fwupd/issues/6253
Closes: https://github.com/fwupd/fwupd/issues/7280
Closes: https://github.com/fwupd/fwupd/issues/6323
Closes: https://github.com/fwupd/fwupd/discussions/5433
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/hsti.c
drivers/crypto/ccp/hsti.h
drivers/crypto/ccp/psp-dev.c
drivers/crypto/ccp/psp-dev.h
drivers/crypto/ccp/sp-dev.h
drivers/crypto/ccp/sp-pci.c
include/linux/psp-platform-access.h