diff options
| author | Tycho Andersen (AMD) <tycho@kernel.org> | 2026-01-05 10:22:18 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-02-26 14:59:04 -0800 |
| commit | 46825599fad19684091ea630080b259eede510ee (patch) | |
| tree | 21e03ebdb00c60c006ee7ec1741def1043031714 /include/linux | |
| parent | e6a4b3d22221183a173e88e3df07c756e83140e4 (diff) | |
crypto: ccp - narrow scope of snp_range_list
[ Upstream commit dc8ccab15081efc4f2c5a9fc7b209cd641d29177 ]
snp_range_list is only used in __sev_snp_init_locked() in the SNP_INIT_EX
case, move the declaration there and add a __free() cleanup helper for it
instead of waiting until shutdown.
Fixes: 1ca5614b84ee ("crypto: ccp: Add support to initialize the AMD-SP for SEV-SNP")
Reviewed-by: Alexey Kardashevskiy <aik@amd.com>
Signed-off-by: Tycho Andersen (AMD) <tycho@kernel.org>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
