On Tue, 2018-04-10 at 11:49:32 UTC, Nicholas Piggin wrote: > 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 628daa8d5abfd ("powerpc/powernv: Add RTC and NVRAM support plus RTAS fallbacks" > Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> > Cc: linux-rtc@xxxxxxxxxxxxxxx > Signed-off-by: Nicholas Piggin <npiggin@xxxxxxxxx> > Acked-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx> Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/682e6b4da5cbe8e9a53f979a58c2a9 cheers