From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757379Ab2IRHTA (ORCPT ); Tue, 18 Sep 2012 03:19:00 -0400 Received: from mga01.intel.com ([192.55.52.88]:28980 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757271Ab2IRHSl (ORCPT ); Tue, 18 Sep 2012 03:18:41 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.80,441,1344236400"; d="scan'208";a="223427402" From: "Liu, Chuansheng" To: anish singh CC: "'linux-kernel@vger.kernel.org' (linux-kernel@vger.kernel.org)" , "tglx@linutronix.de" Subject: RE: [PATCH] genirq: Add the IRQS_ONESHOT support for edge interrupt Thread-Topic: [PATCH] genirq: Add the IRQS_ONESHOT support for edge interrupt Thread-Index: AQHNlW0v+row1Ngd9EiQ8qddTk3fXpePr/Aw Date: Tue, 18 Sep 2012 07:18:37 +0000 Message-ID: <27240C0AC20F114CBF8149A2696CBE4A182055@SHSMSX101.ccr.corp.intel.com> References: <1347972841.4312.2.camel@cliu38-desktop-build> <27240C0AC20F114CBF8149A2696CBE4A181E13@SHSMSX101.ccr.corp.intel.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id q8I7J5QB024428 > Are you sure you have not returned from the irq_thread and how do you > know that primary handler is called in between when your irq_thread is > running? I am sure because the spin recursive locks has been printed with call stack, further more, with IRQS_ONESHOT, I have printed the value of irqd_irq_masked(&desc->irq_data), it is 0, that means when with IRQS_ONESHOT, and the irq thread is called but the irq is not masked during this time. ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ¥Šwÿº{.nÇ+‰·¥Š{±þG«�éÿŠ{ayºʇڙë,j­¢f£¢·hš�ï�êÿ‘êçz_è®(­éšŽŠÝ¢j"�ú¶m§ÿÿ¾«þG«�éÿ¢¸?™¨è­Ú&£ø§~�á¶iO•æ¬z·švØ^¶m§ÿÿà ÿ¶ìÿ¢¸?–I¥