From patchwork Thu May 31 09:06:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Songxiaowei (Kirin_DRV)" X-Patchwork-Id: 923264 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-pci-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=hisilicon.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 40xM7468mkz9s08 for ; Thu, 31 May 2018 19:07:44 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754103AbeEaJHJ (ORCPT ); Thu, 31 May 2018 05:07:09 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:8214 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754026AbeEaJHF (ORCPT ); Thu, 31 May 2018 05:07:05 -0400 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 17E6462354850; Thu, 31 May 2018 17:06:51 +0800 (CST) Received: from vm107-55-164.huawei.com (100.107.55.164) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.382.0; Thu, 31 May 2018 17:06:44 +0800 From: Xiaowei Song To: , , , , , , , , , , CC: , Subject: [PATCH v5 0/1] *** PCI: kirin: Add MSI support *** Date: Thu, 31 May 2018 17:06:42 +0800 Message-ID: <20180531090643.96810-1-songxiaowei@hisilicon.com> X-Mailer: git-send-email 2.11.GIT MIME-Version: 1.0 X-Originating-IP: [100.107.55.164] X-CFilter-Loop: Reflected Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@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(+)