Skip to content

switch to unsafe_follow_pfn

Daniel Vetter dri-devel kvm linux-arm-kernel linux-media linux-mm linux-samsung-soc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm: Add unsafe_follow_pfninclude/linux/mm.h mm/memory.c mm/nommu.c +1 more+73 -31 reply
2/3media/videobuf1|2: Mark follow_pfn usage as unsafedrivers/media/common/videobuf2/frame_vector.c drivers/media/v4l2-core/videobuf-dma-contig.c+2 -24 replies
3/3mm: unexport follow_pfninclude/linux/mm.h mm/memory.c mm/nommu.c+6 -358 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchTomasz FigaHans VerkuilJason Gunthorpe
1/3R-b
2/3A-b A-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/3] switch to unsafe_follow_pfn

Hi all,

This are the leftovers from my pull that landed in 5.12:

https://lore.kernel.org/dri-devel/CAKMK7uHQ=6OJcRguCUtiB456RWdCfwSNEXV8pQsfsPodTJ6uxw@mail.gmail.com/

Only changes compared to the old submission are:
- dropped vfio and kvm patch
- add patch to just remove follow_pfn at the end

Assuming no objections I'd like to lande these three patches in my topic branch for 5.13, for sufficient amounts of testing in linux-next before the merge window.

Ack/review especially on the two mm patches very much thought after.

Cheers, Daniel

Daniel Vetter (3):
mm: Add unsafe_follow_pfn media/videobuf1|2: Mark follow_pfn usage as unsafe
mm: unexport follow_pfn

 drivers/media/common/videobuf2/frame_vector.c |  2 +-
 drivers/media/v4l2-core/videobuf-dma-contig.c |  2 +-
 include/linux/mm.h                            |  4 +-
 mm/memory.c                                   | 46 ++++++++++++-------
 mm/nommu.c                                    | 28 ++++++++---
 security/Kconfig                              | 13 ++++++
 6 files changed, 68 insertions(+), 27 deletions(-)
Signature · 6 lines
2.30.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel