drm/xe: Userptr invalid page access fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 2 repliesIn review
- v23 patches 5 repliesSuperseded
- v13 patches 5 repliesSuperseded
v2 from the cover letter
- Address review comments by Matt Auld
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | drm/xe/hmm: Style- and include fixesdrivers/ drivers/ | +8 | 0 replies | |
| 2/3 | drm/xe/hmm: Don't dereference struct page pointers without notifier lockdrivers/ | +86 | 0 replies | |
| 3/3 | drm/xe/userptr: Unmap userptrs in the mmu notifierdrivers/ drivers/ drivers/ +1 more | +52 | 0 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Matthew Auld | Matthew Brost |
|---|---|---|
| Series | A-b | |
| 1/3 | ||
| 2/3 | R-b | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/3] drm/xe: Userptr invalid page access fixes
Fix a number of potential invalid page-accesses by the userptr code.
Patch 1:
- Some coding style fixes.
Patch 2:
- Avoids invalid struct page accesses during userptr pinning. Patch 3:
- Block xe device accesses on mmu_invalidation on the iommu level.
v2:
- Address review comments by Matt Auld
Cc Matthew Auld <[email protected]>
Cc Oak Zeng <[email protected]>
Thomas Hellström (3):
drm/xe/hmm: Style- and include fixes
drm/xe/hmm: Don't dereference struct page pointers without notifier
lock
drm/xe/userptr: Unmap userptrs in the mmu notifier
drivers/gpu/drm/xe/xe_hmm.c | 170 +++++++++++++++++++++++-------- drivers/gpu/drm/xe/xe_hmm.h | 7 ++ drivers/gpu/drm/xe/xe_vm.c | 4 + drivers/gpu/drm/xe/xe_vm_types.h | 4 + 4 files changed, 145 insertions(+), 40 deletions(-)
Signature · 1 line
2.48.1