[PATCH v2 0/2] Improve ufence addr validation and error handling

Nirmoy Das nirmoy.das at intel.com
Wed Oct 16 08:23:02 UTC 2024


Resending https://patchwork.freedesktop.org/series/139887/ with 
Test-with tag to validate we catch bogus addr from userspace early.

Locally I can reproduce current bogus addr passing issue and the test
also validate that it is fixed with the 1st patch.

v2: s/XE_WARN_ON/drm_dbg(Maarten)

Test-with: 20241014141839.1618518-1-nirmoy.das at intel.com
Cc: Francois Dugast <francois.dugast at intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Cc: Matthew Auld <matthew.auld at intel.com>
Cc: Matthew Brost <matthew.brost at intel.com>

Nirmoy Das (2):
  drm/xe/ufence: Prefetch ufence addr to catch bogus address
  drm/xe/ufence: Warn if mmget_not_zero() fails

 drivers/gpu/drm/xe/xe_sync.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
2.46.0



More information about the Intel-xe mailing list