Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752800AbdHVVgI (ORCPT ); Tue, 22 Aug 2017 17:36:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:40080 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752092AbdHVVgE (ORCPT ); Tue, 22 Aug 2017 17:36:04 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EDF592156A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=helgaas@kernel.org Date: Tue, 22 Aug 2017 16:36:03 -0500 From: Bjorn Helgaas To: honghui.zhang@mediatek.com Cc: bhelgaas@google.com, matthias.bgg@gmail.com, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, yingjoe.chen@mediatek.com, eddie.huang@mediatek.com, ryder.lee@mediatek.com, hongkun.cao@mediatek.com, youlin.pei@mediatek.com, yong.wu@mediatek.com, yt.shen@mediatek.com, sean.wang@mediatek.com, xinping.qian@mediatek.com Subject: Re: [PATCH v2 0/3] PCI: mediatek: Add MSI support for MT2712 and MT7622 Message-ID: <20170822213602.GK6948@bhelgaas-glaptop.roam.corp.google.com> References: <1502715868-17651-1-git-send-email-honghui.zhang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1502715868-17651-1-git-send-email-honghui.zhang@mediatek.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1082 Lines: 25 On Mon, Aug 14, 2017 at 09:04:25PM +0800, honghui.zhang@mediatek.com wrote: > From: Honghui Zhang > > MT2712 and MT7622's PCIe host controller support MSI, but only 32bit MSI > address are supportted. It connect to GIC with the same IRQ number of INTx > IRQ, so it shares the same IRQ with INTx IRQ. > > This patchset add MSI support for MT2712 and MT7622. > Also do some code fixup and cleanups. > > Change Since V1: > - Add the first two patches into this patchset. > - Using -ENODEV instead of PTR_ERR if msi_domain == NULL > - Change the error logs with consistency of lower-case > - Using has_msi instead of support_msi to make the parameter name a bit shorter > > Honghui Zhang (3): > PCI: mediatek: Fix return value in case of error > PCI: mediatek: take use of bus->sysdata to get host private data > PCI: mediatek: add msi support for MT2712 and MT7622 > > drivers/pci/host/pcie-mediatek.c | 157 +++++++++++++++++++++++++++++++++++++-- > 1 file changed, 151 insertions(+), 6 deletions(-) Just waiting for an ack from Ryder...