Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755896Ab0A2HG3 (ORCPT ); Fri, 29 Jan 2010 02:06:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755370Ab0A2HG1 (ORCPT ); Fri, 29 Jan 2010 02:06:27 -0500 Received: from wolverine02.qualcomm.com ([199.106.114.251]:21364 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752054Ab0A2HG0 (ORCPT ); Fri, 29 Jan 2010 02:06:26 -0500 X-IronPort-AV: E=McAfee;i="5400,1158,5875"; a="33015129" From: adharmap@codeaurora.org To: linux-arm-kernel@lists.infradead.org Cc: linux-arm-msm@lists.infradead.org, Russell King , Catalin Marinas , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Ingo Molnar , Yinghai Lu , Abhijeet Dharmapurikar Subject: [PATCH v2 0/4] GIC Changes Date: Thu, 28 Jan 2010 23:06:00 -0800 Message-Id: <1264748764-5319-1-git-send-email-adharmap@codeaurora.org> X-Mailer: git-send-email 1.5.6.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1426 Lines: 36 From: Abhijeet Dharmapurikar Few fixes and improvements to arch/arm/common/gic.c file. Changes in v2 Russell indicated that there could be an on chip inteverter on some interrupt lines and hence there is no way to enforce correct edge rising/falling or level high/low configuration. The change to introduce set_type callback is dropped. Also the change to configure SPI's and PPI's as level/edge depending on the flow_type argument passed in gic_dist_init is dropped. As per Catalin's suggestion all the interrupts reported by gic are disabled. This way we initialize and disable all the unused interrupts. The iterator,i in the gic_dist_init is still prevented from exceeding NR_IRQS. As per Ben Dook's suggestion 'gic:...' is changed to 'GIC:...' in title. Thanks for all your inputs. Please let me know if further changes are required. Abhijeet Dharmapurikar (4): GIC: Disable unused interrupts GIC: Prevent gic from crossing NR_IRQS GIC: Add callback for mask_ack GIC: Dont disable INT in ack callback arch/arm/common/gic.c | 56 +++++++++++++++++++++++++++++++++--------------- 1 files changed, 38 insertions(+), 18 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/