diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2023-01-12 20:54:26 +1000 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2023-01-13 15:09:08 -0800 |
commit | da35048f2600633a7f9ba5fa7d6e3b1d0195938b (patch) | |
tree | 5fe3f95f279a3f842fba99852a25e3f71d7f7ccd /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | |
parent | 88603b6dc419445847923fcb7fe5080067a30f98 (diff) |
kallsyms: Fix scheduling with interrupts disabled in self-test
kallsyms_on_each* may schedule so must not be called with interrupts
disabled. The iteration function could disable interrupts, but this
also changes lookup_symbol() to match the change to the other timing
code.
Reported-by: Erhard F. <erhard_f@mailbox.org>
Link: https://lore.kernel.org/all/bug-216902-206035@https.bugzilla.kernel.org%2F/
Reported-by: kernel test robot <oliver.sang@intel.com>
Link: https://lore.kernel.org/oe-lkp/202212251728.8d0872ff-oliver.sang@intel.com
Fixes: 30f3bb09778d ("kallsyms: Add self-test facility")
Tested-by: "Erhard F." <erhard_f@mailbox.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c')
0 files changed, 0 insertions, 0 deletions