mm-memremapc-map-fs_dax-device-memory-as-decrypted.patch removed from -mm tree
The quilt patch titled
Subject: mm/memremap.c: map FS_DAX device memory as decrypted
has been removed from the -mm tree. Its filename was
mm-memremapc-map-fs_dax-device-memory-as-decrypted.patch
This patch was dropped because it was merged into the mm-hotfixes-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Pankaj Gupta <[email protected]>
Subject: mm/memremap.c: map FS_DAX device memory as decrypted
Date: Wed, 2 Nov 2022 11:07:28 -0500
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.
---
mm/memremap.c | 1 + 1 file changed, 1 insertion(+)
mm/memremap.c renamed from mm/memremap.c~mm-memremapc-map-fs_dax-device-memory-as-decrypted +1 -0
@@ -335,6 +335,7 @@ void *memremap_pages(struct dev_pagemapWARN (1 ,"File system DAX not supported\n" );return ERR_PTR (-EINVAL ); } + params.pgprot =pgprot_decrypted (params.pgprot);break ;case MEMORY_DEVICE_GENERIC :break ;
_
Patches currently in -mm which might be from [email protected] are