From patchwork Wed Nov 5 10:28:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiang Liu X-Patchwork-Id: 5233461 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 10E0FC11AC for ; Wed, 5 Nov 2014 10:31:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 43EEE2017A for ; Wed, 5 Nov 2014 10:31:50 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6DED82012F for ; Wed, 5 Nov 2014 10:31:49 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XlxqZ-0008Qq-12; Wed, 05 Nov 2014 10:29:51 +0000 Received: from mga03.intel.com ([134.134.136.65]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xlxpx-0007mJ-B3 for linux-arm-kernel@lists.infradead.org; Wed, 05 Nov 2014 10:29:13 +0000 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 05 Nov 2014 02:26:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,319,1413270000"; d="scan'208";a="602641667" Received: from jliu23-mobl.ccr.corp.intel.com (HELO [10.238.129.77]) ([10.238.129.77]) by orsmga001.jf.intel.com with ESMTP; 05 Nov 2014 02:28:46 -0800 Message-ID: <5459FBDD.4020504@linux.intel.com> Date: Wed, 05 Nov 2014 18:28:45 +0800 From: Jiang Liu Organization: Intel User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Joerg Roedel Subject: Re: [Patch Part2 v4 00/31] Enable hierarchy irqdomian on x86 platforms References: <1415102525-9898-1-git-send-email-jiang.liu@linux.intel.com> <20141104144730.GE14512@8bytes.org> <5458ECF3.4040308@linux.intel.com> <20141105085154.GG10744@8bytes.org> <5459F0DE.6000307@linux.intel.com> <20141105095850.GH10744@8bytes.org> In-Reply-To: <20141105095850.GH10744@8bytes.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141105_022913_415297_DC13A0D8 X-CRM114-Status: GOOD ( 10.19 ) X-Spam-Score: -5.6 (-----) Cc: Benjamin Herrenschmidt , Matthias Brugger , "H. Peter Anvin" , x86@kernel.org, linux-acpi@vger.kernel.org, Ingo Molnar , linux-pci@vger.kernel.org, Grant Likely , Yingjoe Chen , Konrad Rzeszutek Wilk , Marc Zyngier , Borislav Petkov , Bjorn Helgaas , Thomas Gleixner , Yinghai Lu , linux-arm-kernel@lists.infradead.org, Tony Luck , Greg Kroah-Hartman , Randy Dunlap , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, Andrew Morton X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Joerg, Seems like a silly bug, could you please help to try this fix? Regards! Gerry list_for_each_entry(msidesc, &dev->msi_list, list) On 2014/11/5 17:58, Joerg Roedel wrote: > On Wed, Nov 05, 2014 at 05:41:50PM +0800, Jiang Liu wrote: >> Could you please help to apply the attached patch and send me >> console outputs? > > Sure, here it is. > diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index 7423ee16972f..62ba8a6f6e79 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c @@ -1211,7 +1211,7 @@ int msi_irq_domain_alloc_irqs(struct irq_domain *domain, int type, msidesc->nvec_used > 1) ? 1 : -ENOSPC; } for (i = 0; i < msidesc->nvec_used; i++) - irq_set_msi_desc_off(virq + i, i, msidesc); + irq_set_msi_desc_off(virq, i, msidesc); }