summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>2025-02-05 12:55:19 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2025-03-11 17:11:20 +0300
commit27b2fcbd6b98204b0dce62e9aa9540ca0a2b70f1 (patch)
tree1401302ef76a02857151f984f7e7f9889a2963c4 /tools/perf/scripts/python/export-to-sqlite.py
parent8a9b1751b26cf04dabd903e32d0cc9c765fb3116 (diff)
downloadlinux-27b2fcbd6b98204b0dce62e9aa9540ca0a2b70f1.tar.xz
rtc: renesas-rtca3: Disable interrupts only if the RTC is enabled
If the RTC is not enabled and the code attempts to disable the interrupt, the readb_poll_timeout_atomic() function in the rtca3_alarm_irq_set_helper() may timeout, leading to probe failures. This issue is reproducible on some devices because the initial values of the PIE and AIE bits in the RCR1 register are undefined. To prevent probe failures in this scenario, disable RTC interrupts only when the RTC is actually enabled. Fixes: d4488377609e ("rtc: renesas-rtca3: Add driver for RTCA-3 available on Renesas RZ/G3S SoC") Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Link: https://lore.kernel.org/r/20250205095519.2031742-1-claudiu.beznea.uj@bp.renesas.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions