summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2025-07-11 00:34:41 +0300
committerLucas De Marchi <lucas.demarchi@intel.com>2025-07-17 15:51:51 +0300
commit057a7d66f98eda9257e46fe44ee5750e0a6eec66 (patch)
tree89cc68088152dad9ef61e97f38e137c743e6328e /scripts/gdb/linux/interrupts.py
parent3155ac89251dcb5e35a3ec2f60a74a6ed22c56fd (diff)
downloadlinux-057a7d66f98eda9257e46fe44ee5750e0a6eec66.tar.xz
drm/xe/migrate: Fix alignment check
The check would fail if the address is unaligned, but not when accounting the offset. Instead of `buf | offset` it should have been `buf + offset`. To make it more readable and also drop the uintptr_t, just use the IS_ALIGNED() macro. Fixes: 270172f64b11 ("drm/xe: Update xe_ttm_access_memory to use GPU for non-visible access") Reviewed-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://lore.kernel.org/r/20250710-migrate-aligned-v1-1-44003ef3c078@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> (cherry picked from commit 81e139db6900503a2e68009764054fad128fbf95) Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions