diff options
author | Nathan Fontenot <nfont@linux.vnet.ibm.com> | 2017-06-15 14:48:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-16 15:21:07 -0400 |
commit | 6a2fb0e99f9cab349dce0a36862b0cd370036452 (patch) | |
tree | de3f5026310de3fc9df222f576a672cf761d4765 /arch/score/lib | |
parent | 247488c0a490214a0b5227a678ec2d46b7dba4e5 (diff) | |
download | linux-6a2fb0e99f9cab349dce0a36862b0cd370036452.tar.bz2 |
ibmvnic: driver initialization for kdump/kexec
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: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/score/lib')
0 files changed, 0 insertions, 0 deletions