aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2017-09-21 15:21:40 +0000
committerAlex Williamson <[email protected]>2017-11-06 18:24:35 +0000
commit94e2cc4dba39efbb63e84cd4f7243627c16ceac5 (patch)
tree175fe887e65dc3029129904b2130ace1b23ebb70 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentMerge branches 'iommu/fixes', 'arm/omap', 'arm/exynos', 'x86/amd', 'x86/vt-d'... (diff)
downloadkernel-94e2cc4dba39efbb63e84cd4f7243627c16ceac5.tar.gz
kernel-94e2cc4dba39efbb63e84cd4f7243627c16ceac5.zip
iommu/iova: Use raw_cpu_ptr() instead of get_cpu_ptr() for ->fq
get_cpu_ptr() disabled preemption and returns the ->fq object of the current CPU. raw_cpu_ptr() does the same except that it not disable preemption which means the scheduler can move it to another CPU after it obtained the per-CPU object. In this case this is not bad because the data structure itself is protected with a spin_lock. This change shouldn't matter however on RT it does because the sleeping lock can't be accessed with disabled preemption. Cc: Joerg Roedel <[email protected]> Cc: [email protected] Reported-by: [email protected] Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions