diff options
author | Philip Yang <Philip.Yang@amd.com> | 2019-01-30 15:21:16 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-13 14:02:38 -0700 |
commit | 25aa5c8b063ad633dd7f32406473ce86167f2eca (patch) | |
tree | a4f1b7e3bf4a87660cdb28c4636e9941b28eb92c /drivers/nvme | |
parent | ee84b62fba23ebdddb81ebe3f8275ad69d5f7ed7 (diff) | |
download | linux-stable-25aa5c8b063ad633dd7f32406473ce86167f2eca.tar.gz linux-stable-25aa5c8b063ad633dd7f32406473ce86167f2eca.tar.bz2 linux-stable-25aa5c8b063ad633dd7f32406473ce86167f2eca.zip |
drm/amdgpu: use spin_lock_irqsave to protect vm_manager.pasid_idr
[ Upstream commit 0a5f49cbf9d6ad3721c16f8a6d823363ea7a160f ]
amdgpu_vm_get_task_info is called from interrupt handler and sched timeout
workqueue, we should use irq version spin_lock to avoid deadlock.
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/nvme')
0 files changed, 0 insertions, 0 deletions