diff options
author | Tianyu Lan <[email protected]> | 2021-12-13 02:14:03 -0500 |
---|---|---|
committer | Wei Liu <[email protected]> | 2021-12-20 18:01:09 +0000 |
commit | c789b90a69045d1924bc0802ae0dce2bba05a04e (patch) | |
tree | 9b6967e2a8347a4caa07c7d3d712b59e06e88b29 /net/lapb/lapb_in.c | |
parent | 1a5e91d8375fc8369207cc0b9894a324f2bbf1d9 (diff) |
x86/hyper-v: Add hyperv Isolation VM check in the cc_platform_has()
Hyper-V provides Isolation VM for confidential computing support and
guest memory is encrypted in it. Places checking cc_platform_has()
with GUEST_MEM_ENCRYPT attr should return "True" in Isolation VM.
Hyper-V Isolation VMs need to adjust the SWIOTLB size just like SEV
guests. Add a hyperv_cc_platform_has() variant which enables that.
Signed-off-by: Tianyu Lan <[email protected]>
Acked-by: Borislav Petkov <[email protected]>
Reviewed-by: Michael Kelley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions