Move SNP initialization to the CCP driver
Status from this message: The following commit has been merged into the x86/sev branch of tip:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 10 patches | 1 reply | Applied | |
| v1 | 11 patches | 12 replies | Superseded |
Patches in v5 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | x86/sev: Create a function to clear/zero the RMParch/ | +27 | 0 replies | |
| 2/7 | x86/sev: Create snp_prepare()arch/ arch/ | +32 | 0 replies | |
| 3/7 | x86/sev: Create snp_shutdown()arch/ arch/ | +21 | 0 replies | |
| 4/7 | x86/sev, crypto/ccp: Move SNP init to ccp driverarch/ drivers/ | +2 | 0 replies | |
| 5/7 | x86/sev, crypto/ccp: Move HSAVE_PA setup to arch/x86/arch/ drivers/ | +7 | 0 replies | |
| 6/7 | crypto/ccp: Implement SNP x86 shutdowndrivers/ include/ | +28 | 0 replies | |
| 7/7 | crypto/ccp: Update HV_FIXED page states to allow freeing of memorydrivers/ | +10 | 0 replies |
Reviews trailers per patch
6 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Tom Lendacky | Herbert Xu |
|---|---|---|
| 1/7 | ||
| 2/7 | R-b | |
| 3/7 | R-b | |
| 4/7 | R-b | |
| 5/7 | R-b | |
| 6/7 | R-b | A-b |
| 7/7 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/7] Move SNP initialization to the CCP driver
From: "Tycho Andersen (AMD)" <[email protected]>
The sole change is to add a cpus_read_lock/unlock() to snp_prepare().
v4 is here: https://lore.kernel.org/all/[email protected]/
Thanks,
Tycho
Tom Lendacky (2):
x86/sev: Create a function to clear/zero the RMP crypto/ccp: Update HV_FIXED page states to allow freeing of memory
Tycho Andersen (AMD) (5):
x86/sev: Create snp_prepare()
x86/sev: Create snp_shutdown()
x86/sev, crypto/ccp: Move SNP init to ccp driver x86/sev, crypto/ccp: Move HSAVE_PA setup to arch/x86/ crypto/ccp: Implement SNP x86 shutdown
arch/x86/include/asm/sev.h | 4 ++ arch/x86/virt/svm/sev.c | 113 ++++++++++++++++++++++++----------- drivers/crypto/ccp/sev-dev.c | 62 ++++++++++--------- include/linux/psp-sev.h | 5 +- 4 files changed, 122 insertions(+), 62 deletions(-)
base-commit: 2ca26dad836fb4cd18694ef85af7a71d2878b239
Signature · 1 line
2.53.0