This is a note to let you know that I've just added the patch titled riscv: Move create_tmp_mapping() to init sections to the 6.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: riscv-move-create_tmp_mapping-to-init-sections.patch and it can be found in the queue-6.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 9bdd924803787ceeb10f1ea399e91d75fb05d3a7 Mon Sep 17 00:00:00 2001 From: Alexandre Ghiti <alexghiti@xxxxxxxxxxxx> Date: Tue, 4 Jul 2023 09:43:57 +0200 Subject: riscv: Move create_tmp_mapping() to init sections From: Alexandre Ghiti <alexghiti@xxxxxxxxxxxx> commit 9bdd924803787ceeb10f1ea399e91d75fb05d3a7 upstream. This function is only used at boot time so mark it as __init. Fixes: 96f9d4daf745 ("riscv: Rework kasan population functions") Signed-off-by: Alexandre Ghiti <alexghiti@xxxxxxxxxxxx> Link: https://lore.kernel.org/r/20230704074357.233982-2-alexghiti@xxxxxxxxxxxx Cc: stable@xxxxxxxxxxxxxxx Signed-off-by: Palmer Dabbelt <palmer@xxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- arch/riscv/mm/kasan_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/riscv/mm/kasan_init.c +++ b/arch/riscv/mm/kasan_init.c @@ -438,7 +438,7 @@ static void __init kasan_shallow_populat kasan_shallow_populate_pgd(vaddr, vend); } -static void create_tmp_mapping(void) +static void __init create_tmp_mapping(void) { void *ptr; p4d_t *base_p4d; Patches currently in stable-queue which might be from alexghiti@xxxxxxxxxxxx are queue-6.4/riscv-mark-kasan-tmp-page-tables-variables-as-static.patch queue-6.4/riscv-move-create_tmp_mapping-to-init-sections.patch