diff options
author | Paul Mackerras <paulus@ozlabs.org> | 2017-09-13 08:53:48 +0300 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2017-11-01 07:36:12 +0300 |
commit | 1b151ce466175746b1b1a87d42ba5f5a050a5aba (patch) | |
tree | 0f6f6fca20b46ce442153961fbfa60c979fe33b9 /arch/powerpc/include | |
parent | 8dc6cca556e4126f77b71cf8e0c45ccc78d1d213 (diff) | |
download | linux-1b151ce466175746b1b1a87d42ba5f5a050a5aba.tar.xz |
KVM: PPC: Book3S HV: Rename hpte_setup_done to mmu_ready
This renames the kvm->arch.hpte_setup_done field to mmu_ready because
we will want to use it for radix guests too -- both for setting things
up before vcpu execution, and for excluding vcpus from executing while
MMU-related things get changed, such as in future switching the MMU
from radix to HPT mode or vice-versa.
This also moves the call to kvmppc_setup_partition_table() that was
done in kvmppc_hv_setup_htab_rma() for HPT guests, and the setting
of mmu_ready, into the caller in kvmppc_vcpu_run_hv().
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/kvm_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/kvm_host.h b/arch/powerpc/include/asm/kvm_host.h index e372ed871c51..49493ea5520b 100644 --- a/arch/powerpc/include/asm/kvm_host.h +++ b/arch/powerpc/include/asm/kvm_host.h @@ -276,7 +276,7 @@ struct kvm_arch { int tlbie_lock; unsigned long lpcr; unsigned long vrma_slb_v; - int hpte_setup_done; + int mmu_ready; atomic_t vcpus_running; u32 online_vcores; atomic_t hpte_mod_interest; |