Skip to content

Fixes for map() path

Brajesh Gupta dri-devel lkml stable 4 versions – Applied

Status from this message: Applied to drm-misc-fixes, thanks!

Get series with b4
b4 am [email protected] change-id 20260902-mmu_fix-3923aca60f60

Versions newest first

  1. v4 Latest2 patches 1 replyApplied
  2. v32 patches 1 replySuperseded
  3. v22 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches4 repliesSuperseded

Changes in v4 from the cover letter

- Fixed trailers in commit message.
- Updated example of the issue in patch 2 commit message.
- Link to v3: https://lore.kernel.org/r/[email protected]

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2drm/imagination: Propagate map failures correctly from pvr_mmu_map_sgl()drivers/gpu/drm/imagination/pvr_mmu.c+4 -10 replies
2/2drm/imagination: Fix page count for page table for map() interfacedrivers/gpu/drm/imagination/pvr_mmu.c drivers/gpu/drm/imagination/pvr_mmu.h drivers/gpu/drm/imagination/pvr_vm.c+11 -90 replies

Reviews trailers per patch

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

PatchAlexandru DaduAlessio Belle
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/2] Fixes for map() path

Two changes in map() path fix a kernel crash and a map failure.

Patch 0 fixes error path handling which triggers a kernel crash.

Patch 1 fixes prealloc page table memory requirement for a mapping which led to map failure due to running out of page table space.

---
Changes in v4:
- Fixed trailers in commit message.
- Updated example of the issue in patch 2 commit message.
- Link to v3: https://lore.kernel.org/r/[email protected]

Changes in v3:
- Fix the description update suggested for patch 1 in v2.
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- Update as per Alessio's feedback.
- Fixed variable name in the description. Move the error message to a new line.
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Brajesh Gupta (2):
drm/imagination: Propagate map failures correctly from pvr_mmu_map_sgl() drm/imagination: Fix page count for page table for map() interface

 drivers/gpu/drm/imagination/pvr_mmu.c | 19 ++++++++++++-------
 drivers/gpu/drm/imagination/pvr_mmu.h |  2 +-
 drivers/gpu/drm/imagination/pvr_vm.c  |  4 ++--
 3 files changed, 15 insertions(+), 10 deletions(-)

---
base-commit: bd4f284df04d76fd65e57141cb1e6e7a49e4c3cb
change-id: 20260902-mmu_fix-3923aca60f60

Best regards,

Signature · 1 line
Brajesh Gupta <[email protected]>