Searched hist:"682 e6b4da5cbe8e9a53f979a58c2a9d7dc997175" (Results 1 – 2 of 2) sorted by relevance
/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-rtc.c | diff 682e6b4da5cbe8e9a53f979a58c2a9d7dc997175 Tue Apr 10 13:49:32 CEST 2018 Nicholas Piggin <npiggin@gmail.com> rtc: opal: Fix OPAL RTC driver OPAL_BUSY loops
The OPAL RTC driver does not sleep in case it gets OPAL_BUSY or OPAL_BUSY_EVENT from firmware, which causes large scheduling latencies, up to 50 seconds have been observed here when RTC stops responding (BMC reboot can do it).
Fix this by converting it to the standard form OPAL_BUSY loop that sleeps.
Fixes: 628daa8d5abf ("powerpc/powernv: Add RTC and NVRAM support plus RTAS fallbacks") Cc: stable@vger.kernel.org # v3.2+ Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|
/linux/drivers/rtc/ |
H A D | rtc-opal.c | diff 682e6b4da5cbe8e9a53f979a58c2a9d7dc997175 Tue Apr 10 13:49:32 CEST 2018 Nicholas Piggin <npiggin@gmail.com> rtc: opal: Fix OPAL RTC driver OPAL_BUSY loops
The OPAL RTC driver does not sleep in case it gets OPAL_BUSY or OPAL_BUSY_EVENT from firmware, which causes large scheduling latencies, up to 50 seconds have been observed here when RTC stops responding (BMC reboot can do it).
Fix this by converting it to the standard form OPAL_BUSY loop that sleeps.
Fixes: 628daa8d5abf ("powerpc/powernv: Add RTC and NVRAM support plus RTAS fallbacks") Cc: stable@vger.kernel.org # v3.2+ Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|