Received: from eggs.gnu.org ([2001:4830:134:3::10]:49944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhd63-00024n-0b for qemu-devel@nongnu.org; Wed, 07 Sep 2016 09:40:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhd5y-0000XW-RT for qemu-devel@nongnu.org; Wed, 07 Sep 2016 09:40:57 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:15621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhd5y-0000XN-MA for qemu-devel@nongnu.org; Wed, 07 Sep 2016 09:40:54 -0400 Date: Wed, 7 Sep 2016 14:40:39 +0100 From: Leon Alrae Message-ID: <20160907134038.GA2981@hhmipssw201.hh.imgtec.org> References: <20160819190903.10974-1-paul.burton@imgtec.com> <20160819190903.10974-4-paul.burton@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20160819190903.10974-4-paul.burton@imgtec.com> Subject: Re: [Qemu-devel] [PATCH 3/7] hw/mips_gic: Update pin state on mask changes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Burton Cc: qemu-devel@nongnu.org, Aurelien Jarno On Fri, Aug 19, 2016 at 08:08:59PM +0100, Paul Burton wrote: > If the GIC interrupt mask is changed by a write to the smask (set mask) > or rmask (reset mask) registers, we need to re-evaluate the state of the > pins/IRQs fed to the CPU. Without doing so we risk leaving a pin high > despite the interrupt that led to that state being masked, or losing > interrupts if an already pending interrupt is unmasked. > > Signed-off-by: Paul Burton > --- > hw/intc/mips_gic.c | 56 ++++++++++++++++++++++++++++++------------------------ > 1 file changed, 31 insertions(+), 25 deletions(-) Reviewed-by: Leon Alrae