diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2020-03-24 22:12:16 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2020-05-08 13:42:33 +0300 |
commit | 566c05f7cd9a5c6a257d19d4fb91ce35b3b27fb6 (patch) | |
tree | 513442eb53fa2d181d0ab1c195ad2f0dfb952ced /scripts/gdb/linux/tasks.py | |
parent | 26ca88aaea26cce966e4c9c4eaf2e0bb9a9f28ea (diff) | |
download | linux-566c05f7cd9a5c6a257d19d4fb91ce35b3b27fb6.tar.xz |
i2c: tegra: Better handle case where CPU0 is busy for a long time
Boot CPU0 always handle I2C interrupt and under some rare circumstances
(like running KASAN + NFS root) it may stuck in uninterruptible state for
a significant time. In this case we will get timeout if I2C transfer is
running on a sibling CPU, despite of IRQ being raised. In order to handle
this rare condition, the IRQ status needs to be checked after completion
timeout.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions