mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-27 22:13:55 -04:00
Virtual addresses used with the AES-GCM library don't have to be in the linear mapping. Remove the virt_addr_valid() checks from snp_send_guest_request(), which were a workaround left over from when this code used crypto_aead, which required scatterlists. Link: https://lore.kernel.org/all/20251010151036.42241-2-ardb+git@google.com/ Reviewed-by: Alexey Kardashevskiy <aik@amd.com> Tested-by: Alexey Kardashevskiy <aik@amd.com> Tested-by: Nikunj A Dadhania <nikunj@amd.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Link: https://patch.msgid.link/20260722025338.33354-3-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>