From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20830 invoked by alias); 20 Aug 2007 05:52:53 -0000 Received: (qmail 20696 invoked by uid 22791); 20 Aug 2007 05:52:52 -0000 X-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_20,DK_POLICY_SIGNSOME,FORGED_RCVD_HELO,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from moutng.kundenserver.de (HELO moutng.kundenserver.de) (212.227.126.183) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 20 Aug 2007 05:52:50 +0000 Received: from i577B5C3B.versanet.de [87.123.92.59] (helo=intranator.net.lan) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis), id 0ML31I-1IN0Bo21uG-0001jv; Mon, 20 Aug 2007 07:52:37 +0200 Received: from localhost (intranator.net.lan [127.0.0.1]) by localhost (Postfix) with ESMTP id 5B24CEC; Mon, 20 Aug 2007 07:52:33 +0200 (CEST) Received: from [192.168.101.150] (kindler-mobil.net.lan [192.168.101.150]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by intranator.net.lan (Postfix) with ESMTP id 16D27E3; Mon, 20 Aug 2007 07:52:32 +0200 (CEST) Message-ID: <46C92BBF.6030909@cetoni.de> Date: Mon, 20 Aug 2007 05:52:00 -0000 From: cetoni GmbH - Uwe Kindler Organization: cetoni GmbH User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Hans Rosenfeld CC: ecos-patches@sourceware.org Subject: Re: LPC2xxx patch for support of vectored interrupt controller References: <21907044.603801184047861289.JavaMail.servlet@kundenserver> <20070817140209.GA26081@grumpf.hope-2000.org> <20070817171322.GB26081@grumpf.hope-2000.org> In-Reply-To: <20070817171322.GB26081@grumpf.hope-2000.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by Intranator (www.intranator.com) with AMaViS and F-Secure AntiVirus (fsavdb 2007-08-19_03) X-Spam-Level: 982 X-Provags-ID: V01U2FsdGVkX19ee+wmqe74ZJOnOPRajyJcc5KE1NzQEA1OxJY IaSK7tjgg/F0cFeyk5rSK3YdjWqVep9htq4pFobtesr2LbXj2l 5dI1Qi5jXfQGGEICCO0nf7P/F7CesrN Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2007-08/txt/msg00033.txt.bz2 Hello Hans, I have to admit that I did not care about drivers that use interrupt priority 0 when I created the support for VIC controller in LPC2xxx variant. In current VIC support I decided to use 16 as the priority of the interrupts that do not use VIC - this is the formerly behaviour of the LPC2xxx interrupt support and of interrupts that use priority 0. Another solution for this problem would be to invert interrupt priorities. That means interrupt priority 0 is the lowest interrupt priority and interrupt 16 is the highest priority. So if the drivers use interrupt level 0 they would fall back to the old (slower) interrupt handling. But that would not fix the test case that creates 2 interrupts of level 1. I think your solution is cleaner - thank you for creating this patch Best Regards, Uwe Dipl. Inf. (FH) Uwe Kindler Software Engineering -- cetoni GmbH Am Wiesenring 6 D-07554 Korbussen Tel.: +49 (0) 36602 338 28 Fax: +49 (0) 36602 338 11 uwe.kindler@cetoni.de http://www.cetoni.de