]> git.baikalelectronics.ru Git - kernel.git/commit
sparc64: Set cpu state to offline when stopped
authorVijay Kumar <vijay.ac.kumar@oracle.com>
Wed, 1 Feb 2017 19:34:37 +0000 (11:34 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Feb 2017 16:27:24 +0000 (08:27 -0800)
commit6c7d98d2b66deebda3c4ab9f0b47fe5c2d60267e
tree79bde1cfa73e4de029c9c3d700ff2c3d4bd73253
parent539c95658cf53d736d27d7db55dfe95f6f00fe3f
sparc64: Set cpu state to offline when stopped

CPU needs to be marked offline before stopping it. When not marked
offline, the xcall receives HV_EWOULDBLOCK and so assumes that not all
CPUs received the message, and retries. After 10000 retries, it finally
fails with fatal mondo timeout.

Signed-off-by: Vijay Kumar <vijay.ac.kumar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/smp_64.c