aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2025-04-29 13:43:03 +0000
committerNeeraj Upadhyay (AMD) <[email protected]>2025-07-08 17:51:13 +0000
commitfc39760cd0f432cd399a209c43dcb887fffdb6dc (patch)
tree8c1888031c24a736efa0011688ff4d21bd29e464 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentrcu/exp: Remove needless CPU up quiescent state report (diff)
downloadkernel-fc39760cd0f432cd399a209c43dcb887fffdb6dc.tar.gz
kernel-fc39760cd0f432cd399a209c43dcb887fffdb6dc.zip
rcu/exp: Warn on QS requested on dying CPU
It is not possible to send an IPI to a dying CPU that has passed the CPUHP_TEARDOWN_CPU stage. Remaining unhandled IPIs are handled later at CPUHP_AP_SMPCFD_DYING stage by stop machine. This is the last opportunity for RCU exp handler to request an expedited quiescent state. And the upcoming final context switch between stop machine and idle must have reported the requested context switch. Therefore, it should not be possible to observe a pending requested expedited quiescent state when RCU finally stops watching the outgoing CPU. Once IPIs aren't possible anymore, the QS for the target CPU will be reported on its behalf by the RCU exp kworker. Provide an assertion to verify those expectations. Reviewed-by: Paul E. McKenney <[email protected]> Signed-off-by: Frederic Weisbecker <[email protected]> Signed-off-by: Joel Fernandes <[email protected]> Signed-off-by: Neeraj Upadhyay (AMD) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions