From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758689Ab3KMH5l (ORCPT ); Wed, 13 Nov 2013 02:57:41 -0500 Received: from mail-pb0-f44.google.com ([209.85.160.44]:61667 "EHLO mail-pb0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758635Ab3KMH5f (ORCPT ); Wed, 13 Nov 2013 02:57:35 -0500 In-Reply-To: References: <20130131002344.1161E360095@xplor.waratah.dyndns.org> <753aef27d368410b1e5c5814b1e7c8a7@gmail.com> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <1d531dbddb96cdcb0dfbc1183ee6d443@gmail.com> Content-Transfer-Encoding: 7bit Cc: linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven From: Michael Schmitz Subject: Re: [PATCH 09/17] [m68k] IRQ: add handle_polled_irq() for timer based soft interrupts Date: Wed, 13 Nov 2013 20:57:23 +1300 To: Thomas Gleixner X-Mailer: Apple Mail (2.624) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thomas, >> I suppose setting the flag can be done in the corresponding irq >> startup >> function, instead of when setting up the irq controller? > > irq_startup() is called with irq_desc->lock held and > irq_set_status_flags() wants desc->lock as well. Deadlock Thanks, point taken. > And no, you don't want to fiddle manually in the irq descriptor data > fields. See commit a6967caf00eb :) I'm not that crazy :-) > >> Geert - I will send the patch to ataints.c implementing this as soon >> as >> Thomas' fix is merged. > > I'll expedite it for 3.13. Thanks, that'll help. Cheers, Michael > > Thanks, > > tglx > -- > To unsubscribe from this list: send the line "unsubscribe linux-m68k" > in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html