Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753019AbdHRN3k (ORCPT ); Fri, 18 Aug 2017 09:29:40 -0400 Received: from foss.arm.com ([217.140.101.70]:34734 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752167AbdHRN3i (ORCPT ); Fri, 18 Aug 2017 09:29:38 -0400 Subject: Re: [PATCH v2] irqchip/armada-370-xp: Enable MSI-X support To: Stefan Roese , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Jason Cooper , Thomas Gleixner , Bjorn Helgaas , Gregory CLEMENT References: <20170818125926.32029-1-sr@denx.de> From: Marc Zyngier Organization: ARM Ltd Message-ID: <3362ef1b-17ec-992a-0347-263327f59591@arm.com> Date: Fri, 18 Aug 2017 14:29:35 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170818125926.32029-1-sr@denx.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1576 Lines: 44 On 18/08/17 13:59, Stefan Roese wrote: > Armada XP does not only support MSI, but also MSI-X. This patch sets > the MSI_FLAG_PCI_MSIX flag in the interrupt controller driver which > is the only change necessary to enable MSI-X support on this SoC. As > the Linux PCI MSI-X infrastructure takes care of writing the data and > address structures into the BAR specified by the MSI-X controller. > > Signed-off-by: Stefan Roese > Reviewed-by: Thomas Petazzoni > Cc: Marc Zyngier > Cc: Jason Cooper > Cc: Thomas Gleixner > Cc: Bjorn Helgaas > Cc: Gregory CLEMENT > --- > v2: > - Added Reviewed-by tag from Thomas > - Added usual irqchip maintainers > > drivers/irqchip/irq-armada-370-xp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/irqchip/irq-armada-370-xp.c b/drivers/irqchip/irq-armada-370-xp.c > index 33982cbd8a57..b17039ed8735 100644 > --- a/drivers/irqchip/irq-armada-370-xp.c > +++ b/drivers/irqchip/irq-armada-370-xp.c > @@ -124,7 +124,7 @@ static struct irq_chip armada_370_xp_msi_irq_chip = { > > static struct msi_domain_info armada_370_xp_msi_domain_info = { > .flags = (MSI_FLAG_USE_DEF_DOM_OPS | MSI_FLAG_USE_DEF_CHIP_OPS | > - MSI_FLAG_MULTI_PCI_MSI), > + MSI_FLAG_MULTI_PCI_MSI | MSI_FLAG_PCI_MSIX), > .chip = &armada_370_xp_msi_irq_chip, > }; > > Queued for 4.14. Thanks, M. -- Jazz is not dead. It just smells funny...