From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LAsuh-0007wj-G9 for qemu-devel@nongnu.org; Thu, 11 Dec 2008 16:17:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LAsue-0007sD-T8 for qemu-devel@nongnu.org; Thu, 11 Dec 2008 16:17:38 -0500 Received: from [199.232.76.173] (port=55314 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAsue-0007rv-AX for qemu-devel@nongnu.org; Thu, 11 Dec 2008 16:17:36 -0500 Received: from 42.mail-out.ovh.net ([213.251.189.42]:38385) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LAsud-0000c3-N4 for qemu-devel@nongnu.org; Thu, 11 Dec 2008 16:17:36 -0500 Date: Thu, 11 Dec 2008 22:16:17 +0100 From: Jean-Christophe PLAGNIOL-VILLARD Subject: Re: [Qemu-devel] SH: Improve the interrupt controller Message-ID: <20081211211617.GC9520@game.jcrosoft.org> References: <200812112252.17620.vladimir@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200812112252.17620.vladimir@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 22:52 Thu 11 Dec , Vladimir Prus wrote: > > This patch improves the intc implementation in these ways: > > - On interrupt, the priority mask in SSR is updated, > if OPM register tells it should be > - We check interrupt priority and compare it with > priority mask > - Priorities for IRL interrupts (which are fixed), are > assigned > - The ICR register is supported, and LVLMODE bit, which > controls if interrupt is automatically de-asserted, > is implemented > - A bug where handling of paired set mask / clear mask > registers was done backward is fixed > - A bug where enabling a group did not work was fixed. I'll be better to split this patch in two on for the bug fix and one for the improvements IMHO your patch need some coding style cleanup also Best Regards, J.