diff options
| author | Matthew Auld <matthew.auld@intel.com> | 2025-10-22 17:38:31 +0100 |
|---|---|---|
| committer | Matthew Auld <matthew.auld@intel.com> | 2025-10-23 10:48:34 +0100 |
| commit | aaeef7a9c8b9206039a588a23e4dc11dddbefe2d (patch) | |
| tree | dc0be6f6fd7d1399345bcff83cea247c0aac3fbd /rust/helpers/rcu.c | |
| parent | 3c767f762be973711421876d9e05e4dfd93f74ce (diff) | |
drm/xe/migrate: rework size restrictions for sram pte emit
We allow the input size to not be aligned to PAGE_SIZE, which leads to
various bugs in build_pt_update_batch_sram() for PAGE_SIZE > 4K systems.
For example if ptes is exactly one gpu_page_size then the chunk size is
rounded down to zero. The simplest fix looks to be forcing PAGE_SIZE
aligned inputs.
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20251022163836.191405-3-matthew.auld@intel.com
Diffstat (limited to 'rust/helpers/rcu.c')
0 files changed, 0 insertions, 0 deletions
