[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 00/14] mm: convert further simple mmap hooks to mmap_prepare
- To: "Lorenzo Stoakes (ARM)" <ljs@xxxxxxxxxx>
- From: Paul Moore <paul@xxxxxxxxxxxxxx>
- Date: Thu, 5 Nov 2026 18:12:09 -0500
- Arc-authentication-results: i=1; mx.google.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=w+g0xKR97zcXC//9XGcArRTzIRGbaLo0LA3je3jFgFY=; fh=m1xu7JDuD9lfZam1WJ90hjSH8snyy8QYGL2JPH3usfo=; b=I9+iSZo8l+y8g8wfVG8mdqelCuy60+i0WUYoTWhacSrjKsCnT4XjQNl0SNAvq7gMEo 4SHF5Ot74frb5kAJaZZ20q5ulg1+Ly57ObHmDDp+eZ4RAv+ERyXGGwihEZsE0PrlzdcS ZMgNmP3mQnS0IVpSstY41MvobpTYskEnrfOj3bjftYcY682v/Ri5Qs8gE3WnB61N4ozV 3HFG3XjeK2UbhouMcpP/OqFg3XJ8yVpTtkWfjFDbyprrt1WIwNRfKw1gyXDLUDLrSkAc YbVEXlttLiIcgU5wCtlmfWWCeIqcAui8n1XyJtF6hha6TsDdWHUBHCfrMhNIl3vqPWrn 2f9g==; darn=lists.xenproject.org
- Arc-seal: i=1; a=rsa-sha256; t=1793920341; cv=none; d=google.com; s=arc-20260327; b=L4Y4Jj/h2SB6HH9xKG2GWVk2uUkGcfnN0wDnovggsAqOPJyCUUdwvLFQX5GP4pV2R+ HrPReXyD8AyDRQzJkbUCv9iMr/gLpuSJeDVoMVr5exy5dLReT/XJRzLDuSKK15uy+WqF Oa6UTcw7MCtxXIOtvCOfpN3fywVeKbJkBMUFoiDf17rOByX6UZFPBDLhUh7D9R2asYob VFD4O9MtQP4UR59MbCdLlJqyuxbREdHu7FQNxq+alM/U84RcrSkIh0nE/JRZvzfe2M2m TZLJdtbfD1krrhqzBtzc6of8LTu8xzpjVx0zq60oWdsxKyFp/dOHB05+aAEVq8VVW/r0 fevg==
- Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=google header.d=paul-moore.com header.i="@paul-moore.com" header.h="Content-Transfer-Encoding:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References:MIME-Version"
- Cc: Juergen Gross <jgross@xxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx>, Madhavan Srinivasan <maddy@xxxxxxxxxxxxx>, Nicholas Piggin <npiggin@xxxxxxxxx>, Michael Ellerman <mpe@xxxxxxxxxxxxxx>, "Christophe Leroy (CS GROUP)" <chleroy@xxxxxxxxxx>, "Ritesh Harjani (IBM)" <ritesh.list@xxxxxxxxx>, Shrikanth Hegde <sshegde@xxxxxxxxxxxxx>, Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>, Wei Liu <wei.liu@xxxxxxxxxx>, Dexuan Cui <decui@xxxxxxxxxxxxx>, "Michael S. Tsirkin" <mst@xxxxxxxxxx>, Jason Wang <jasowangio@xxxxxxxxx>, Eugenio Pérez <eperezma@xxxxxxxxxx>, Xuan Zhuo <xuanzhuo@xxxxxxxxxxxxxxxxx>, Jarkko Sakkinen <jarkko@xxxxxxxxxx>, Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, Borislav Petkov <bp@xxxxxxxxx>, x86@xxxxxxxxxx, "H. Peter Anvin" <hpa@xxxxxxxxx>, Jan Kara <jack@xxxxxxxx>, Stephen Smalley <stephen.smalley.work@xxxxxxxxx>, Ondrej Mosnáček <omosnacek@xxxxxxxxx>, Joel Stanley <joel@xxxxxxxxx>, Andrew Jeffery <andrew@xxxxxxxxxxxxxxxxxxxx>, Ryan Chen <ryan_chen@xxxxxxxxxxxxxx>, Billy Tsai <billy_tsai@xxxxxxxxxxxxxx>, Bjorn Andersson <andersson@xxxxxxxxxx>, Konrad Dybcio <konradybcio@xxxxxxxxxx>, Abel Vesa <abelvesa@xxxxxxxxxx>, Jens Wiklander <jenswi@xxxxxxxxxx>, Sumit Garg <sumit.garg@xxxxxxxxxx>, Scott Branden <scott.branden@xxxxxxxxxxxx>, Broadcom internal kernel review list <bcm-kernel-feedback-list@xxxxxxxxxxxx>, Arnd Bergmann <arnd@xxxxxxxx>, Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>, Richard Cochran <richardcochran@xxxxxxxxx>, David Woodhouse <dwmw2@xxxxxxxxxxxxx>, Andrew Lunn <andrew+netdev@xxxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx>, Eric Dumazet <edumazet@xxxxxxxxxx>, Jakub Kicinski <kuba@xxxxxxxxxx>, Paolo Abeni <pabeni@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linuxppc-dev@xxxxxxxxxxxxxxxx, kvm@xxxxxxxxxxxxxxx, linux-hyperv@xxxxxxxxxxxxxxx, virtualization@xxxxxxxxxxxxxxx, linux-sgx@xxxxxxxxxxxxxxx, selinux@xxxxxxxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, linux-aspeed@xxxxxxxxxxxxxxxx, linux-arm-msm@xxxxxxxxxxxxxxx, op-tee@xxxxxxxxxxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxxxxxx
- Delivery-date: Thu, 05 Nov 2026 23:12:26 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Thu, Nov 5, 2026 at 4:06 PM Lorenzo Stoakes (ARM) <ljs@xxxxxxxxxx> wrote:
>
> Continue the conversion of users of the deprecated f_op->mmap callback to
> f_op->mmap_prepare. Keep things gentle this cycle by targeting simple
> cases.
>
> No functional change intended.
>
> Build tested on x86-64 (allmodconfig, each patch individually), i386,
> arm64 and ppc64le.
>
> <<>>
>
> David, Andrew - I wonder whether one of you guys could take this series
> through your tree? Since it's kernel-wide it seems sensible to take it
> through an mm tree.
Granted I've only properly looked at the SELinux patch (7/14), the
rest I've just skimmed through, but these are all independent patches,
right? Is there any reason why individual subsystem maintainers
shouldn't just pick up their associated patch? Yes, perhaps chasing
down individual maintainers is a bit more work, but isn't that the way
this should work?
> Lorenzo Stoakes (ARM) (14):
> xen/privcmd: convert mmap hook to mmap_prepare
> KVM: PPC: Book3S: convert spapr TCE mmap hook to mmap_prepare
> mshv_vtl: convert mmap hooks to mmap_prepare
> vduse: convert IOVA domain mmap hook to mmap_prepare
> x86/sgx: convert vepc mmap hook to mmap_prepare
> udf: convert mmap hook to mmap_prepare
> selinuxfs: convert mmap hooks to mmap_prepare
> xen: convert xenstore interface mmap hooks to mmap_prepare
> soc: aspeed: convert LPC and P2A control mmap hooks to mmap_prepare
> soc: qcom: rmtfs_mem: convert mmap hook to mmap_prepare
> tee: convert shm mmap hook to mmap_prepare
> misc: bcm-vk: convert mmap hook to mmap_prepare
> ptp: vmclock: convert mmap hook to mmap_prepare
> vhost-vdpa: convert mmap hook to mmap_prepare
>
> arch/powerpc/kvm/book3s_64_vio.c | 6 +++---
> arch/x86/kernel/cpu/sgx/virt.c | 15 ++++++++-------
> drivers/hv/mshv_vtl_main.c | 14 +++++++-------
> drivers/misc/bcm-vk/bcm_vk_dev.c | 20 ++++++++++----------
> drivers/ptp/ptp_vmclock.c | 19 +++++++++----------
> drivers/soc/aspeed/aspeed-lpc-ctrl.c | 20 +++++++++-----------
> drivers/soc/aspeed/aspeed-p2a-ctrl.c | 22 ++++++++--------------
> drivers/soc/qcom/rmtfs_mem.c | 22 ++++++++++------------
> drivers/tee/tee_shm.c | 14 +++++++-------
> drivers/vdpa/vdpa_user/iova_domain.c | 12 ++++++------
> drivers/vhost/vdpa.c | 23 ++++++++++++-----------
> drivers/xen/privcmd.c | 11 +++++------
> drivers/xen/xenbus/xenbus_dev_backend.c | 14 ++++++--------
> drivers/xen/xenfs/xenstored.c | 14 ++++++--------
> fs/udf/file.c | 8 ++++----
> security/selinux/selinuxfs.c | 24 +++++++++++-------------
> 16 files changed, 121 insertions(+), 137 deletions(-)
--
paul-moore.com
|