From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 757C0EFD205 for ; Wed, 25 Feb 2026 08:09:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DCDHMzG/WvC3HZ5DwDNZWAnVBV93YVRTg77UEhb6T+I=; b=3Kw65DOWNLk55e cp9xza6p3LoI5dIyN1rH53oqrs7FU24aCoG6Aa9asSiEFmS4yTCWchHb7SzU8HE4R4ZNZ+koTQPCV Kr2fZT+/wh20PTOlug8asSJa8WC2uM/K2hLBUSGby6i2+4QCjY6zmDqZcvCuvaY/SdQVCjyFeUjwL UYCLqVmxbYonOs+t8s9CuG2/EQrCw++xd4CVh8417btkXEMTrjx4GfHw1sIHGsSataZkl6u6G6PfA S8FxYuHgKGO/rmWi8hCZs5TNr8zLYfM97NhG3WlS3psWmD/PkDkoTtZXL8DfLA8F5k6OZumhplpH0 NALEOmgm2ue98FZanONA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vv9x4-00000003TAp-0OPX; Wed, 25 Feb 2026 08:08:58 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vv9wu-00000003T8W-438E; Wed, 25 Feb 2026 08:08:50 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E0A4A165C; Wed, 25 Feb 2026 00:08:40 -0800 (PST) Received: from arm.com (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CDAFD3F59E; Wed, 25 Feb 2026 00:08:43 -0800 (PST) Date: Wed, 25 Feb 2026 08:08:41 +0000 From: Catalin Marinas To: Deepak Gupta Cc: Andrew Morton , David Hildenbrand , Mark Brown , Rick Edgecombe , Will Deacon , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Kito Cheng , Jesse Huang , valentin.haudiquet@canonical.com, heinrich.schuchardt@canonical.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-mm@kvack.org Subject: Re: [PATCH 0/5] mm: arch/shstk: Common shadow stack mapping helper and VM_NOHUGEPAGE Message-ID: References: <20260224175800.2500729-1-catalin.marinas@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260225_000849_043213_FE4A2A47 X-CRM114-Status: GOOD ( 11.55 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Hi Deepak, On Tue, Feb 24, 2026 at 04:06:13PM -0800, Deepak Gupta wrote: > On Tue, Feb 24, 2026 at 05:57:52PM +0000, Catalin Marinas wrote: > > arm64, riscv and x86 all implement shadow stack support and use a > > similar pattern for mapping the user shadow stack (originally cloned > > from x86). Extract this common pattern into a shared helper - > > vm_mmap_shadow_stack(). [...] > FWIW, I applied your patches on v7.0-rc1 and risc-v cfi kselftest passes [...] > So you can tag tested by for risc-v. That's great, thanks! -- Catalin _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv