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 EB68F106ACEE for ; Thu, 12 Mar 2026 20:58:17 +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:Mime-Version:References:In-Reply-To: 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=4/a+pNrNTO5OHJmg3o1CR+mW+g9KmdvxWB4j6B7AlMM=; b=zjyQISh3b+GAvk T/T/2vNT7dz4EWbns3bVr6+VL4szEstigpkas6WYVzt00BxI6KGwvalFgIWzEY5w0buV14xxkAyB1 E8yTYNX8PabKRDA7VzD8+yI+f2F/XUnK/0hpdki3zTkjkU5xMInQJC8lJ+Sf21Oy61EUw7jlvRK0e yru4wKyKI198uWntSIOCAuCu4zPDLXvvW/ifGUly2A3BdfFaCa30S8xTzqcFm99wKAGsaznC6LeEp 06qmyiG7zF2tSnOprrfv823LExWc8sRenDewDj4MI+4EUI+Z/lCMtRQXp2rsjjTetXlsAedgVpPRK ZOmNR+zZ5DJmaemZtobg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1w0n6Y-0000000FNUO-3M4q; Thu, 12 Mar 2026 20:58:02 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1w0n6W-0000000FNTm-1vEK; Thu, 12 Mar 2026 20:58:00 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 6134260142; Thu, 12 Mar 2026 20:57:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D739C4CEF7; Thu, 12 Mar 2026 20:57:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1773349079; bh=K9BkTSEP4DAO1oqXkTRgIUsMciXJXXN0g3ET3zAlngE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=FLiV1etmYVcSGbbdm/XWzQaxQrtcu+DjcXjI6bdWYsu841NM3z6Xw64cXI54+iaIn L2BrHY9lnVUqIJ6938urwDNEtRFz9ffekCMe3lr4UZIlR45/w5t14m5ix5+hCEMOxM z/hIOPZIY6kgBHdLKvnC8iu8NrktiaWhHWtId3+Y= Date: Thu, 12 Mar 2026 13:57:57 -0700 From: Andrew Morton To: Vasily Gorbik Cc: "David Hildenbrand (Arm)" , Madhavan Srinivasan , Michael Ellerman , Pasha Tatashin , Alexander Gordeev , Heiko Carstens , linux-s390@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, x86@kernel.org Subject: Re: [PATCH v2 1/4] mm/page_table_check: Pass mm_struct to pxx_user_accessible_page() Message-Id: <20260312135757.d65e8145d9d39e1ca5bc9666@linux-foundation.org> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 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 On Thu, 12 Mar 2026 16:02:40 +0100 Vasily Gorbik wrote: > On Fri, Mar 06, 2026 at 05:16:30PM +0100, Alexander Gordeev wrote: > > From: Tobias Huschle > > > > Unlike other architectures, s390 does not have means to > > distinguish kernel vs user page table entries - neither > > an entry itself, nor the address could be used for that. > > It is only the mm_struct that indicates whether an entry > > in question is mapped to a user space. So pass mm_struct > > to pxx_user_accessible_page() callbacks. > > > > [agordeev@linux.ibm.com: rephrased commit message, removed braces] > > > > Reviewed-by: Gerald Schaefer > > Reviewed-by: Andrew Morton > > Signed-off-by: Tobias Huschle > > Signed-off-by: Alexander Gordeev > > --- > > arch/arm64/include/asm/pgtable.h | 6 +++--- > > arch/powerpc/include/asm/book3s/32/pgtable.h | 2 +- > > arch/powerpc/include/asm/book3s/64/pgtable.h | 10 +++++----- > > arch/powerpc/include/asm/nohash/pgtable.h | 2 +- > > arch/powerpc/include/asm/pgtable.h | 4 ++-- > > arch/riscv/include/asm/pgtable.h | 6 +++--- > > arch/x86/include/asm/pgtable.h | 6 +++--- > > mm/page_table_check.c | 15 ++++++--------- > > 8 files changed, 24 insertions(+), 27 deletions(-) > > Andrew, may I get your Reviewed-by or Ack-by for v2 so I can take it > via the s390 tree as well? Reviewed-by: Andrew Morton It doesn't look like [1/4] changed significanty since v1? _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv