]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/svm: Fix regression disallowing 64K SVM migration
authorMaarten Lankhorst <dev@lankhorst.se>
Wed, 21 May 2025 09:01:02 +0000 (11:01 +0200)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Mon, 9 Jun 2025 15:10:20 +0000 (17:10 +0200)
commitd6fb4f01736a1d18cc981eb04fa2907a7121fc27
tree1412b8d66de739219da06509c80e32028058b2f6
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494
drm/xe/svm: Fix regression disallowing 64K SVM migration

When changing the condition from >= SZ_64K, it was changed to <= SZ_64K.
This disallows migration of 64K, which is the exact minimum allowed.

Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/5057
Fixes: 794f5493f518 ("drm/xe: Strict migration policy for atomic SVM faults")
Cc: stable@vger.kernel.org
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
Link: https://lore.kernel.org/r/20250521090102.2965100-1-dev@lankhorst.se
(cherry picked from commit 531bef26d189b28bf0d694878c0e064b30990b6c)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
drivers/gpu/drm/xe/xe_svm.c