Home
last modified time | relevance | path

Searched hist:da35048f2600633a7f9ba5fa7d6e3b1d0195938b (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/kernel/
H A Dkallsyms_selftest.cdiff da35048f2600633a7f9ba5fa7d6e3b1d0195938b Thu Jan 12 04:54:26 CST 2023 Nicholas Piggin <npiggin@gmail.com> 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>