• Thomas Klein's avatar
    ehea: add kdump support · 21eee2dd
    Thomas Klein authored
    This patch adds kdump support to the ehea driver. As the firmware doesn't free
    resource handles automatically, the driver has to run an as simple as possible
    free resource function in case of a crash shutdown. The function iterates over
    two arrays freeing all resource handles which are stored there. The arrays are
    kept up-to-date during normal runtime. The crash handler fn is triggered by the
    recently introduced PPC crash shutdown reg/unreg functions.
    Signed-off-by: default avatarThomas Klein <tklein@de.ibm.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    21eee2dd
ehea.h 11.6 KB