Skip to content

Fix RTC and NVRAM OPAL_BUSY loops

Nicholas Piggin linux-rtc linuxppc-dev 1 version Applied

Status from this message: Applied to powerpc fixes, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3powerpc/powernv: define a standard delay for OPAL_BUSY type retry loopsarch/powerpc/include/asm/opal.h+3 -01 reply
2/3powerpc/powernv: Fix OPAL RTC driver OPAL_BUSY loopsarch/powerpc/platforms/powernv/opal-rtc.c drivers/rtc/rtc-opal.c+28 -176 replies
3/3powerpc/powernv: Fix OPAL NVRAM driver OPAL_BUSY loopsarch/powerpc/platforms/powernv/opal-nvram.c+6 -11 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAlexandre Belloni
1/3
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Fix RTC and NVRAM OPAL_BUSY loops

This is a couple of important fixes broken out of the series "first step of standardising OPAL_BUSY handling", that prevents the kernel from locking up if the NVRAM or RTC hardware does not respond.

Another one, the console driver, has a similar problem that has also been hit in testing, but that requires larger fixes to the opal console and hvc tty driver that won't make it for 4.17.

Thanks,
Nick

Nicholas Piggin (3):
powerpc/powernv: define a standard delay for OPAL_BUSY type retry
loops
powerpc/powernv: Fix OPAL RTC driver OPAL_BUSY loops powerpc/powernv: Fix OPAL NVRAM driver OPAL_BUSY loops

 arch/powerpc/include/asm/opal.h             |  3 ++
 arch/powerpc/platforms/powernv/opal-nvram.c |  7 +++-
 arch/powerpc/platforms/powernv/opal-rtc.c   |  8 +++--
 drivers/rtc/rtc-opal.c                      | 37 +++++++++++++--------
 4 files changed, 37 insertions(+), 18 deletions(-)
Signature · 1 line
2.17.0