mm/memremap: Pass down MEMREMAP_* flags to arch_memremap_wb()
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Mon, 17 Feb 2025 16:38:20 +0000 (18:38 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 21 Feb 2025 14:05:38 +0000 (15:05 +0100)
commita9ebcb88136ca80cb53de27ca5ae77de18bbe368
treebbb27ea8d296052a26345de44cad89c06b02ecee
parentaffe678f355738db56361d124757c38c09401341
mm/memremap: Pass down MEMREMAP_* flags to arch_memremap_wb()

x86 version of arch_memremap_wb() needs the flags to decide if the mapping
has to be encrypted or decrypted.

Pass down the flag to arch_memremap_wb(). All current implementations
ignore the argument.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: linux-mm@kvack.org
Link: https://lore.kernel.org/r/20250217163822.343400-2-kirill.shutemov@linux.intel.com
arch/arm/include/asm/io.h
arch/arm/mm/ioremap.c
arch/arm/mm/nommu.c
arch/riscv/include/asm/io.h
kernel/iomem.c