mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] Improve error handling during INIT_EX file initialization
@ 2022-08-02 18:55 Jacky Li
  2022-08-02 18:55 ` [PATCH 1/2] crypto: ccp - Initialize PSP when reading psp data file failed Jacky Li
  2022-08-02 18:55 ` [PATCH 2/2] crypto: ccp - Fail the PSP initialization when writing " Jacky Li
  0 siblings, 2 replies; 8+ messages in thread
From: Jacky Li @ 2022-08-02 18:55 UTC (permalink / raw)
  To: Brijesh Singh, Tom Lendacky, John Allen
  Cc: Herbert Xu, David S. Miller, Marc Orr, Alper Gun, Peter Gonda,
	linux-crypto, linux-kernel, Jacky Li

Currently the PSP initialization fails when the INIT_EX file is missing
or invalid, while the initialization continues when the OS fails to
write the INIT_EX file. This series handles both cases in a more robust
way by resolving the file read error as well as throwing the write error
to the caller.

Jacky Li (2):
  crypto: ccp - Initialize PSP when reading psp data file failed
  crypto: ccp - Fail the PSP initialization when writing psp data file
    failed

 .../virt/kvm/x86/amd-memory-encryption.rst    |  5 +-
 drivers/crypto/ccp/sev-dev.c                  | 52 ++++++++++++-------
 2 files changed, 35 insertions(+), 22 deletions(-)

-- 
2.37.1.455.g008518b4e5-goog


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-08-16 19:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-02 18:55 [PATCH 0/2] Improve error handling during INIT_EX file initialization Jacky Li
2022-08-02 18:55 ` [PATCH 1/2] crypto: ccp - Initialize PSP when reading psp data file failed Jacky Li
2022-08-10 20:28   ` Tom Lendacky
2022-08-16 19:31     ` Jacky Li
2022-08-02 18:55 ` [PATCH 2/2] crypto: ccp - Fail the PSP initialization when writing " Jacky Li
2022-08-03  2:19   ` kernel test robot
2022-08-10 20:37   ` Tom Lendacky
2022-08-16 19:30     ` Jacky Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®