From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2285 invoked by alias); 26 Sep 2012 16:15:49 -0000 Received: (qmail 2273 invoked by uid 22791); 26 Sep 2012 16:15:48 -0000 X-SWARE-Spam-Status: No, hits=-3.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 26 Sep 2012 16:15:30 +0000 Received: by mail.ecoscentric.com (Postfix, from userid 48) id A5C502F78009; Wed, 26 Sep 2012 17:15:29 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: unassigned@bugs.ecos.sourceware.org Subject: [Bug 1001456] HAL misses Interrupt Clear-Pending Registers handling: wasted processing power X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: HAL X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: pme.neratec@gmx.ch X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC In-Reply-To: References: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Date: Wed, 26 Sep 2012 16:15:00 -0000 Message-Id: <20120926161515.5C9C42F7800B@mail.ecoscentric.com> Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-bugs-owner@sourceware.org X-SW-Source: 2012/txt/msg01261.txt.bz2 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=3D1001456 Phil changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pme.neratec@gmx.ch --- Comment #24 from Phil 2012-09-26 17:15:10 BST --- If the situation is as described by Bernard Fouch=C3=A9, this means eCos is= not well suited for Cortex-M3 (e.g. STM32 or LPC17xx) platform! Why is no eCos proponent reacting on this bug? When is the NVIC_ClearPendingIRQ function needed, only if this is an extern= al interrupt that needs to be handled? @Bernard Fouch=C3=A9: In the Cortex-M3 (e.g. STM32 or LPC17xx) the processor automatically clears the pending bit when it calls the interrupt handler (s= ee STM32 Programming Manual (CD00228163.pdf) page 128, "A pending interrupt remains pending until one of the following: The processor enters the ISR for the interrupt..."). Why do you think this must be done programmatically? --=20 Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=3Demail ------- You are receiving this mail because: ------- You are the assignee for the bug. >>From ecos-bugs-return-9831-listarch-ecos-bugs=sources.redhat.com@sourceware.org Wed Sep 26 16:15:45 2012 Return-Path: Delivered-To: listarch-ecos-bugs@sources.redhat.com Received: (qmail 1966 invoked by alias); 26 Sep 2012 16:15:40 -0000 Received: (qmail 1828 invoked by uid 22791); 26 Sep 2012 16:15:37 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 26 Sep 2012 16:15:25 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id E2BF22F7800A for ; Wed, 26 Sep 2012 17:15:23 +0100 (BST) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BEdTduubPtcB; Wed, 26 Sep 2012 17:15:23 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-bugs@ecos.sourceware.org Subject: [Bug 1001456] HAL misses Interrupt Clear-Pending Registers handling: wasted processing power X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: HAL X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: pme.neratec@gmx.ch X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC In-Reply-To: References: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Date: Wed, 26 Sep 2012 16:15:00 -0000 Message-Id: <20120926161515.879072FB082C@mail.ecoscentric.com> Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-bugs-owner@sourceware.org Delivered-To: mailing list ecos-bugs@sourceware.org X-SW-Source: 2012/txt/msg01260.txt.bz2 Content-length: 1302 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=3D1001456 Phil changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pme.neratec@gmx.ch --- Comment #24 from Phil 2012-09-26 17:15:10 BST --- If the situation is as described by Bernard Fouch=C3=A9, this means eCos is= not well suited for Cortex-M3 (e.g. STM32 or LPC17xx) platform! Why is no eCos proponent reacting on this bug? When is the NVIC_ClearPendingIRQ function needed, only if this is an extern= al interrupt that needs to be handled? @Bernard Fouch=C3=A9: In the Cortex-M3 (e.g. STM32 or LPC17xx) the processor automatically clears the pending bit when it calls the interrupt handler (s= ee STM32 Programming Manual (CD00228163.pdf) page 128, "A pending interrupt remains pending until one of the following: The processor enters the ISR for the interrupt..."). Why do you think this must be done programmatically? --=20 Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=3Demail ------- You are receiving this mail because: ------- You are on the CC list for the bug. >>From ecos-bugs-return-9833-listarch-ecos-bugs=sources.redhat.com@sourceware.org Wed Sep 26 21:44:14 2012 Return-Path: Delivered-To: listarch-ecos-bugs@sources.redhat.com Received: (qmail 26184 invoked by alias); 26 Sep 2012 21:44:14 -0000 Received: (qmail 26175 invoked by uid 22791); 26 Sep 2012 21:44:13 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 26 Sep 2012 21:44:00 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id ED56E2F7800D for ; Wed, 26 Sep 2012 22:43:58 +0100 (BST) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WcK9fYMVXz8X; Wed, 26 Sep 2012 22:43:58 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-bugs@ecos.sourceware.org Subject: [Bug 1001456] HAL misses Interrupt Clear-Pending Registers handling: wasted processing power X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: HAL X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: jifl@ecoscentric.com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: nickg@ecoscentric.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status CC AssignedTo Ever Confirmed In-Reply-To: References: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 26 Sep 2012 21:44:00 -0000 Message-Id: <20120926214356.A74FF2FB082C@mail.ecoscentric.com> Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-bugs-owner@sourceware.org Delivered-To: mailing list ecos-bugs@sourceware.org X-SW-Source: 2012/txt/msg01262.txt.bz2 Content-length: 1491 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001456 Jonathan Larmour changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED CC| |jifl@ecoscentric.com AssignedTo|unassigned@bugs.ecos.source |nickg@ecoscentric.com |ware.org | Ever Confirmed|0 |1 --- Comment #25 from Jonathan Larmour 2012-09-26 22:43:50 BST --- I still think this needs to be commented on by Nick as it involves a significant change to the HAL definition, and he's both the HAL in general and specifically Cortex-M HAL architect. So I'm assigning this to him and see if he grumbles :-). He can always assign it away if he's not interested in commenting on the API change. But I wouldn't overstate the problem, as far I can tell this will only happen with certain designs of devices, and only then if certain situations combine, which therefore makes it uncommon. That's not to say it's irrelevant, but it's not like it happens every interrupt or anything like that. -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.