• David Johnson's avatar
    Move emergency_restart call out of bh in Linux ipod module on aarch64/powerpc64. · 4a801b22
    David Johnson authored
    Calling emergency_restart directly from the softirq/bh ipod icmp handler
    has a history of causing panics prior to the intended shutdown on both
    aarch64 and powerpc64.  The panics didn't inhibit the intended reboot,
    but on OPAL-booted ppc64le, were very noisy, because each "hyperthread"
    cpu attempted a dealloc of the irq handler from within the handler, so
    the console got a noisy stack trace for each thread.
    
    So now if IPOD_QUEUE_RESTART is defined (and it is by default on aarch64
    and powerpc64), we move the call to emergency_restart into a dedicated,
    preallocated workqueue thread, whose sole purpose is to (eventually)
    reboot the machine.  Wasteful, but we don't want to need to initialize
    anything, or use a shared workqueue, if an IPOD is really necessary, at
    IPOD time.
    4a801b22
Name
Last commit
Last update
..
linux_mod Loading commit data...
GNUmakefile.in Loading commit data...
README Loading commit data...
apod.in Loading commit data...
ipod.c Loading commit data...
patch-ipod-2.6.18-openvz Loading commit data...
patch-ipod-2.6.20 Loading commit data...
patch-ipod-freebsd-4.7 Loading commit data...
patch-ipod-freebsd-6.2 Loading commit data...
patch-ipod-freebsd-7.2 Loading commit data...
patch-ipod-freebsd-7.3 Loading commit data...
patch-ipod-freebsd-8.1 Loading commit data...
patch-ipod-linux-2.4.19 Loading commit data...
patch-ipod-linux-2.4.2 Loading commit data...
patch-ipod-linux-2.4.20-31.9 Loading commit data...
patch-ipod-linux-2.4.34.4 Loading commit data...
patch-ipod-linux-2.6.11-1.1369_FC4 Loading commit data...
patch-ipod-linux-2.6.12-1.1387_FC4 Loading commit data...
patch-ipod-linux-2.6.23 Loading commit data...
patch-ipod-linux-2.6.25 Loading commit data...
patch-ipod-linux-2.6.34 Loading commit data...
patch-ipod-linux-2.6.40 Loading commit data...