public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] KVM: s390: Fix for kvm/master (target 4.1)
@ 2015-04-15 10:27 Christian Borntraeger
  2015-04-15 10:27 ` [PATCH] KVM: s390: disable RRBM again Christian Borntraeger
  2015-04-15 11:11 ` [PATCH] KVM: s390: Fix for kvm/master (target 4.1) Paolo Bonzini
  0 siblings, 2 replies; 3+ messages in thread
From: Christian Borntraeger @ 2015-04-15 10:27 UTC (permalink / raw)
  To: KVM
  Cc: Paolo Bonzini, Alexander Graf, Cornelia Huck, Jens Freimann,
	linux-s390, Christian Borntraeger

Paolo,

here is a small fix for a regression that came in during the
merge window. If affects only guests older than 3.12 when
running on z196 or newer and transparent huge pages are used
in the guest.

As it is only one patch I prepared no signed tag - let me
know if you prefer to have one.

Christian


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] KVM: s390: disable RRBM again
  2015-04-15 10:27 [PATCH] KVM: s390: Fix for kvm/master (target 4.1) Christian Borntraeger
@ 2015-04-15 10:27 ` Christian Borntraeger
  2015-04-15 11:11 ` [PATCH] KVM: s390: Fix for kvm/master (target 4.1) Paolo Bonzini
  1 sibling, 0 replies; 3+ messages in thread
From: Christian Borntraeger @ 2015-04-15 10:27 UTC (permalink / raw)
  To: KVM
  Cc: Paolo Bonzini, Alexander Graf, Cornelia Huck, Jens Freimann,
	linux-s390, Christian Borntraeger

commit b273921356df ("KVM: s390: enable more features that need
no hypervisor changes") also enabled RRBM. Turns out that this
instruction does need some KVM code, so lets disable that bit
again.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Fixes: b273921356df ("KVM: s390: enable more features that need no hypervisor changes") 

---
 arch/s390/kvm/kvm-s390.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c
index 3040b14..98ba0fc 100644
--- a/arch/s390/kvm/kvm-s390.c
+++ b/arch/s390/kvm/kvm-s390.c
@@ -110,7 +110,7 @@ struct kvm_stats_debugfs_item debugfs_entries[] = {
 /* upper facilities limit for kvm */
 unsigned long kvm_s390_fac_list_mask[] = {
 	0xffe6fffbfcfdfc40UL,
-	0x205c800000000000UL,
+	0x005c800000000000UL,
 };
 
 unsigned long kvm_s390_fac_list_mask_size(void)
-- 
2.3.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] KVM: s390: Fix for kvm/master (target 4.1)
  2015-04-15 10:27 [PATCH] KVM: s390: Fix for kvm/master (target 4.1) Christian Borntraeger
  2015-04-15 10:27 ` [PATCH] KVM: s390: disable RRBM again Christian Borntraeger
@ 2015-04-15 11:11 ` Paolo Bonzini
  1 sibling, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2015-04-15 11:11 UTC (permalink / raw)
  To: Christian Borntraeger, KVM
  Cc: Alexander Graf, Cornelia Huck, Jens Freimann, linux-s390



On 15/04/2015 12:27, Christian Borntraeger wrote:
> Paolo,
> 
> here is a small fix for a regression that came in during the
> merge window. If affects only guests older than 3.12 when
> running on z196 or newer and transparent huge pages are used
> in the guest.
> 
> As it is only one patch I prepared no signed tag - let me
> know if you prefer to have one.

Thanks, it's okay.

Paolo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-15 11:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-15 10:27 [PATCH] KVM: s390: Fix for kvm/master (target 4.1) Christian Borntraeger
2015-04-15 10:27 ` [PATCH] KVM: s390: disable RRBM again Christian Borntraeger
2015-04-15 11:11 ` [PATCH] KVM: s390: Fix for kvm/master (target 4.1) Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox