From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin O'Connor Subject: Re: [Qemu-devel] E5-2620v2 - emulation stop error Date: Wed, 11 Mar 2015 14:45:31 -0400 Message-ID: <20150311184531.GA11423@morn.localdomain> References: <20150310202958.GR2338@work-vm> <20150311134556.GH2334@work-vm> <20150311154220.GA26463@morn.localdomain> <20150311155306.GK2334@work-vm> <20150311163739.GA29522@morn.localdomain> <20150311165203.GL2334@work-vm> <20150311173738.GD29522@morn.localdomain> <20150311175904.GN2334@work-vm> <20150311184039.GA7341@morn.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Bandan Das , Paolo Bonzini , kraxel@redhat.com, Andrey Korolyov , "qemu-devel@nongnu.org" , "kvm@vger.kernel.org" To: "Dr. David Alan Gilbert" Return-path: Received: from mail-qc0-f175.google.com ([209.85.216.175]:36304 "EHLO mail-qc0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751368AbbCKSpe (ORCPT ); Wed, 11 Mar 2015 14:45:34 -0400 Received: by qcxm20 with SMTP id m20so12614870qcx.3 for ; Wed, 11 Mar 2015 11:45:33 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20150311184039.GA7341@morn.localdomain> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Mar 11, 2015 at 02:40:39PM -0400, Kevin O'Connor wrote: > For what it's worth, I can't seem to trigger the problem if I move the > cmos read above the SIPI/LAPIC code (see patch below). Ugh! That's a seabios bug. Main processor modifies the rtc index (rtc_read()) while APs try to clear the NMI bit by modifying the rtc index (romlayout.S:transition32). I'll put together a fix. -Kevin From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVldR-00012k-PY for qemu-devel@nongnu.org; Wed, 11 Mar 2015 14:45:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVldO-0001Qg-Aa for qemu-devel@nongnu.org; Wed, 11 Mar 2015 14:45:37 -0400 Received: from mail-qg0-f43.google.com ([209.85.192.43]:42511) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVldO-0001Pf-2S for qemu-devel@nongnu.org; Wed, 11 Mar 2015 14:45:34 -0400 Received: by qgfi50 with SMTP id i50so12341182qgf.9 for ; Wed, 11 Mar 2015 11:45:33 -0700 (PDT) Date: Wed, 11 Mar 2015 14:45:31 -0400 From: Kevin O'Connor Message-ID: <20150311184531.GA11423@morn.localdomain> References: <20150310202958.GR2338@work-vm> <20150311134556.GH2334@work-vm> <20150311154220.GA26463@morn.localdomain> <20150311155306.GK2334@work-vm> <20150311163739.GA29522@morn.localdomain> <20150311165203.GL2334@work-vm> <20150311173738.GD29522@morn.localdomain> <20150311175904.GN2334@work-vm> <20150311184039.GA7341@morn.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150311184039.GA7341@morn.localdomain> Subject: Re: [Qemu-devel] E5-2620v2 - emulation stop error List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert" Cc: Andrey Korolyov , "kvm@vger.kernel.org" , "qemu-devel@nongnu.org" , Bandan Das , kraxel@redhat.com, Paolo Bonzini On Wed, Mar 11, 2015 at 02:40:39PM -0400, Kevin O'Connor wrote: > For what it's worth, I can't seem to trigger the problem if I move the > cmos read above the SIPI/LAPIC code (see patch below). Ugh! That's a seabios bug. Main processor modifies the rtc index (rtc_read()) while APs try to clear the NMI bit by modifying the rtc index (romlayout.S:transition32). I'll put together a fix. -Kevin