Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp383586imm; Thu, 31 May 2018 02:08:01 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLhM85M/nob7Tkek6eR/swDdeq/mdmyNwQzLE1sN5Sb2GBjuwR35azBqFLqedliuhHiC5QG X-Received: by 2002:a63:18c:: with SMTP id 134-v6mr4841393pgb.138.1527757681926; Thu, 31 May 2018 02:08:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527757681; cv=none; d=google.com; s=arc-20160816; b=hsDYxJzFUmsoT9vkDnC5RwYlj7Q+I8gHbjEYVIXDLdkh82295sLtGPT1ClWgsBGcOy miDjNA3dlpM9KAXnAXqEjrRHojAgwgPMOoe19sgmP3tmWYMzUn0pn2F7IalWxkWTM6QQ 9kV8VaBikp8vyOaFO5yFOeQ8MSPt8hHfALrlbR0LXedObnCJfE9z/J5kUJ7Orbnu6UQJ zdi3ZaP+C5on8IyEtDc4Wts6cHvUqPBEdNmSq5N/bJfJu+bsze5XxLrmDhNVS3YJiN2r zUMQ0RrIi+iDz30gikyZEbdtxGtm3ZheowgrKtSDTD5YCKSNLWALaalJgsQnyY4yn5RC h3+A== 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=H0i6rVCSgRt+5dh5MjuvkCaOKIwblRhSodkqQAZcXeAFrSYgSR8DZsbj3OJT39LxYY WKqNlS9TcOp4wEba+UruOKUSOlotQocnO4zoQdsRLQfETl+GqeG3JDTF+aHxvuIIDo94 MlNYdzp1IXClG4xjV08DwTFSOpww0FdyglX7EjpIv3M+JMJMBDtpFlaUKRKuE3AZirwW jzEmqUmMxkvfCVPedj9rtK/f0Ds7O7r18FObOoIpawv8sMTiOuC9fSN27WzBcN1rifVe LTG86bkfZcQxdsrMn5IuAE+4ANyDJR3h0pnE0MRd3yHBXuk0lDCDwFtU/UtMEEvyEfDe dsxg== 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 t84-v6si329786pfj.231.2018.05.31.02.07.47; Thu, 31 May 2018 02:08: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 S1754216AbeEaJHM (ORCPT + 99 others); Thu, 31 May 2018 05:07:12 -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 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