diff options
| author | Clément Léger <[email protected]> | 2025-05-23 10:19:24 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2025-06-04 22:11:04 +0000 |
| commit | 9f9f6fdd1dc6791bcfe251160a96a446199f85ce (patch) | |
| tree | 1f62941a6ebec2225e96d5d5f7dbeabfec1275fc /drivers/gpu/drm/amd/amdgpu/atom.c | |
| parent | riscv: misaligned: request misaligned exception from SBI (diff) | |
| download | kernel-9f9f6fdd1dc6791bcfe251160a96a446199f85ce.tar.gz kernel-9f9f6fdd1dc6791bcfe251160a96a446199f85ce.zip | |
riscv: misaligned: use on_each_cpu() for scalar misaligned access probing
schedule_on_each_cpu() was used without any good reason while documented
as very slow. This call was in the boot path, so better use
on_each_cpu() for scalar misaligned checking. Vector misaligned check
still needs to use schedule_on_each_cpu() since it requires irqs to be
enabled but that's less of a problem since this code is ran in a kthread.
Add a comment to explicit that.
Signed-off-by: Clément Léger <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Reviewed-by: Charlie Jenkins <[email protected]>
Tested-by: Charlie Jenkins <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions
