OSDN Git Service

powerpc/powernv: opal-kmsg standardise OPAL_BUSY handling
authorNicholas Piggin <npiggin@gmail.com>
Mon, 30 Apr 2018 14:55:46 +0000 (00:55 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 24 Jul 2018 12:09:55 +0000 (22:09 +1000)
commit3a80bfc7ea96d253be0e7d869c059b1976c19809
tree3307e5e450ca851da8a22277103e443aabcbf3e2
parent36d2dabc8762f1f4118f80d85049958390f061a8
powerpc/powernv: opal-kmsg standardise OPAL_BUSY handling

OPAL_CONSOLE_FLUSH is documented as being able to return OPAL_BUSY,
so implement the standard OPAL_BUSY handling for it.

Reviewed-by: Russell Currey <ruscur@russell.cc>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/opal-kmsg.c