Patch "riscv: Remove SHADOW_OVERFLOW_STACK_SIZE macro" has been added to the 6.6-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    riscv: Remove SHADOW_OVERFLOW_STACK_SIZE macro

to the 6.6-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-remove-shadow_overflow_stack_size-macro.patch
and it can be found in the queue-6.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit dbc0754ddc7b1e7d93617ad95d947aa90eeb78bc
Author: Song Shuai <songshuaishuai@xxxxxxxxxxx>
Date:   Mon Dec 11 19:03:31 2023 +0800

    riscv: Remove SHADOW_OVERFLOW_STACK_SIZE macro
    
    [ Upstream commit a7565f4d068b2e60f95c3223c3167c40b8fe83ae ]
    
    The commit be97d0db5f44 ("riscv: VMAP_STACK overflow
    detection thread-safe") got rid of `shadow_stack`,
    so SHADOW_OVERFLOW_STACK_SIZE should be removed too.
    
    Fixes: be97d0db5f44 ("riscv: VMAP_STACK overflow detection thread-safe")
    Signed-off-by: Song Shuai <songshuaishuai@xxxxxxxxxxx>
    Reviewed-by: Sami Tolvanen <samitolvanen@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20231211110331.359534-1-songshuaishuai@xxxxxxxxxxx
    Signed-off-by: Palmer Dabbelt <palmer@xxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/riscv/include/asm/thread_info.h b/arch/riscv/include/asm/thread_info.h
index 4fb84c2e94c65..8c72d1bcdf141 100644
--- a/arch/riscv/include/asm/thread_info.h
+++ b/arch/riscv/include/asm/thread_info.h
@@ -33,7 +33,6 @@
 
 #define THREAD_SHIFT            (PAGE_SHIFT + THREAD_SIZE_ORDER)
 #define OVERFLOW_STACK_SIZE     SZ_4K
-#define SHADOW_OVERFLOW_STACK_SIZE (1024)
 
 #define IRQ_STACK_SIZE		THREAD_SIZE
 




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux