commit | b350f0a3eb264962caefeb892af56c1b727ee03f | [log] [tgz] |
---|---|---|
author | Arindam Nath <arindam.nath@amd.com> | Wed Feb 05 21:24:32 2020 +0530 |
committer | Jon Mason <jdmason@kudzu.us> | Fri Mar 13 10:04:20 2020 -0400 |
tree | 2047b9b6e16f066c17da856ed5db695eb6181232 | |
parent | ac10d4f6c2a8247de21655f4564b0e209c3c1dd4 [diff] |
NTB: add pci shutdown handler for AMD NTB The PCI shutdown handler is invoked in response to system reboot or shutdown. A data transfer might still be in flight when this happens. So the very first action we take here is to send a link down notification, so that any pending data transfer is terminated. Rest of the actions are same as that of PCI remove handler. Signed-off-by: Arindam Nath <arindam.nath@amd.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>