diff options
author | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2025-03-07 13:01:09 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2025-03-10 18:42:25 +0300 |
commit | 9106713bd2ab0cacd380cda0d3f0219f2e488086 (patch) | |
tree | d6d62fd90ae308b12d47fe8a063ec4f18fd6b8f9 /tools/perf/scripts/python/stackcollapse.py | |
parent | 10c7988418d8f759ba70c4a558961e0bfa74647f (diff) | |
download | linux-9106713bd2ab0cacd380cda0d3f0219f2e488086.tar.xz |
drm/xe/userptr: Fix an incorrect assert
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@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250307100109.21397-1-thomas.hellstrom@linux.intel.com
(cherry picked from commit 70e5043ba85eae199b232e39921abd706b5c1fa4)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions