No description
Find a file
Pankaj Gupta e91451af11 mm/memremap.c: map FS_DAX device memory as decrypted
commit 867400af90 upstream.

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/20221102160728.3184016-1-pankaj.gupta@amd.com
Fixes: b7b3c01b19 ("mm/memremap_pages: support multiple ranges per invocation")
Signed-off-by: Pankaj Gupta <pankaj.gupta@amd.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-11-16 09:58:27 +01:00
arch MIPS: jump_label: Fix compat branch range check 2022-11-16 09:58:24 +01:00
block
certs
crypto
Documentation
drivers mms: sdhci-esdhc-imx: Fix SDHCI_RESET_ALL for CQHCI 2022-11-16 09:58:27 +01:00
fs udf: Fix a slab-out-of-bounds write bug in udf_find_entry() 2022-11-16 09:58:27 +01:00
include vmlinux.lds.h: Fix placement of '.data..decrypted' section 2022-11-16 09:58:26 +01:00
init
ipc
kernel
lib
LICENSES
mm mm/memremap.c: map FS_DAX device memory as decrypted 2022-11-16 09:58:27 +01:00
net mctp: Fix an error handling path in mctp_init() 2022-11-16 09:58:22 +01:00
samples
scripts
security
sound ALSA: usb-audio: Add DSD support for Accuphase DAC-60 2022-11-16 09:58:25 +01:00
tools
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.