diff options
author | Michael Kelley <mikelley@microsoft.com> | 2023-03-26 16:51:58 +0300 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2023-03-27 09:46:43 +0300 |
commit | d33ddc92db8a61416473ff3d7f1c621c50733dc0 (patch) | |
tree | 7f8576ed7407b86b82cfaba26e667d3bcc947b86 /lib/iov_iter.c | |
parent | 71290be18f2deeae013482bf79cd526df61fcfcd (diff) | |
download | linux-d33ddc92db8a61416473ff3d7f1c621c50733dc0.tar.xz |
Drivers: hv: Explicitly request decrypted in vmap_pfn() calls
Update vmap_pfn() calls to explicitly request that the mapping
be for decrypted access to the memory. There's no change in
functionality since the PFNs passed to vmap_pfn() are above the
shared_gpa_boundary, implicitly producing a decrypted mapping.
But explicitly requesting "decrypted" allows the code to work
before and after changes that cause vmap_pfn() to mask the
PFNs to being below the shared_gpa_boundary.
Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Tianyu Lan <Tianyu.Lan@microsoft.com>
Link: https://lore.kernel.org/r/1679838727-87310-4-git-send-email-mikelley@microsoft.com
Diffstat (limited to 'lib/iov_iter.c')
0 files changed, 0 insertions, 0 deletions