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