Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Improve ufence addr validation and error handling
@ 2024-10-16  8:23 Nirmoy Das
  2024-10-16  8:23 ` [PATCH v2 1/2] drm/xe/ufence: Prefetch ufence addr to catch bogus address Nirmoy Das
                   ` (9 more replies)
  0 siblings, 10 replies; 16+ messages in thread
From: Nirmoy Das @ 2024-10-16  8:23 UTC (permalink / raw)
  To: intel-xe
  Cc: Nirmoy Das, Francois Dugast, Maarten Lankhorst, Matthew Auld,
	Matthew Brost

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@intel.com
Cc: Francois Dugast <francois.dugast@intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Matthew Brost <matthew.brost@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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-10-18 15:40 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-16  8:23 [PATCH v2 0/2] Improve ufence addr validation and error handling Nirmoy Das
2024-10-16  8:23 ` [PATCH v2 1/2] drm/xe/ufence: Prefetch ufence addr to catch bogus address Nirmoy Das
2024-10-18  2:51   ` Matthew Brost
2024-10-16  8:23 ` [PATCH v2 2/2] drm/xe/ufence: Warn if mmget_not_zero() fails Nirmoy Das
2024-10-18 13:41   ` Nirmoy Das
2024-10-18 13:53     ` Francois Dugast
2024-10-18 13:54       ` Nirmoy Das
2024-10-16 12:04 ` ✓ CI.Patch_applied: success for Improve ufence addr validation and error handling (rev3) Patchwork
2024-10-16 12:04 ` ✓ CI.checkpatch: " Patchwork
2024-10-16 12:05 ` ✓ CI.KUnit: " Patchwork
2024-10-16 12:17 ` ✓ CI.Build: " Patchwork
2024-10-16 12:19 ` ✓ CI.Hooks: " Patchwork
2024-10-16 12:21 ` ✓ CI.checksparse: " Patchwork
2024-10-16 12:38 ` ✓ CI.BAT: " Patchwork
2024-10-17  2:54 ` ✗ CI.FULL: failure " Patchwork
2024-10-18 15:40   ` Nirmoy Das

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox