mirror of
https://github.com/torvalds/linux.git
synced 2026-10-03 17:59:02 +02:00
pKVM does support memory encryption, expose that to the rest of the kernel through cc_platform_has() At the moment, all devices inside the guest are emulated which requires its memory to be shared back to the host (decrypted), so set force_dma_unencrypted() to always return true. Although, typically pKVM guests rely on restricted-dma-pools to bounce traffic, with this change, it is possible to solely rely on the default SWIOTLB for that (assuming the appropriate size is set from the command line) Signed-off-by: Mostafa Saleh <smostafa@google.com> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Tested-by: Aneesh Kumar K.V (Arm) <aneesh.kumar@kernel.org> Signed-off-by: Will Deacon <will@kernel.org> |
||
|---|---|---|
| .. | ||
| arm-cca-guest | ||
| efi_secret | ||
| guest | ||
| pkvm-guest | ||
| sev-guest | ||
| tdx-guest | ||
| tdx-host | ||
| Kconfig | ||
| Makefile | ||
| tsm-core.c | ||