]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 15 Jun 2017 03:43:47 +0000 (20:43 -0700)
commitc3ae4d9c6016273d6d3da4efc501bbf16a4da2b0
tree4e9a16a8182538435fb798328e5d2c8230ccd4a0
parentace38f215e212deb13709d240672f51662dcbafb
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>
(cherry picked from commit cffb3e76818fee4763a2ce5f2b1eca2d7885e2cf)

Signed-off-by: Vijay Kumar <vijay.ac.kumar@oracle.com>
Orabug: 24297427
arch/sparc/kernel/smp_64.c