mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
powerpc/powernv: Fix OPAL NVRAM driver OPAL_BUSY loops
commit3b8070335fupstream. The OPAL NVRAM driver does not sleep in case it gets OPAL_BUSY or OPAL_BUSY_EVENT from firmware, which causes large scheduling latencies, and various lockup errors to trigger (again, BMC reboot can cause it). Fix this by converting it to the standard form OPAL_BUSY loop that sleeps. Fixes:628daa8d5a("powerpc/powernv: Add RTC and NVRAM support plus RTAS fallbacks") Depends-on:34dd25de9f("powerpc/powernv: define a standard delay for OPAL_BUSY type retry loops") Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
parent
153da3464b
commit
d79e2213f2
1 changed files with 6 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue