[2/3] powerpc/powernv: Fix OPAL RTC driver OPAL_BUSY loops
Michael Ellerman
patch-notifications at ellerman.id.au
Thu Apr 26 20:22:43 AEST 2018
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 at kernel.crashing.org>
> Cc: linux-rtc at vger.kernel.org
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
> Acked-by: Alexandre Belloni <alexandre.belloni at bootlin.com>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/682e6b4da5cbe8e9a53f979a58c2a9
cheers
More information about the Linuxppc-dev
mailing list