android_kernel_samsung_a7y1.../arch
Sebastian Andrzej Siewior 914eb831aa ARM: 8840/1: use a raw_spinlock_t in unwind
[ Upstream commit 74ffe79ae538283bbf7c155e62339f1e5c87b55a ]

Mostly unwind is done with irqs enabled however SLUB may call it with
irqs disabled while creating a new SLUB cache.

I had system freeze while loading a module which called
kmem_cache_create() on init. That means SLUB's __slab_alloc() disabled
interrupts and then

->new_slab_objects()
 ->new_slab()
  ->setup_object()
   ->setup_object_debug()
    ->init_tracking()
     ->set_track()
      ->save_stack_trace()
       ->save_stack_trace_tsk()
        ->walk_stackframe()
         ->unwind_frame()
          ->unwind_find_idx()
           =>spin_lock_irqsave(&unwind_lock);

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-06 14:50:37 +02:00
..
alpha A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
arc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
arm ARM: 8840/1: use a raw_spinlock_t in unwind 2020-04-06 14:50:37 +02:00
arm64 arm64: debug: Ensure debug handlers check triggering exception level 2020-04-06 13:43:38 +02:00
avr32 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blackfin A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
c6x A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cris A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
frv A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
h8300 h8300: use cc-cross-prefix instead of hardcoding h8300-unknown-linux- 2020-04-06 14:21:05 +02:00
hexagon A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ia64 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
m32r A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
m68k A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
metag A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
microblaze A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mips MIPS: Fix kernel crash for R6 in jump label branch function 2020-04-06 10:58:13 +02:00
mn10300 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nios2 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
openrisc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
parisc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
powerpc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
s390 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
score A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sh A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sparc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
um A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
unicore32 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
x86 x86/smp: Enforce CONFIG_HOTPLUG_CPU when SMP=y 2020-04-06 13:01:35 +02:00
xtensa A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30