[PATCH v1 0/4] Fix some bugs in the CCP driver
From: Tycho Andersen
Date: Wed Apr 08 2026 - 10:39:32 EST
From: "Tycho Andersen (AMD)" <tycho@xxxxxxxxxx>
This set of fixes came out of using various AI tools on the SNP shutdown
series:
https://lore.kernel.org/all/20260326161110.1764303-1-tycho@xxxxxxxxxx/
I'm not quite sure how to cite these tools yet, checkpatch complained a
bit about my citations here. Happy to respin if there's a better way. It
looks like e.g. Assisted-by in the process of being added:
https://lore.kernel.org/all/20260302143659.41882-1-thomas.hellstrom@xxxxxxxxxxxxxxx/
Thanks,
Tycho
Tycho Andersen (AMD) (4):
crypto/ccp: Reverse the cleanup order in psp_dev_destroy()
crypto/ccp: Fix snp_filter_reserved_mem_regions() off-by-one
crypto/ccp: Check for page allocation failure correctly in TIO
crypto/ccp: Initialize data during __sev_snp_init_locked()
drivers/crypto/ccp/psp-dev.c | 8 ++++----
drivers/crypto/ccp/sev-dev.c | 23 +++++++++++++----------
2 files changed, 17 insertions(+), 14 deletions(-)
base-commit: 6c927e5ca9d238f8ae40b453a8382eb9cf4ee855
--
2.53.0