Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp7562018imm; Thu, 28 Jun 2018 05:58:11 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdbrLtaJZWAx616PaLhGGf0U8NZYQDEaWK/xWYcxTrMjz+t1JWOKW0/ZGgQngsoPHn5HbKi X-Received: by 2002:a62:3b03:: with SMTP id i3-v6mr2290884pfa.197.1530190691935; Thu, 28 Jun 2018 05:58:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530190691; cv=none; d=google.com; s=arc-20160816; b=URlN1fsT3E+8LIlNnYq8lWLJUoKt02+Z2LHchDXg4G7b/WkRFtlxve2KUxSvrUAGwC jrDlBDjv9aIJIOdgFrgTRSTsNtolepBfuqDtFpqwwjN55f4Ab8aah2RzWePM9xOQziE2 oGMl8CRUtb1lJLpAM2Q24yd0ohhxZ1+yV3pLWBJKhGb4J0tdQk3JPvhiSANfoAVYI/fI lh7vhYTydqIAMNT+IjqjZ2VTPQhPjqN+PjI3midN4FOPUP3r7Ro3M+QkE1GG1Qqfh/qz eKJDouUWNlqfGVpH5X0trN67qKAv854KchO7RKzcpmXawpq2eutkY0+jCcMqZuhJHJpo ohiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=X6Ttbak9+2X0GGxZUqxsWgXBij8JF3MM9hm5Wxy4MuY=; b=gikkzMRdTeTCQ3Ujmok/Y2jZlitHtqPUbTx+iqZlsgURbK2KvrBJpRj8zcBCNTpruO dy8P4HhvVPhnF3llnrt9Isy07b18IaeY2wXEuHAKxO86TJTT7Oxja8IQMj76VAsvP0yU p+9U+yNJxLy9uRaye80UTgFWszTUkDCxvX0lm9ZEanCOLdU2k78VLv7TaCesl081Yt4P 6f1luPuK/0CL6jZ0QoopxjODUoeiiFBOUx7PvzuTyvK69XRYx5jn5IfBTg1GsaqBQLCA LWvf1pfaKNlLsuDcibkT3TCILnt4xQiJ10xSb4J+q0n0X66SDqpKMGiaBZSg+9DLypRW u5Sg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o10-v6si5816088pgq.545.2018.06.28.05.57.57; Thu, 28 Jun 2018 05:58:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966109AbeF1Msb (ORCPT + 99 others); Thu, 28 Jun 2018 08:48:31 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:9133 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S966044AbeF1Ms0 (ORCPT ); Thu, 28 Jun 2018 08:48:26 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 51AC2D6E2DC9F; Thu, 28 Jun 2018 20:48:12 +0800 (CST) Received: from vm107-55-164.huawei.com (100.107.55.164) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.382.0; Thu, 28 Jun 2018 20:48:05 +0800 From: Xiaowei Song To: , , , , , CC: , Subject: [PATCH v5 0/1] *** PCI: kirin: Add MSI support *** Date: Thu, 28 Jun 2018 20:48:02 +0800 Message-ID: <20180628124803.110315-1-songxiaowei@hisilicon.com> X-Mailer: git-send-email 2.11.GIT MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [100.107.55.164] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Before Version Patches ====================== patch v4 https://patchwork.kernel.org/patch/10402399/ patch v3 https://www.spinics.net/lists/linux-pci/msg72322.html patch v2 https://www.spinics.net/lists/kernel/msg2797610.html patch v1 https://www.spinics.net/lists/kernel/msg2796410.html Changes between V5 and V4 ========================= 1. rebase the patch based on Linux next-version branch. 2. fix issues according to review comments from Andy Shevchenko and Lorenzo. (1) Del MSI irq handler for DW handle it, while Kirin only read the number from DT, (2) Use the function dw_pcie_msi_init directly if CONFIG_PCI_MSI is enabled. Changes between V4 and V3 ========================= 1. remove DT binding patch, for Wei Xu had applied it. 2. fix issues according to review comments from Andy Shevchenko. (1) Take the msi number get and request as a seperate function, (2) Use the result of platform_get_irq as return val. Changes between V3 and V2 ========================= 1. fix issues according to review comments (1)from Bjorn Helgaas: Check for 'pci->pp.msi_irq < 0'. (2)from Bjorn Helgaas: Update the message of 'msi irq' in dev_err(). Changes between V2 and V1 ========================= 1. seperate DT binding patch. 2. fix issues according to review comments (1)from Bjorn Helgaas: Update the style of subject and changelog. (2)from Bjorn Helgaas: Add msi irq number in the message. (3)from Bjorn Helgaas: Delete unnecessary code 'pci->pp.root_bus_nr = -1'. (4)from Dmitry Shmidt: Fix typing error. Replace 'interrupts-names' of 'interrupt-names'. Xiaowei Song (1): PCI: kirin: Add MSI support drivers/pci/dwc/pcie-kirin.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) -- 2.11.GIT