✓ CI.checkpatch: success for drm/xe/migrate: Switch from drm to dev managed actions
Patchwork
patchwork at emeril.freedesktop.org
Wed Mar 26 16:11:45 UTC 2025
== Series Details ==
Series: drm/xe/migrate: Switch from drm to dev managed actions
URL : https://patchwork.freedesktop.org/series/146811/
State : success
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
99e5a866b5e13f134e606a3e29d9508d97826fb3
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 106844f10652ce019e721e631da3e95996a08a93
Author: Aradhya Bhatia <aradhya.bhatia at intel.com>
Date: Wed Mar 26 20:49:29 2025 +0530
drm/xe/migrate: Switch from drm to dev managed actions
Change the scope of the migrate subsystem to be dev managed instead of
drm managed.
The parent pci struct &device, that the xe struct &drm_device is a part
of, gets removed when a hot unplug is triggered, which causes the
underlying iommu group to get destroyed as well.
The migrate subsystem, which handles the lifetime of the page-table tree
(pt) BO, doesn't get a chance to keep the BO back during the hot unplug,
as all the references to DRM haven't been put back.
When all the references to DRM are indeed put back later, the migrate
subsystem tries to put back the pt BO. Since the underlying iommu group
has been already destroyed, a kernel NULL ptr dereference takes place
while attempting to keep back the pt BO.
Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/3914
Suggested-by: Thomas Hellstrom <thomas.hellstrom at intel.com>
Reviewed-by: Tejas Upadhyay <tejas.upadhyay at intel.com>
Signed-off-by: Aradhya Bhatia <aradhya.bhatia at intel.com>
+ /mt/dim checkpatch 14c330bc015ded4a1f1dd1f5aeb8617077aaa7e8 drm-intel
106844f10652 drm/xe/migrate: Switch from drm to dev managed actions
More information about the Intel-xe
mailing list