summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorKameron Carr <kameroncarr@linux.microsoft.com>2026-10-30 17:14:10 -0700
committerWei Liu <wei.liu@kernel.org>2026-11-02 17:56:36 -0800
commit90cec8207459181881528d12f13cb9f10d54eb63 (patch)
tree5270fb2429977a203bcc595316b41c0f01b7102d /scripts/Makefile.thinlto
parent937e8511143c492d0e85ee086b398b93c848e57c (diff)
downloadlinux-next-90cec8207459181881528d12f13cb9f10d54eb63.tar.gz
linux-next-90cec8207459181881528d12f13cb9f10d54eb63.zip
Drivers: hv: Mark shared memory as decrypted for CCA Realms
In hv_common_cpu_init(), the per-CPU hypercall input/output pages need to be marked as decrypted (shared) for confidential VM isolation types. This is already done for SNP and TDX isolation; extend the same handling to Arm CCA Realm guests so that the host hypervisor can access the shared hypercall buffers. is_realm_world() is declared in include/linux/arm-rsi-cmds.h which only builds on arm64 (it includes <asm/memory.h>), so using it directly in the arch-neutral drivers/hv/hv_common.c would break the x86 build. Introduce a Hyper-V-specific helper following the established hv_isolation_type_snp() / hv_isolation_type_tdx() pattern. On architectures other than arm64 the weak default keeps the existing behaviour. Reviewed-by: Michael Kelley <mhklinux@outlook.com> Signed-off-by: Kameron Carr <kameroncarr@linux.microsoft.com> Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions