powerpc/xive: fix hcall H_INT_RESET to support long busy delays
authorCédric Le Goater <clg@kaod.org>
Tue, 8 May 2018 07:05:15 +0000 (09:05 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 May 2018 13:25:09 +0000 (23:25 +1000)
commit028555a590d647eb75b975b05dacc35748626469
tree9fd9d2b7d1aa113903ac0f5e77fe5d2bb6949dbe
parentd2b04b0c78881ef1c051cc3a4a2c61b7bf91aa53
powerpc/xive: fix hcall H_INT_RESET to support long busy delays

The hcall H_INT_RESET can take some time to complete and in such cases
it returns H_LONG_BUSY_* codes requiring the machine to sleep for a
while before retrying.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/sysdev/xive/spapr.c