Nicholas Piggin 94a04bc25a KVM: PPC: Book3S HV: POWER9 does not require secondary thread management
POWER9 CPUs have independent MMU contexts per thread, so KVM does not
need to quiesce secondary threads, so the hwthread_req/hwthread_state
protocol does not have to be used. So patch it away on POWER9, and patch
away the branch from the Linux idle wakeup to kvm_start_guest that is
never used.

Add a warning and error out of kvmppc_grab_hwthread in case it is ever
called on POWER9.

This avoids a hwsync in the idle wakeup path on POWER9.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Acked-by: Paul Mackerras <paulus@ozlabs.org>
[mpe: Use WARN(...) instead of WARN_ON()/pr_err(...)]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-08-29 14:48:59 +10:00
..
2017-07-07 13:55:45 -07:00
2016-06-14 13:58:26 +10:00
2017-06-28 06:54:33 -07:00
2016-06-21 15:30:56 +10:00
2017-07-21 13:54:37 -07:00
2017-01-26 17:49:34 -06:00
2016-08-07 23:50:09 -04:00
2016-08-07 23:50:09 -04:00
2017-06-28 06:54:33 -07:00
2017-07-07 13:55:45 -07:00
2016-08-07 23:50:09 -04:00
2017-06-27 17:02:50 -07:00
2016-07-15 14:57:47 +10:00
2017-07-03 23:05:43 +10:00
2017-07-12 16:26:03 -07:00
2017-07-03 23:05:43 +10:00
2017-06-27 12:09:09 +10:00
2015-04-07 17:15:13 +10:00