diff options
| author | Mostafa Saleh <smostafa@google.com> | 2026-06-03 11:05:22 +0000 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2026-07-21 22:27:47 +0000 |
| commit | e62decaf98e7c1385c4a22c61ba8bf94d24713a5 (patch) | |
| tree | 107182e94051846df0561ca6b670a4f9d6f31e17 /tools/perf/scripts/python | |
| parent | 442d366cc1aabc699015a2e10a41bba17fe416ad (diff) | |
arm64/coco: Add pKVM as a CC platform
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
