]> www.infradead.org Git - users/jedix/linux-maple.git/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Apr 2013 19:51:08 +0000 (12:51 -0700)
commit518a8ee27d903ee9d2340c264994c813e1d421b5
tree2544d360636c8711667abf11b2eaa15312486eb8
parentd2c298eb24fe580153f1e122bb6da1bfdd798c59
kvm/powerpc/e500mc: fix tlb invalidation on cpu migration

commit c5e6cb051c5f7d56f05bd6a4af22cb300a4ced79 upstream.

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.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/kvm/e500mc.c