summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorPunit Salian <psalian@google.com>2026-08-25 17:54:33 +0000
committerMiklos Szeredi <mszeredi@redhat.com>2026-09-02 09:36:08 +0200
commitc1f6e67c4fe74af5e89282222c5b95dc322a7d58 (patch)
tree99495ddbf4564ca1cea1e4b9cffeccbab26dfa50 /tools/lib/python
parent1642e6b6a6ae0dcf61280e1c3110eba62582d4d2 (diff)
fuse: mark DAX VMA page protections as decrypted
In confidential computing guest environments (such as AMD SEV-SNP or Intel TDX), direct memory access (DAX) mappings between the guest kernel and host-backed FUSE/virtiofs shared memory regions must be accessed using shared (decrypted) page protections. Modify fuse_dax_mmap() to apply pgprot_decrypted() to vma->vm_page_prot when establishing FUSE DAX memory mappings. This ensures guest page table entries for shared DAX buffers are explicitly marked as decrypted, preventing memory encryption faults when accessing host-shared DAX memory. Signed-off-by: Punit Salian <psalian@google.com> Acked-by: Pankaj Gupta <pankaj.gupta@amd.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions