]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit081f4d344c13b536f67735b5e1de65ea928cfff8
tree9fd9d2b7d1aa113903ac0f5e77fe5d2bb6949dbe
parentaf84a3fc2d5513d28047479c649ba93a7184444c
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