Commit Message

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>
---
arch/powerpc/kvm/e500mc.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

Comments

On 08.03.2013, at 21:25, Scott Wood wrote:
> 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>
Thanks, applied to kvm-ppc-3.9.
Alex
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

> On 08.03.2013, at 21:25, Scott Wood wrote:> > > 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>> > Thanks, applied to kvm-ppc-3.9.> > > Alex
Can you pull it into kvm-ppc-queue?
Thanks,
Mike
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

On 25.04.2013, at 11:04, Caraman Mihai Claudiu-B02008 wrote:
>> On 08.03.2013, at 21:25, Scott Wood wrote:>> >>> 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>>> >> Thanks, applied to kvm-ppc-3.9.>> >> >> Alex> > Can you pull it into kvm-ppc-queue?
It's not in kvm/next, so it'd potentially screw things up again when I create a new pull request.
Please just do a manual git merge of kvm/master or linus/master into kvm-ppc-queue.
Alex
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html