From owner-cvs-src@FreeBSD.ORG Thu Sep 11 12:36:26 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B2F51065671; Thu, 11 Sep 2008 12:36:26 +0000 (UTC) (envelope-from raj@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 32D418FC2C; Thu, 11 Sep 2008 12:36:26 +0000 (UTC) (envelope-from raj@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m8BCaPq3042889; Thu, 11 Sep 2008 12:36:25 GMT (envelope-from raj@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m8BCaPiw042888; Thu, 11 Sep 2008 12:36:25 GMT (envelope-from raj@repoman.freebsd.org) Message-Id: <200809111236.m8BCaPiw042888@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to raj@repoman.freebsd.org using -f From: Rafal Jaworowski Date: Thu, 11 Sep 2008 12:36:13 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/arm/arm intr.c nexus.c src/sys/arm/include intr.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2008 12:36:26 -0000 raj 2008-09-11 12:36:13 UTC FreeBSD src repository Modified files: sys/arm/arm intr.c nexus.c sys/arm/include intr.h Log: SVN rev 182933 on 2008-09-11 12:36:13Z by raj ARM interrupts improvements. - Fix nexus_setup_intr() abuse of setting up multiple IRQs in one go. Calling arm_setup_irqhandler() in loop is bogus, as there's just one cookie given from the caller and it is overwritten in each iteration so that only the last handler's cookie value prevails. - Proper intr masking/unmasking handling: the IRQ source is masked at PIC level only after the last handler has been removed from the list. Reviewed by: cognet, imp, sam, stass Obtained from: Grzegorz Bernacki gjb ! semihalf dot com Revision Changes Path 1.24 +12 -2 src/sys/arm/arm/intr.c 1.13 +3 -11 src/sys/arm/arm/nexus.c 1.10 +1 -1 src/sys/arm/include/intr.h