[PATCH 1/2] ARC: fix incorrect THREAD_SHIFT definition

2023-05-11 Thread Min-Hua Chen
== (1 << THREAD_SHIFT) == (1 << (PAGE_SHIFT + THREAD_SIZE_ORDER)) == (1 << 14) == 16KB Signed-off-by: Min-Hua Chen --- arch/arc/include/asm/thread_info.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arc/include/asm/t

[PATCH 2/2] ARC: rename 16KSTACKS to DEBUG_STACKS

2023-05-11 Thread Min-Hua Chen
fy the Kconfig description. No functional changes intended. Signed-off-by: Min-Hua Chen --- arch/arc/Kconfig.debug | 7 --- arch/arc/include/asm/thread_info.h | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arc/Kconfig.debug b/arch/arc/Kconfig.debug

[PATCH 0/2] ARC: fix the THREAD_SHIFT definition

2023-05-11 Thread Min-Hua Chen
Hi, When I read the arch/arc code, I first found that the definition of THREAD_SHIFT looks incorrect and the description of 16KSTACKS looks confusing. I submit these 2 small patches to address the issue I found. Min-Hua Chen (2): ARC: fix incorrect THREAD_SHIFT definition ARC: rename

[RESEND PATCH 1/2] ARC: fix incorrect THREAD_SHIFT definition

2023-05-25 Thread Min-Hua Chen
THREAD_SHIFT) == (1 << (PAGE_SHIFT + THREAD_SIZE_ORDER)) == (1 << 14) == 16KB Signed-off-by: Min-Hua Chen --- arch/arc/include/asm/thread_info.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arc/include/asm/thread_info.h

[RESEND PATCH 0/2] ARC: fix THREAD_SHIFT and rename 16KSTACKS

2023-05-25 Thread Min-Hua Chen
Hi, When I read the arch/arc code, I first noticed that the definition of THREAD_SHIFT looks incorrect and the description of 16KSTACKS looks confusing because there are multiple definitions of PAGE_SHIFT. So I submit these patches to address the issues I found. Min-Hua Chen (2): ARC: fix

[RESEND PATCH 2/2] ARC: rename 16KSTACKS to DEBUG_STACKS

2023-05-25 Thread Min-Hua Chen
n. No functional changes intended. Signed-off-by: Min-Hua Chen --- arch/arc/Kconfig.debug | 7 --- arch/arc/include/asm/thread_info.h | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arc/Kconfig.debug b/arch/arc/Kconfig.debug index 45add86decd5..9