KVM: s390: Refactor host cmma and pfmfi interpretation controls
use_cmma in kvm_arch means that the KVM hypervisor is allowed to use cmma, whereas use_cmma in the mm context means cmm has been used before. Let's rename the context one to uses_cmm, as the vm does use collaborative memory management but the host uses the cmm assist (interpretation facility). Also let's introduce use_pfmfi, so we can remove the pfmfi disablement when we activate cmma and rather not activate it in the first place. Signed-off-by:Janosch Frank <frankja@linux.vnet.ibm.com> Message-Id: <1518779775-256056-2-git-send-email-frankja@linux.vnet.ibm.com> Reviewed-by:
David Hildenbrand <david@redhat.com> Reviewed-by:
Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by:
Christian Borntraeger <borntraeger@de.ibm.com>
Showing
- arch/s390/include/asm/kvm_host.h 1 addition, 0 deletionsarch/s390/include/asm/kvm_host.h
- arch/s390/include/asm/mmu.h 2 additions, 2 deletionsarch/s390/include/asm/mmu.h
- arch/s390/include/asm/mmu_context.h 1 addition, 1 deletionarch/s390/include/asm/mmu_context.h
- arch/s390/kvm/kvm-s390.c 12 additions, 11 deletionsarch/s390/kvm/kvm-s390.c
- arch/s390/kvm/priv.c 2 additions, 2 deletionsarch/s390/kvm/priv.c
Loading
Please register or sign in to comment