diff options
| author | David Gibson | 2016-11-01 00:25:29 +0100 |
|---|---|---|
| committer | David Gibson | 2016-11-15 00:05:51 +0100 |
| commit | 8bd9530e1302566e9dc71abe04346ca7d16613b1 (patch) | |
| tree | 98f9ae20e9a505a5b94261072f01121f6d88552e /linux-headers/asm-x86/hyperv.h | |
| parent | target-ppc: add vprtyb[w/d/q] instructions (diff) | |
| download | qemu-8bd9530e1302566e9dc71abe04346ca7d16613b1.tar.gz qemu-8bd9530e1302566e9dc71abe04346ca7d16613b1.tar.xz qemu-8bd9530e1302566e9dc71abe04346ca7d16613b1.zip | |
powernv: CPU compatibility modes don't make sense for powernv
powernv has some code (derived from the spapr equivalent) used in device
tree generation which depends on the CPU's compatibility mode / logical
PVR. However, compatibility modes don't make sense on powernv - at least
not as a property controlled by the host - because the guest in powernv
has full hypervisor level access to the virtual system, and so owns the
PCR (Processor Compatibility Register) which implements compatiblity modes.
Note: the new logic doesn't take into account kvmppc_smt_threads() like the
old version did. However, if core->nr_threads exceeds kvmppc_smt_threads()
then things will already be broken and clamping the value in the device
tree isn't going to save us.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'linux-headers/asm-x86/hyperv.h')
0 files changed, 0 insertions, 0 deletions
