Skip to content

SEV re-initialization fixes

Tycho Andersen linux-crypto lkml stable 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesIn review
  2. v14 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4crypto/ccp: Do not initialize SNP for SEV ioctlsdrivers/crypto/ccp/sev-dev.c+2 -50 replies
2/4crypto/ccp: Do not initialize SNP for ioctl(SNP_COMMIT)drivers/crypto/ccp/sev-dev.c+1 -120 replies
3/4crypto/ccp: Do not initialize SNP for ioctl(SNP_VLEK_LOAD)drivers/crypto/ccp/sev-dev.c+4 -131 reply
4/4crypto/ccp: Do not initialize SNP for ioctl(SNP_CONFIG)drivers/crypto/ccp/sev-dev.c+4 -291 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchTom Lendacky
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] SEV re-initialization fixes

From: "Tycho Andersen (AMD)" <[email protected]>

Here is a v2 of the HSAVE_PA clearing fixes. Changes are:

* return ENODEV instead EINVAL for the re-init cases
* note ABI breakage in patch 3's commit log
* CC stable on all the patches

v1 is here: https://lore.kernel.org/all/[email protected]/

Thanks,

Tycho

Tycho Andersen (AMD) (4):
crypto/ccp: Do not initialize SNP for SEV ioctls crypto/ccp: Do not initialize SNP for ioctl(SNP_COMMIT) crypto/ccp: Do not initialize SNP for ioctl(SNP_VLEK_LOAD) crypto/ccp: Do not initialize SNP for ioctl(SNP_CONFIG)

 drivers/crypto/ccp/sev-dev.c | 70 ++++++------------------------------
 1 file changed, 11 insertions(+), 59 deletions(-)

base-commit: 7fd2df204f342fc17d1a0bfcd474b24232fb0f32

Signature · 1 line
2.54.0