diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2020-03-24 22:12:16 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2020-04-15 18:27:25 +0200 |
commit | a900aeac253729411cf33c6cb598c152e9e4137f (patch) | |
tree | 6da7d9aa0522bc6423900ba220f7a2b4baf94939 /lib/ubsan.c | |
parent | 3c1d1613be80c2e17f1ddf672df1d8a8caebfd0d (diff) |
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: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'lib/ubsan.c')
0 files changed, 0 insertions, 0 deletions