Merge branch 'kvm-ppc-next' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus...
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 2 Nov 2017 17:21:26 +0000 (18:21 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 2 Nov 2017 17:21:26 +0000 (18:21 +0100)
commit6d6ab940dc8b1c84fc86195c0f15a82ef282c8a3
tree90127d4682f3e728a3516994e7696488f1db6385
parent9ffd986c6e4e59c11857cbc78e4217e9569f3725
parentc01015091a77035de1939ef106bfbcaf9a21395f
Merge branch 'kvm-ppc-next' of git://git./linux/kernel/git/paulus/powerpc into HEAD

Apart from various bugfixes and code cleanups, the major new feature
is the ability to run guests using the hashed page table (HPT) MMU
mode on a host that is using the radix MMU mode.  Because of limitations
in the current POWER9 chip (all SMT threads in each core must use the
same MMU mode, HPT or radix), this requires the host to be configured
to run similar to POWER8: the host runs in single-threaded mode (only
thread 0 of each core online), and have KVM be able to wake up the other
threads when a KVM guest is to be run, and use the other threads for
running guest VCPUs.  A new module parameter, called "indep_threads_mode",
is normally Y on POWER9 but must be set to N before any HPT guests can
be run on a radix host:

    # echo N >/sys/module/kvm_hv/parameters/indep_threads_mode
    # ppc64_cpu --smt=off

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>