From: Mike Rapoport <rppt@kernel.org>
To: Catalin Marinas <catalin.marinas@arm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
David Hildenbrand <david@kernel.org>,
Mark Brown <broonie@kernel.org>,
Deepak Gupta <debug@rivosinc.com>,
Rick Edgecombe <rick.p.edgecombe@intel.com>,
Will Deacon <will@kernel.org>, Paul Walmsley <pjw@kernel.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Alexandre Ghiti <alex@ghiti.fr>,
Thomas Gleixner <tglx@kernel.org>, Ingo Molnar <mingo@redhat.com>,
Borislav Petkov <bp@alien8.de>,
Dave Hansen <dave.hansen@linux.intel.com>,
"H. Peter Anvin" <hpa@zytor.com>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org,
linux-mm@kvack.org
Subject: Re: [PATCH v2 0/5] mm: arch/shstk: Common shadow stack mapping helper and VM_NOHUGEPAGE
Date: Wed, 25 Feb 2026 22:12:05 +0200 [thread overview]
Message-ID: <aZ9XlUAJvPux4xCQ@kernel.org> (raw)
In-Reply-To: <20260225161404.3157851-1-catalin.marinas@arm.com>
On Wed, Feb 25, 2026 at 04:13:57PM +0000, Catalin Marinas wrote:
> This is v2 of the series extracting the common shadow stack mmap into a
> separate helper for arm64, riscv and x86. Thanks for the review.
>
> Andrew, if you are happy with this, I think taking the patches through
> the mm tree makes most sense.
>
> Minor changes since v1:
>
> - Removed #ifdef from the helper function declaration
> - Used two tabs for the alignment of multi-line function arguments
> - Added "There is no functional change" to the arch patches log
> - Collected ack/review/test tags
>
> v1:
>
> https://lore.kernel.org/r/20260224175800.2500729-1-catalin.marinas@arm.com
>
> Catalin Marinas (5):
> mm: Introduce vm_mmap_shadow_stack() as a helper for VM_SHADOW_STACK
> mappings
> arm64: gcs: Use the new common vm_mmap_shadow_stack() helper
> riscv: shstk: Use the new common vm_mmap_shadow_stack() helper
> x86: shstk: Use the new common vm_mmap_shadow_stack() helper
> mm: Do not map the shadow stack as THP
Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
> arch/arm64/mm/gcs.c | 14 +-------------
> arch/riscv/kernel/usercfi.c | 12 +-----------
> arch/x86/kernel/shstk.c | 12 ++----------
> include/linux/mm.h | 2 ++
> mm/util.c | 29 +++++++++++++++++++++++++++++
> 5 files changed, 35 insertions(+), 34 deletions(-)
>
>
--
Sincerely yours,
Mike.
WARNING: multiple messages have this Message-ID (diff)
From: Mike Rapoport <rppt@kernel.org>
To: Catalin Marinas <catalin.marinas@arm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
David Hildenbrand <david@kernel.org>,
Mark Brown <broonie@kernel.org>,
Deepak Gupta <debug@rivosinc.com>,
Rick Edgecombe <rick.p.edgecombe@intel.com>,
Will Deacon <will@kernel.org>, Paul Walmsley <pjw@kernel.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Alexandre Ghiti <alex@ghiti.fr>,
Thomas Gleixner <tglx@kernel.org>, Ingo Molnar <mingo@redhat.com>,
Borislav Petkov <bp@alien8.de>,
Dave Hansen <dave.hansen@linux.intel.com>,
"H. Peter Anvin" <hpa@zytor.com>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org,
linux-mm@kvack.org
Subject: Re: [PATCH v2 0/5] mm: arch/shstk: Common shadow stack mapping helper and VM_NOHUGEPAGE
Date: Wed, 25 Feb 2026 22:12:05 +0200 [thread overview]
Message-ID: <aZ9XlUAJvPux4xCQ@kernel.org> (raw)
In-Reply-To: <20260225161404.3157851-1-catalin.marinas@arm.com>
On Wed, Feb 25, 2026 at 04:13:57PM +0000, Catalin Marinas wrote:
> This is v2 of the series extracting the common shadow stack mmap into a
> separate helper for arm64, riscv and x86. Thanks for the review.
>
> Andrew, if you are happy with this, I think taking the patches through
> the mm tree makes most sense.
>
> Minor changes since v1:
>
> - Removed #ifdef from the helper function declaration
> - Used two tabs for the alignment of multi-line function arguments
> - Added "There is no functional change" to the arch patches log
> - Collected ack/review/test tags
>
> v1:
>
> https://lore.kernel.org/r/20260224175800.2500729-1-catalin.marinas@arm.com
>
> Catalin Marinas (5):
> mm: Introduce vm_mmap_shadow_stack() as a helper for VM_SHADOW_STACK
> mappings
> arm64: gcs: Use the new common vm_mmap_shadow_stack() helper
> riscv: shstk: Use the new common vm_mmap_shadow_stack() helper
> x86: shstk: Use the new common vm_mmap_shadow_stack() helper
> mm: Do not map the shadow stack as THP
Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
> arch/arm64/mm/gcs.c | 14 +-------------
> arch/riscv/kernel/usercfi.c | 12 +-----------
> arch/x86/kernel/shstk.c | 12 ++----------
> include/linux/mm.h | 2 ++
> mm/util.c | 29 +++++++++++++++++++++++++++++
> 5 files changed, 35 insertions(+), 34 deletions(-)
>
>
--
Sincerely yours,
Mike.
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2026-02-25 20:12 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-25 16:13 [PATCH v2 0/5] mm: arch/shstk: Common shadow stack mapping helper and VM_NOHUGEPAGE Catalin Marinas
2026-02-25 16:13 ` Catalin Marinas
2026-02-25 16:13 ` [PATCH v2 1/5] mm: Introduce vm_mmap_shadow_stack() as a helper for VM_SHADOW_STACK mappings Catalin Marinas
2026-02-25 16:13 ` Catalin Marinas
2026-02-25 16:13 ` [PATCH v2 2/5] arm64: gcs: Use the new common vm_mmap_shadow_stack() helper Catalin Marinas
2026-02-25 16:13 ` Catalin Marinas
2026-02-25 16:14 ` [PATCH v2 3/5] riscv: shstk: " Catalin Marinas
2026-02-25 16:14 ` Catalin Marinas
2026-04-03 8:34 ` Paul Walmsley
2026-04-03 8:34 ` Paul Walmsley
2026-02-25 16:14 ` [PATCH v2 4/5] x86: " Catalin Marinas
2026-02-25 16:14 ` Catalin Marinas
2026-02-25 16:14 ` [PATCH v2 5/5] mm: Do not map the shadow stack as THP Catalin Marinas
2026-02-25 16:14 ` Catalin Marinas
2026-02-25 20:12 ` Mike Rapoport [this message]
2026-02-25 20:12 ` [PATCH v2 0/5] mm: arch/shstk: Common shadow stack mapping helper and VM_NOHUGEPAGE Mike Rapoport
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aZ9XlUAJvPux4xCQ@kernel.org \
--to=rppt@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=bp@alien8.de \
--cc=broonie@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=dave.hansen@linux.intel.com \
--cc=david@kernel.org \
--cc=debug@rivosinc.com \
--cc=hpa@zytor.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-riscv@lists.infradead.org \
--cc=mingo@redhat.com \
--cc=palmer@dabbelt.com \
--cc=pjw@kernel.org \
--cc=rick.p.edgecombe@intel.com \
--cc=tglx@kernel.org \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.