[PATCH v2 00/10] Move SNP initialization to the CCP driver

Tycho Andersen posted 10 patches 1 month ago
There is a newer version of this series
arch/x86/include/asm/sev.h   |   4 +
arch/x86/virt/svm/sev.c      | 161 +++++++++++++++++++----------------
drivers/crypto/ccp/sev-dev.c |  62 ++++++++------
include/linux/psp-sev.h      |   4 +-
4 files changed, 129 insertions(+), 102 deletions(-)
[PATCH v2 00/10] Move SNP initialization to the CCP driver
Posted by Tycho Andersen 1 month ago
From: "Tycho Andersen (AMD)" <tycho@kernel.org>

Here's v2 of the series. Changes are:

* squash MFDM helper into snp_x86_shutdown()
* move MFDM helper to msr_set/clear_bit()
* move SNP bit test during shutdown from ccp into snp_x86_shutdown()
* reorder so that the two code deletion patches come first
* commit message rewrites, carry Tom's reivews as appropriate

Tom Lendacky (3):
  x86/snp: Keep the RMP table bookkeeping area mapped
  x86/snp: Create a function to clear/zero the RMP
  crypto: ccp - Update HV_FIXED page states to allow freeing of memory

Tycho Andersen (AMD) (7):
  x86/snp: drop support for SNP hotplug
  x86/snp: drop WBINVD before setting SNPEn
  x86/snp: create snp_prepare_for_snp_init()
  x86/snp, crypto: move SNP init to ccp driver
  x86/snp, crypto: move HSAVE_PA setup to arch/
  x86/snp: create snp_x86_shutdown()
  crypto: ccp - implement SNP x86 shutdown

 arch/x86/include/asm/sev.h   |   4 +
 arch/x86/virt/svm/sev.c      | 161 +++++++++++++++++++----------------
 drivers/crypto/ccp/sev-dev.c |  62 ++++++++------
 include/linux/psp-sev.h      |   4 +-
 4 files changed, 129 insertions(+), 102 deletions(-)


base-commit: 59f9bfe4641c408c08824a9b52e9f7839bde57d8
-- 
2.53.0