From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LB0tL-0006iO-JN for qemu-devel@nongnu.org; Fri, 12 Dec 2008 00:48:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LB0tJ-0006gH-KI for qemu-devel@nongnu.org; Fri, 12 Dec 2008 00:48:46 -0500 Received: from [199.232.76.173] (port=41913 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LB0tJ-0006gE-D2 for qemu-devel@nongnu.org; Fri, 12 Dec 2008 00:48:45 -0500 Received: from main.gmane.org ([80.91.229.2]:44573 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LB0tJ-0004MH-0y for qemu-devel@nongnu.org; Fri, 12 Dec 2008 00:48:45 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LB0tF-0006ZQ-Nw for qemu-devel@nongnu.org; Fri, 12 Dec 2008 05:48:41 +0000 Received: from 78.158.192.230 ([78.158.192.230]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Dec 2008 05:48:41 +0000 Received: from vladimir by 78.158.192.230 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Dec 2008 05:48:41 +0000 From: Vladimir Prus Date: Fri, 12 Dec 2008 08:48:33 +0300 Message-ID: References: <200812112252.17620.vladimir@codesourcery.com> <20081211211617.GC9520@game.jcrosoft.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Sender: news Subject: [Qemu-devel] Re: SH: Improve the interrupt controller 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 Jean-Christophe PLAGNIOL-VILLARD wrote: > 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 FWIW, the most intrusive change is the bugfix for groups, so such split won't make the patch more reviewable. > IMHO your patch need some coding style cleanup also Can you be more specific? - Volodya