[PATCH] drm/xe/userptr: Fix an incorrect assert

Thomas Hellström thomas.hellstrom at linux.intel.com
Fri Mar 7 14:57:23 UTC 2025


On Fri, 2025-03-07 at 13:19 +0000, Matthew Auld wrote:
> On 07/03/2025 10:01, Thomas Hellström wrote:
> > The assert incorrectly checks the total length processed which
> > can in fact be greater than the number of pages. Fix.
> > 
> > Fixes: 0a98219bcc96 ("drm/xe/hmm: Don't dereference struct page
> > pointers without notifier lock")
> > Cc: Matthew Auld <matthew.auld at intel.com>
> > Cc: Matthew Brost <matthew.brost at intel.com>
> > Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
> Reviewed-by: Matthew Auld <matthew.auld at intel.com>
> 

Thanks for reviewing, Matt.
/Thomas



More information about the Intel-xe mailing list