Received: from eggs.gnu.org ([2001:4830:134:3::10]:49799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cvnPN-0007Dq-TO for qemu-devel@nongnu.org; Wed, 05 Apr 2017 12:03:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cvnPK-0004Zk-0b for qemu-devel@nongnu.org; Wed, 05 Apr 2017 12:03:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:17709) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cvnPJ-0004ZR-S5 for qemu-devel@nongnu.org; Wed, 05 Apr 2017 12:03:41 -0400 Date: Wed, 5 Apr 2017 18:03:36 +0200 From: Igor Mammedov Message-ID: <20170405180336.37b20125@nial.brq.redhat.com> In-Reply-To: <87wpaz9e9g.fsf@linaro.org> References: <20170330164657.50c75e8c@nial.brq.redhat.com> <87k2764xex.fsf@linaro.org> <20170331102125.52405cd2@nial.brq.redhat.com> <87h9294yba.fsf@linaro.org> <20170405145142.0a417119@nial.brq.redhat.com> <87wpaz9e9g.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] qemu-2.9 crashes in tcg_handle_interrupt() during winx64 boot List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex =?UTF-8?B?QmVubsOpZQ==?= Cc: Peter Maydell , Jan Kiszka , qemu-devel@nongnu.org, "Emilio G. Cota" , Paolo Bonzini , Pranith Kumar , KONRAD Frederic , Richard Henderson On Wed, 05 Apr 2017 14:26:35 +0100 Alex Benn=C3=A9e wrote: > Igor Mammedov writes: >=20 > > On Fri, 31 Mar 2017 09:58:49 +0100 > > Alex Benn=C3=A9e wrote: > > =20 > >> Igor Mammedov writes: > >> =20 > >> > On Thu, 30 Mar 2017 16:05:58 +0100 > >> > Alex Benn=C3=A9e wrote: > >> > =20 > >> >> Igor Mammedov writes: > >> >> =20 > >> >> > (PS: resend due to wrong qemu-devel mail list address in original > >> >> > email) =20 > >> >> > >> >> Le *sigh* another way of x86 generating IRQs ;-) > >> >> > >> >> Could you test this please? > >> >> > >> >> target/i386/misc_helper: wrap BQL around another IRQ generator > >> >> > >> >> Anything that calls into HW emulation must be protected by the BQL. > >> >> > >> >> Signed-off-by: Alex Benn=C3=A9e =20 > >> > it doesn't help, > >> > it asserts in the same place anyway =20 > >> > >> That's weird. If the lock was already held I could see it failing high= er > >> up but this seems to imply we are dropping a lock as we descend into > >> hardware emulation. =20 > > I'm sorry, > > when testing it I've misplaced locking into helper_read_crN(), > > left write path untouched and went hunting for weird behavior. > > > > Anyway, > > I've tested you patch again and windows guest boots fine with it. =20 >=20 > No problem - I've done the same before ;-) It wasn't totally wasteful though, I've learned how to do nested breakpoints in gdb >=20 > Can I have a Tested-by? sure, Tested-by: Igor Mammedov >=20 > -- > Alex Benn=C3=A9e