public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Vasily Gorbik <gor@linux.ibm.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: "David Hildenbrand (Arm)" <david@kernel.org>,
	Madhavan Srinivasan <maddy@linux.ibm.com>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Pasha Tatashin <pasha.tatashin@soleen.com>,
	Alexander Gordeev <agordeev@linux.ibm.com>,
	Heiko Carstens <hca@linux.ibm.com>,
	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()
Date: Thu, 12 Mar 2026 23:45:14 +0100	[thread overview]
Message-ID: <ttbt5ve@ub.hpns> (raw)
In-Reply-To: <20260312135757.d65e8145d9d39e1ca5bc9666@linux-foundation.org>

On Thu, Mar 12, 2026 at 01:57:57PM -0700, Andrew Morton wrote:
> On Thu, 12 Mar 2026 16:02:40 +0100 Vasily Gorbik <gor@linux.ibm.com> wrote:
> 
> > On Fri, Mar 06, 2026 at 05:16:30PM +0100, Alexander Gordeev wrote:
> > > From: Tobias Huschle <huschle@linux.ibm.com>
> > > 
> > > 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.
> > > 
...
> > > ---
> > >  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 <akpm@linux-foundation.org>
> 
> It doesn't look like [1/4] changed significanty since v1?

PowerPC page table check support landed at the same
time v1 was sent, so v1 was missing PowerPC header
changes, which was reported by the kernel test robot:
https://lore.kernel.org/all/202603050830.LXQcUa5Z-lkp@intel.com/
Hence, v2 to address that.

  reply	other threads:[~2026-03-12 22:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-06 16:16 mm/pgtable: Support for page table check on s390 Alexander Gordeev
2026-03-06 16:16 ` [PATCH v2 1/4] mm/page_table_check: Pass mm_struct to pxx_user_accessible_page() Alexander Gordeev
2026-03-11  2:59   ` Ritesh Harjani
2026-03-11 12:41   ` Madhavan Srinivasan
2026-03-12 15:02   ` Vasily Gorbik
2026-03-12 20:57     ` Andrew Morton
2026-03-12 22:45       ` Vasily Gorbik [this message]
2026-03-06 16:16 ` [PATCH v2 2/4] s390/pgtable: Use set_pmd_bit() to invalidate PMD entry Alexander Gordeev
2026-03-06 16:16 ` [PATCH v2 3/4] s390/pgtable: Add s390 support for page table check Alexander Gordeev
2026-03-06 16:16 ` [PATCH v2 4/4] s390: Enable page table check for debug_defconfig Alexander Gordeev
2026-03-12 22:46 ` mm/pgtable: Support for page table check on s390 Vasily Gorbik

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=ttbt5ve@ub.hpns \
    --to=gor@linux.ibm.com \
    --cc=agordeev@linux.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=david@kernel.org \
    --cc=hca@linux.ibm.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=linux-s390@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=maddy@linux.ibm.com \
    --cc=mpe@ellerman.id.au \
    --cc=pasha.tatashin@soleen.com \
    --cc=x86@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox