[PATCH 0/2] x86/mm: Make memremap(MEMREMAP_WB) map memory as encrypted by default

Kirill A. Shutemov posted 2 patches 1 month, 1 week ago
There is a newer version of this series
arch/arm/include/asm/io.h   | 2 +-
arch/arm/mm/ioremap.c       | 2 +-
arch/arm/mm/nommu.c         | 2 +-
arch/riscv/include/asm/io.h | 2 +-
arch/x86/include/asm/io.h   | 3 +++
arch/x86/mm/ioremap.c       | 8 ++++++++
kernel/iomem.c              | 5 +++--
7 files changed, 18 insertions(+), 6 deletions(-)
[PATCH 0/2] x86/mm: Make memremap(MEMREMAP_WB) map memory as encrypted by default
Posted by Kirill A. Shutemov 1 month, 1 week ago
Make memremap(MEMREMAP_WB) produce encrypted/private mapping by default
unless MEMREMAP_DEC is specified.

It fixes crash on kexec in TDX guests if CONFIG_EISA is enabled.

Kirill A. Shutemov (2):
  memremap: Pass down MEMREMAP_* flags to arch_memremap_wb()
  x86/mm: Make memremap(MEMREMAP_WB) map memory as encrypted by default

 arch/arm/include/asm/io.h   | 2 +-
 arch/arm/mm/ioremap.c       | 2 +-
 arch/arm/mm/nommu.c         | 2 +-
 arch/riscv/include/asm/io.h | 2 +-
 arch/x86/include/asm/io.h   | 3 +++
 arch/x86/mm/ioremap.c       | 8 ++++++++
 kernel/iomem.c              | 5 +++--
 7 files changed, 18 insertions(+), 6 deletions(-)

-- 
2.45.2