diff options
author | Pankaj Gupta <[email protected]> | 2022-11-02 11:07:28 -0500 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2022-11-08 15:57:23 -0800 |
commit | 867400af90f1f953ff9e10b1b87ecaf9369a7eb8 (patch) | |
tree | 8bb709bc2ea65c6ece6ff66115b6736735c02fac /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 624a2c94f5b7a08120aaf26b3275a17463789273 (diff) |
mm/memremap.c: map FS_DAX device memory as decrypted
virtio_pmem use devm_memremap_pages() to map the device memory. By
default this memory is mapped as encrypted with SEV. Guest reboot changes
the current encryption key and guest no longer properly decrypts the FSDAX
device meta data.
Mark the corresponding device memory region for FSDAX devices (mapped with
memremap_pages) as decrypted to retain the persistent memory property.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: b7b3c01b19159 ("mm/memremap_pages: support multiple ranges per invocation")
Signed-off-by: Pankaj Gupta <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions