Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3004729imm; Thu, 24 May 2018 21:00:01 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpvLj0fmexqxD1AbwvvPCTuxSS3To4xNczfVK7iZhw8J+Gkm0haC8CCeG5h7UJV61tOmrYp X-Received: by 2002:a63:7d47:: with SMTP id m7-v6mr618203pgn.443.1527220801788; Thu, 24 May 2018 21:00:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527220801; cv=none; d=google.com; s=arc-20160816; b=sQ1OmvKEZsHhixssuakzjvPT/MmmolfhWhcIcv4o1+ZFAKQxsK0rh94FdpBypXcpST 9eSKRnaMjTAIuDAHdjF6XxjA7Sl6dWO8V81/qWVhE6jlo8ttuudqLTClTOmlYsPpUPzE v3jAuRZr7dihRVOQJGTTX6oCopo8Rh240xSm1qNQjKbLgjrEUB0fZ1zXx5hGbeaO3bXO QPMq/1SPFFQgMH09mP0Q9dNU9pl9J7ZSuWb1hysS0O4uA1Gbc6MzzH+y45UuwwURogs8 HN68gmpD/NDijXvLnVC+XSad4BcU3+RAemdO3HCrN3ayDfYpAC5RzV0h/aOn+9lUDKrh ARxg== 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=j3/TODCPi/5W2nro3maTzM341HE12u3pfbSWM+OFPEfjN6sQB4exk1SuWNV3E+JIaq DGTQmudpDkZanSHzrjnFtuMwAeAxxwykrxzqnoXdEVz3G2fH3Z48DPeRgQYMlCRySrf1 yz1UQErHNldaqQyypRJwIbiWoEXuWD1m00HwsuumukUnQjnDNB/WByZv4ffMl4EKEP5X HG+lekrUeb8fE91EePOtfQmw4jH+s6X8JMzGd9WUyVQHOMQU8B+12mjbfNOu8sWZWEDD lfkNSQ9ogtDxy1wGDDo5IGAgFcbLQDxo06s5m2kP7iXUF5pTfS6uGZIcRWX3yn/sOtp7 mGKA== 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 i67-v6si22775735pfi.95.2018.05.24.20.59.47; Thu, 24 May 2018 21:00:01 -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 S1755033AbeEYD7U (ORCPT + 99 others); Thu, 24 May 2018 23:59:20 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:7742 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753211AbeEYD7S (ORCPT ); Thu, 24 May 2018 23:59:18 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 6B9A27C0DFFBC; Fri, 25 May 2018 11:59:04 +0800 (CST) Received: from vm107-55-164.huawei.com (100.107.55.164) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.382.0; Fri, 25 May 2018 11:58:55 +0800 From: Xiaowei Song To: , , , , , , , , , CC: , Subject: [PATCH v5 0/1] *** PCI: kirin: Add MSI support *** Date: Fri, 25 May 2018 11:58:54 +0800 Message-ID: <20180525035855.32649-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