aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
diff options
context:
space:
mode:
authorZong Li <[email protected]>2020-10-21 07:38:39 +0000
committerThomas Gleixner <[email protected]>2020-10-26 11:12:27 +0000
commit4230e2deaa484b385aa01d598b2aea8e7f2660a6 (patch)
treec542bc412a1c1769616b3f857ac8cc396d0674b0 /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
parentLinux 5.10-rc1 (diff)
downloadkernel-4230e2deaa484b385aa01d598b2aea8e7f2660a6.tar.gz
kernel-4230e2deaa484b385aa01d598b2aea8e7f2660a6.zip
stop_machine, rcu: Mark functions as notrace
Some architectures assume that the stopped CPUs don't make function calls to traceable functions when they are in the stopped state. See also commit cb9d7fd51d9f ("watchdog: Mark watchdog touch functions as notrace"). Violating this assumption causes kernel crashes when switching tracer on RISC-V. Mark rcu_momentary_dyntick_idle() and stop_machine_yield() notrace to prevent this. Fixes: 4ecf0a43e729 ("processor: get rid of cpu_relax_yield") Fixes: 366237e7b083 ("stop_machine: Provide RCU quiescent state in multi_cpu_stop()") Signed-off-by: Zong Li <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Atish Patra <[email protected]> Tested-by: Colin Ian King <[email protected]> Acked-by: Steven Rostedt (VMware) <[email protected]> Acked-by: Paul E. McKenney <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions