Skip to content

Improve hw reserved PAT checking

Matthew Auld intel-xe 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 3 repliesIn review
  2. v23 patches 2 repliesSuperseded
  3. v12 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- Improve is_valid() to return false for out-of-range (Tejas).

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/xe/pat: initialise pat.valid everywheredrivers/gpu/drm/xe/xe_pat.c+17 -170 replies
2/3drm/xe: revamp hw reserved PAT index checkingdrivers/gpu/drm/xe/xe_pat.c drivers/gpu/drm/xe/xe_pat.h drivers/gpu/drm/xe/xe_vm.c +1 more+23 -140 replies
3/3drm/xe/pat: always check is_valid() when querying an indexdrivers/gpu/drm/xe/xe_pat.c drivers/gpu/drm/xe/xe_pat.h+10 -63 replies

Reviews trailers per patch

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

PatchTejas Upadhyay
1/3R-b
2/3R-b
3/3R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/3] Improve hw reserved PAT checking

This came up recently, where there was some confusion around the !coh_mode checking, for hw reserved PAT index. Series removes that completely and just uses pat.valid.

v2:
- Update the kernel-doc to reflect the behaviour change in

    get_coh_mode().

- With that we should then harden everything else and make this consistent. Add a new patch for this.
v3:
- Improve is_valid() to return false for out-of-range (Tejas).

Signature · 1 line
2.56.0