Patch "KVM: MIPS: Flush KVM entry code from icache globally" has been added to the 4.4-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
KVM: MIPS: Flush KVM entry code from icache globally
to the 4.4-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-mips-flush-kvm-entry-code-from-icache-globally.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
32eb12a6c11034867401d56b012e3c15d5f8141eMon Sep 17 00:00:00 2001
From: James Hogan <[email protected]>
Date: Tue, 3 Jan 2017 17:43:01 +0000
Subject: KVM: MIPS: Flush KVM entry code from icache globally
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From: James Hogan <[email protected]>
commit 32eb12a6c11034867401d56b012e3c15d5f8141e upstream.
Flush the KVM entry code from the icache on all CPUs, not just the one that built the entry code.
--- arch/mips/kvm/mips.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/mips/kvm/mips.c +2 -2
@@ -324,8 +324,8 @@ struct kvm_vcpu *kvm_arch_vcpu_create(st#endif /* Invalidate the icache for these ranges */ -local_flush_icache_range ((unsigned long )gebase, - (unsigned long )gebase +ALIGN (size,PAGE_SIZE )); +flush_icache_range ((unsigned long )gebase, + (unsigned long )gebase +ALIGN (size,PAGE_SIZE ));/* * Allocate comm page for guest kernel, a TLB will be reserved for
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/kvm-mips-flush-kvm-entry-code-from-icache-globally.patch