All of lore.kernel.org
 help / color / mirror / Atom feed
* Patch "KVM: s390: Zero out current VMDB of STSI before including level3 data." has been added to the 3.14-stable tree
@ 2015-05-02 12:29 gregkh
  0 siblings, 0 replies; only message in thread
From: gregkh @ 2015-05-02 12:29 UTC (permalink / raw)
  To: tumanova, borntraeger, dahi, gregkh; +Cc: stable, stable-commits


This is a note to let you know that I've just added the patch titled

    KVM: s390: Zero out current VMDB of STSI before including level3 data.

to the 3.14-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     kvm-s390-zero-out-current-vmdb-of-stsi-before-including-level3-data.patch
and it can be found in the queue-3.14 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.


>From b75f4c9afac2604feb971441116c07a24ecca1ec Mon Sep 17 00:00:00 2001
From: Ekaterina Tumanova <tumanova@linux.vnet.ibm.com>
Date: Tue, 3 Mar 2015 09:54:41 +0100
Subject: KVM: s390: Zero out current VMDB of STSI before including level3 data.

From: Ekaterina Tumanova <tumanova@linux.vnet.ibm.com>

commit b75f4c9afac2604feb971441116c07a24ecca1ec upstream.

s390 documentation requires words 0 and 10-15 to be reserved and stored as
zeros. As we fill out all other fields, we can memset the full structure.

Signed-off-by: Ekaterina Tumanova <tumanova@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

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

--- a/arch/s390/kvm/priv.c
+++ b/arch/s390/kvm/priv.c
@@ -414,6 +414,7 @@ static void handle_stsi_3_2_2(struct kvm
 	for (n = mem->count - 1; n > 0 ; n--)
 		memcpy(&mem->vm[n], &mem->vm[n - 1], sizeof(mem->vm[0]));
 
+	memset(&mem->vm[0], 0, sizeof(mem->vm[0]));
 	mem->vm[0].cpus_total = cpus;
 	mem->vm[0].cpus_configured = cpus;
 	mem->vm[0].cpus_standby = 0;


Patches currently in stable-queue which might be from tumanova@linux.vnet.ibm.com are

queue-3.14/kvm-s390-zero-out-current-vmdb-of-stsi-before-including-level3-data.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-05-02 12:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-02 12:29 Patch "KVM: s390: Zero out current VMDB of STSI before including level3 data." has been added to the 3.14-stable tree gregkh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.