diff options
| author | Sven Schnelle <[email protected]> | 2025-07-03 11:50:27 +0000 |
|---|---|---|
| committer | Alexander Gordeev <[email protected]> | 2025-07-10 12:42:10 +0000 |
| commit | b367017cdac21781a74eff4e208d3d38e1f38d3f (patch) | |
| tree | c0c584312b9225bdd2ec76d58617d77293b78a52 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | s390/early: Copy last breaking event address to pt_regs (diff) | |
| download | kernel-b367017cdac21781a74eff4e208d3d38e1f38d3f.tar.gz kernel-b367017cdac21781a74eff4e208d3d38e1f38d3f.zip | |
s390/stp: Remove udelay from stp_sync_clock()
When an stp sync check is handled on a system with multiple
cpus each cpu gets a machine check but only the first one
actually handles the sync operation. All other CPUs spin
waiting for the first one to finish with a short udelay().
But udelay can't be used here as the first CPU modifies tod_clock_base
before performing the sync op. During this timeframe
get_tod_clock_monotonic() might return a non-monotonic time.
The time spent waiting should be very short and udelay is a busy loop
anyways, therefore simply remove the udelay.
Reviewed-by: Heiko Carstens <[email protected]>
Signed-off-by: Sven Schnelle <[email protected]>
Signed-off-by: Alexander Gordeev <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
