staging: unisys: visorbus: allow visorhba device to be used for kdump
authorTim Sell <Timothy.Sell@unisys.com>
Wed, 2 Mar 2016 00:45:04 +0000 (19:45 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Mar 2016 03:14:07 +0000 (19:14 -0800)
commit12c957dc942c993853fa3f357b9071b8633ef383
tree28f8538a28dc411739e7a2adadb8fe0554e86e8b
parentc732623b0bb3631d61203e1e9f87bee34b7fd169
staging: unisys: visorbus: allow visorhba device to be used for kdump

This patch saves off the create_bus and create_device controlvm messages
for the visorhba device, so that they can be resurrected and used in the
kdump kernel.

After this patch, a crash dump can be generated using:

    # service kdump start
    # echo 1 > /proc/sys/kernel/sysrq
    # echo c > /proc/sysrq-trigger

Signed-off-by: Timothy Sell <timothy.sell@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchipset.c