diff options
| author | Michael Ellerman <[email protected]> | 2014-05-23 18:15:25 +1000 |
|---|---|---|
| committer | Benjamin Herrenschmidt <[email protected]> | 2014-05-28 13:35:34 +1000 |
| commit | 441c19c8a290f5f1e1b263691641124c84232b6e (patch) | |
| tree | a9541511426e26fc3a654d04fb38d2132ada9415 /include/linux/timerqueue.h | |
| parent | 64bb80d87f01ec01c76863b61b457e0904387f2f (diff) | |
powerpc/kvm/book3s_hv: Rework the secondary inhibit code
As part of the support for split core on POWER8, we want to be able to
block splitting of the core while KVM VMs are active.
The logic to do that would be exactly the same as the code we currently
have for inhibiting onlining of secondaries.
Instead of adding an identical mechanism to block split core, rework the
secondary inhibit code to be a "HV KVM is active" check. We can then use
that in both the cpu hotplug code and the upcoming split core code.
Signed-off-by: Michael Ellerman <[email protected]>
Signed-off-by: Michael Neuling <[email protected]>
Acked-by: Alexander Graf <[email protected]>
Acked-by: Paul Mackerras <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions