Re: [3/3] powerpc/powernv: Fix OPAL NVRAM driver OPAL_BUSY loops

2018-04-11 Thread Michael Ellerman
On Tue, 2018-04-10 at 11:49:33 UTC, Nicholas Piggin wrote: > 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 conver

[PATCH 3/3] powerpc/powernv: Fix OPAL NVRAM driver OPAL_BUSY loops

2018-04-10 Thread Nicholas Piggin
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: 628daa