• Nathan Fontenot's avatar
    ibmvnic: driver initialization for kdump/kexec · 6a2fb0e9
    Nathan Fontenot authored
    When booting into the kdump/kexec kernel, pHyp and vios
    are not prepared for the initialization crq request and
    a failover transport event is generated. This is not
    handled correctly.
    
    At this point in initialization the driver is still in
    the 'probing' state and cannot handle a full reset of the
    driver as is normally done for a failover transport event.
    
    To correct this we catch driver resets while still in the
    'probing' state and return EAGAIN. This results in the
    driver tearing down the main crq and calling ibmvnic_init()
    again.
    Signed-off-by: default avatarNathan Fontenot <nfont@linux.vnet.ibm.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    6a2fb0e9
ibmvnic.c 107 KB