]> Pileus Git - ~andy/linux/commit
kvm/powerpc/e500mc: fix tlb invalidation on cpu migration
authorScott Wood <scottwood@freescale.com>
Mon, 18 Feb 2013 18:13:09 +0000 (18:13 +0000)
committerAlexander Graf <agraf@suse.de>
Wed, 10 Apr 2013 22:06:39 +0000 (00:06 +0200)
commitc5e6cb051c5f7d56f05bd6a4af22cb300a4ced79
treeeb54ebc8dcbefa69f08e40c8865b5cc18ea37b01
parent31880c37c11e28cb81c70757e38392b42e695dc6
kvm/powerpc/e500mc: fix tlb invalidation on cpu migration

The existing check handles the case where we've migrated to a different
core than we last ran on, but it doesn't handle the case where we're
still on the same cpu we last ran on, but some other vcpu has run on
this cpu in the meantime.

Without this, guest segfaults (and other misbehavior) have been seen in
smp guests.

Cc: stable@vger.kernel.org # 3.8.x
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/e500mc.c