From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756339AbcAMSt2 (ORCPT ); Wed, 13 Jan 2016 13:49:28 -0500 Received: from devils.ext.ti.com ([198.47.26.153]:59843 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932405AbcAMStF (ORCPT ); Wed, 13 Jan 2016 13:49:05 -0500 Subject: Re: [PATCH v3] PCI: hosts: mark pcie/pci (msi) irq cascade handler as IRQF_NO_THREAD To: Bjorn Helgaas , Sebastian Andrzej Siewior References: <1449775100-30877-1-git-send-email-grygorii.strashko@ti.com> <20160106221827.GD16231@localhost> <20160113133904.GD29964@linutronix.de> <20160113175016.GB28453@localhost> CC: , Bjorn Helgaas , , , , , , , , , Kishon Vijay Abraham I , Jingoo Han , Kukjin Kim , Krzysztof Kozlowski , Richard Zhu , Lucas Stach , Thierry Reding , Stephen Warren , Alexandre Courbot , Simon Horman , Pratyush Anand , Michal Simek , =?UTF-8?Q?S=c3=b6ren_Brinkmann?= From: Grygorii Strashko Message-ID: <56969BE3.6000804@ti.com> Date: Wed, 13 Jan 2016 20:48:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20160113175016.GB28453@localhost> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/13/2016 07:50 PM, Bjorn Helgaas wrote: > On Wed, Jan 13, 2016 at 02:39:04PM +0100, Sebastian Andrzej Siewior wrote: >> * Bjorn Helgaas | 2016-01-06 16:18:27 [-0600]: >> >>> Hi Bjorn, >> >>>> diff --git a/drivers/pci/host/pci-dra7xx.c b/drivers/pci/host/pci-dra7xx.c >>>> index 8c36880..0415192 100644 >>>> --- a/drivers/pci/host/pci-dra7xx.c >>>> +++ b/drivers/pci/host/pci-dra7xx.c >>>> @@ -301,8 +301,19 @@ static int __init dra7xx_add_pcie_port(struct dra7xx_pcie *dra7xx, >>>> return -EINVAL; >>>> } >>>> >>>> + /* >>>> + * Mark dra7xx_pcie_msi IRQ as IRQF_NO_THREAD >>>> + * On -RT and if kernel is booting with "threadirqs" cmd line parameter >>>> + * the dra7xx_pcie_msi_irq_handler() will be forced threaded but, >>>> + * in the same time, it's IRQ dispatcher and calls generic_handle_irq(), >>>> + * which, in turn, will be resolved to handle_simple_irq() call. >>>> + * The handle_simple_irq() expected to be called with IRQ disabled, as >>>> + * result kernle will display warning: >>>> + * "irq XXX handler YYY+0x0/0x14 enabled interrupts". >>>> + */ >> >> could you _please_ remove this coment? This kind of comment (if at all) >> should be part of the commit message (which is the case more or less). > > IIRC, Grygorii specifically wanted to keep this comment in dra7xx, but True. > I do agree that this level of detail is more appropriate for a changelog. > > If Grygorii and Kishon don't object, I can update the patch to remove it. But no objections from my side. Thanks a lot. -- regards, -grygorii