* [obsolete] fs-proc-task_mmu-add-vm_shadow_stack-for-arm64-when-support-gcs.patch removed from -mm tree
@ 2025-06-08 22:32 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2025-06-08 22:32 UTC (permalink / raw)
To: mm-commits, osalvador, liam.howlett, david, christophe.leroy,
catalin.marinas, broonie, andrii, wangfushuai, akpm
The quilt patch titled
Subject: fs/proc/task_mmu: add VM_SHADOW_STACK for arm64 when support GCS
has been removed from the -mm tree. Its filename was
fs-proc-task_mmu-add-vm_shadow_stack-for-arm64-when-support-gcs.patch
This patch was dropped because it is obsolete
------------------------------------------------------
From: wangfushuai <wangfushuai@baidu.com>
Subject: fs/proc/task_mmu: add VM_SHADOW_STACK for arm64 when support GCS
Date: Sat, 7 Jun 2025 21:15:25 +0800
The recent commit adding VM_SHADOW_STACK for arm64 GCS did not update
the /proc/[pid]/smaps display logic to show the "ss" flag for GCS pages.
This patch adds the necessary condition to display "ss" flag.
[akpm@linux-foundation.org: simplify ifdeffery]
Link: https://lkml.kernel.org/r/20250607131525.76746-1-wangfushuai@baidu.com
Fixes: ae80e1629aea ("mm: Define VM_SHADOW_STACK for arm64 when we support GCS")
Signed-off-by: wangfushuai <wangfushuai@baidu.com>
Cc: Andrii Nakryiko <andrii@kernel.org>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: David Hildenbrand <david@redhat.com>
Cc: Liam Howlett <liam.howlett@oracle.com>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: Mark Brown <broonie@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
fs/proc/task_mmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/fs/proc/task_mmu.c~fs-proc-task_mmu-add-vm_shadow_stack-for-arm64-when-support-gcs
+++ a/fs/proc/task_mmu.c
@@ -991,7 +991,7 @@ static void show_smap_vma_flags(struct s
#ifdef CONFIG_HAVE_ARCH_USERFAULTFD_MINOR
[ilog2(VM_UFFD_MINOR)] = "ui",
#endif /* CONFIG_HAVE_ARCH_USERFAULTFD_MINOR */
-#ifdef CONFIG_ARCH_HAS_USER_SHADOW_STACK
+#if defined(CONFIG_ARCH_HAS_USER_SHADOW_STACK) || defined (CONFIG_ARM64_GCS)
[ilog2(VM_SHADOW_STACK)] = "ss",
#endif
#if defined(CONFIG_64BIT) || defined(CONFIG_PPC32)
_
Patches currently in -mm which might be from wangfushuai@baidu.com are
docs-proc-update-vmflags-documentation-in-smaps.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-06-08 22:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-08 22:32 [obsolete] fs-proc-task_mmu-add-vm_shadow_stack-for-arm64-when-support-gcs.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.