From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Xu Subject: Re: [PATCH v7 00/15] ACPI platform MSI support and its example mbigen Date: Fri, 13 Jan 2017 14:11:58 +0000 Message-ID: <5878E02E.5080602@hisilicon.com> References: <1484147199-4267-1-git-send-email-hanjun.guo@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1484147199-4267-1-git-send-email-hanjun.guo@linaro.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Hanjun Guo , Marc Zyngier , "Rafael J. Wysocki" , Lorenzo Pieralisi Cc: Matthias Brugger , yimin@huawei.com, Jon Masters , linuxarm@huawei.com, linux-kernel@vger.kernel.org, Sinan Kaya , linux-acpi@vger.kernel.org, Greg KH , Tomasz Nowicki , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, Agustin Vega-Frias List-Id: linux-acpi@vger.kernel.org Hi Hanjun, On 2017/1/11 15:06, Hanjun Guo wrote: > With platform msi support landed in the kernel, and the introduction > of IORT for GICv3 ITS (PCI MSI) and SMMU, the framework for platform msi > is ready, this patch set add few patches to enable the ACPI platform > msi support. > > For platform device connecting to ITS on arm platform, we have IORT > table with the named componant node to describe the mappings of paltform > device and ITS, so we can retrieve the dev id and find its parent > irqdomain (ITS) from IORT table (simlar with the ACPI ITS support). > > v6 -> v7: > - Introduce iort_node_map_platform_id() to retrieve the > dev id for both NC (named component) -> ITS/SMMU and > NC -> SMMU -> ITS cases, suggested by Lorenzo; > > - Reorder the patches and rewrite some commit message; > > - Remove the test tags because it has major changes > to retrieve the dev id, Sinan, Majun, Xinwei, could > you please test them again on your platform? > > - rebased on top of 4.10-rc3 and Lorenzo's patch > https://patchwork.kernel.org/patch/9507041/ > > - Tested against Agustin's patch [1-2/3] "[PATCH V9 0/3] irqchip: qcom: > Add IRQ combiner driver" I tested this patch set on the Hisilicon D05 board with these patches: [1] Agustin's V9 IRQ combiner driver patch set https://patchwork.kernel.org/patch/9474751/ [2] Lorenzo's v2 iort_node_get_id fix patch https://patchwork.kernel.org/patch/9507041/ The branch is at https://github.com/hisilicon/linux-hisi/tree/topic-acpi-mbigen. The integrated XGE, SAS and PCIe controller works fine. So with this patch set: Tested-by: Wei Xu Thanks! Best Regards, Wei From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751807AbdAMOVU (ORCPT ); Fri, 13 Jan 2017 09:21:20 -0500 Received: from szxga02-in.huawei.com ([119.145.14.65]:51869 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751482AbdAMOVQ (ORCPT ); Fri, 13 Jan 2017 09:21:16 -0500 Subject: Re: [PATCH v7 00/15] ACPI platform MSI support and its example mbigen To: Hanjun Guo , Marc Zyngier , "Rafael J. Wysocki" , Lorenzo Pieralisi References: <1484147199-4267-1-git-send-email-hanjun.guo@linaro.org> CC: Matthias Brugger , Jon Masters , , Greg KH , , , Sinan Kaya , , Tomasz Nowicki , Thomas Gleixner , Agustin Vega-Frias , From: Wei Xu Message-ID: <5878E02E.5080602@hisilicon.com> Date: Fri, 13 Jan 2017 14:11:58 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <1484147199-4267-1-git-send-email-hanjun.guo@linaro.org> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.203.181.154] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090203.5878E045.0172,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: dbd4ea7364f8c3ac3c7bd911648081ab Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Hanjun, On 2017/1/11 15:06, Hanjun Guo wrote: > With platform msi support landed in the kernel, and the introduction > of IORT for GICv3 ITS (PCI MSI) and SMMU, the framework for platform msi > is ready, this patch set add few patches to enable the ACPI platform > msi support. > > For platform device connecting to ITS on arm platform, we have IORT > table with the named componant node to describe the mappings of paltform > device and ITS, so we can retrieve the dev id and find its parent > irqdomain (ITS) from IORT table (simlar with the ACPI ITS support). > > v6 -> v7: > - Introduce iort_node_map_platform_id() to retrieve the > dev id for both NC (named component) -> ITS/SMMU and > NC -> SMMU -> ITS cases, suggested by Lorenzo; > > - Reorder the patches and rewrite some commit message; > > - Remove the test tags because it has major changes > to retrieve the dev id, Sinan, Majun, Xinwei, could > you please test them again on your platform? > > - rebased on top of 4.10-rc3 and Lorenzo's patch > https://patchwork.kernel.org/patch/9507041/ > > - Tested against Agustin's patch [1-2/3] "[PATCH V9 0/3] irqchip: qcom: > Add IRQ combiner driver" I tested this patch set on the Hisilicon D05 board with these patches: [1] Agustin's V9 IRQ combiner driver patch set https://patchwork.kernel.org/patch/9474751/ [2] Lorenzo's v2 iort_node_get_id fix patch https://patchwork.kernel.org/patch/9507041/ The branch is at https://github.com/hisilicon/linux-hisi/tree/topic-acpi-mbigen. The integrated XGE, SAS and PCIe controller works fine. So with this patch set: Tested-by: Wei Xu Thanks! Best Regards, Wei From mboxrd@z Thu Jan 1 00:00:00 1970 From: xuwei5@hisilicon.com (Wei Xu) Date: Fri, 13 Jan 2017 14:11:58 +0000 Subject: [PATCH v7 00/15] ACPI platform MSI support and its example mbigen In-Reply-To: <1484147199-4267-1-git-send-email-hanjun.guo@linaro.org> References: <1484147199-4267-1-git-send-email-hanjun.guo@linaro.org> Message-ID: <5878E02E.5080602@hisilicon.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Hanjun, On 2017/1/11 15:06, Hanjun Guo wrote: > With platform msi support landed in the kernel, and the introduction > of IORT for GICv3 ITS (PCI MSI) and SMMU, the framework for platform msi > is ready, this patch set add few patches to enable the ACPI platform > msi support. > > For platform device connecting to ITS on arm platform, we have IORT > table with the named componant node to describe the mappings of paltform > device and ITS, so we can retrieve the dev id and find its parent > irqdomain (ITS) from IORT table (simlar with the ACPI ITS support). > > v6 -> v7: > - Introduce iort_node_map_platform_id() to retrieve the > dev id for both NC (named component) -> ITS/SMMU and > NC -> SMMU -> ITS cases, suggested by Lorenzo; > > - Reorder the patches and rewrite some commit message; > > - Remove the test tags because it has major changes > to retrieve the dev id, Sinan, Majun, Xinwei, could > you please test them again on your platform? > > - rebased on top of 4.10-rc3 and Lorenzo's patch > https://patchwork.kernel.org/patch/9507041/ > > - Tested against Agustin's patch [1-2/3] "[PATCH V9 0/3] irqchip: qcom: > Add IRQ combiner driver" I tested this patch set on the Hisilicon D05 board with these patches: [1] Agustin's V9 IRQ combiner driver patch set https://patchwork.kernel.org/patch/9474751/ [2] Lorenzo's v2 iort_node_get_id fix patch https://patchwork.kernel.org/patch/9507041/ The branch is at https://github.com/hisilicon/linux-hisi/tree/topic-acpi-mbigen. The integrated XGE, SAS and PCIe controller works fine. So with this patch set: Tested-by: Wei Xu Thanks! Best Regards, Wei