diff options
author | Mario Limonciello <[email protected]> | 2023-11-27 23:36:53 -0600 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2023-12-17 22:33:55 +0100 |
commit | cef9ecc8e938dd48a560f7dd9be1246359248d20 (patch) | |
tree | 866b3bc8b296046fe68e8b710307800408680f2f /scripts/gdb/linux/stackdepot.py | |
parent | 120931db07b49252aba2073096b595482d71857c (diff) |
rtc: Extend timeout for waiting for UIP to clear to 1s
Specs don't say anything about UIP being cleared within 10ms. They
only say that UIP won't occur for another 244uS. If a long NMI occurs
while UIP is still updating it might not be possible to get valid
data in 10ms.
This has been observed in the wild that around s2idle some calls can
take up to 480ms before UIP is clear.
Adjust callers from outside an interrupt context to wait for up to a
1s instead of 10ms.
Cc: <[email protected]> # 6.1.y
Fixes: ec5895c0f2d8 ("rtc: mc146818-lib: extract mc146818_avoid_UIP")
Reported-by: Carsten Hatger <[email protected]>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=217626
Tested-by: Mateusz Jończyk <[email protected]>
Reviewed-by: Mateusz Jończyk <[email protected]>
Acked-by: Mateusz Jończyk <[email protected]>
Signed-off-by: Mario Limonciello <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions