Add hooks to check the do_serror can be recover or not.
When PCIe encounters completion timeout, PCIe hardware will
reply slave error to bus,oplus which will causes the system to panic.
Bug: 247846368
Bug: 250331401
Signed-off-by: qizhong cheng <qizhong.cheng@mediatek.com>
Change-Id: Iaef6c9a6ac07e552939c0f8e386213cb930cfb6e
(cherry picked from commit a89fbc0de0)
1.1 KiB
1.1 KiB