[PATCH 5/5] mtd: powernv_flash: Use opal_async_wait_response_interruptible()
computersforpeace at gmail.com
Sat Jul 8 11:28:11 AEST 2017
On Thu, Jun 29, 2017 at 04:54:13PM +1000, Cyril Bur wrote:
> The OPAL calls performed in this driver shouldn't be using
> opal_async_wait_response() as this performs a wait_event() which, on
> long running OPAL calls could result in hung task warnings. wait_event()
> also prevents timely signal delivery which is also undesirable.
> This patch also attempts to quieten down the use of dev_err() when
> errors haven't actually occurred and also to return better information up
> the stack rather than always -EIO.
> Signed-off-by: Cyril Bur <cyrilbur at gmail.com>
> drivers/mtd/devices/powernv_flash.c | 18 +++++++++++-------
> 1 file changed, 11 insertions(+), 7 deletions(-)
Acked-by: Brian Norris <computersforpeace at gmail.com>
More information about the Linuxppc-dev