Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1556576 > unrolled thread
| Started by | Hanjun Guo <hanjun.guo@linaro.org> |
|---|---|
| First post | 2017-01-11 16:10 +0100 |
| Last post | 2017-01-16 06:20 +0100 |
| Articles | 6 on this page of 26 — 6 participants |
Back to article view | Back to linux.kernel
[PATCH v7 00/15] ACPI platform MSI support and its example mbigen Hanjun Guo <hanjun.guo@linaro.org> - 2017-01-11 16:10 +0100
[PATCH v7 11/15] ACPI: platform: setup MSI domain for ACPI based platform device Hanjun Guo <hanjun.guo@linaro.org> - 2017-01-11 16:10 +0100
[PATCH v7 08/15] ACPI: IORT: rename iort_node_map_rid() to make it generic Hanjun Guo <hanjun.guo@linaro.org> - 2017-01-11 16:10 +0100
Re: [PATCH v7 08/15] ACPI: IORT: rename iort_node_map_rid() to make it generic Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> - 2017-01-13 12:50 +0100
Re: [PATCH v7 08/15] ACPI: IORT: rename iort_node_map_rid() to make it generic Hanjun Guo <guohanjun@huawei.com> - 2017-01-14 04:30 +0100
[PATCH v7 03/15] ACPI: IORT: minor cleanup for iort_match_node_callback() Hanjun Guo <hanjun.guo@linaro.org> - 2017-01-11 16:10 +0100
[PATCH v7 12/15] msi: platform: make platform_msi_create_device_domain() ACPI aware Hanjun Guo <hanjun.guo@linaro.org> - 2017-01-11 16:10 +0100
Re: [PATCH v7 12/15] msi: platform: make platform_msi_create_device_domain() ACPI aware Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> - 2017-01-13 12:00 +0100
Re: [PATCH v7 12/15] msi: platform: make platform_msi_create_device_domain() ACPI aware Hanjun Guo <guohanjun@huawei.com> - 2017-01-14 04:10 +0100
[PATCH v7 06/15] irqchip: gicv3-its: platform-msi: refactor its_pmsi_init() to prepare for ACPI Hanjun Guo <hanjun.guo@linaro.org> - 2017-01-11 16:10 +0100
[PATCH v7 14/15] irqchip: mbigen: introduce mbigen_of_create_domain() Hanjun Guo <hanjun.guo@linaro.org> - 2017-01-11 16:10 +0100
[PATCH v7 13/15] irqchip: mbigen: drop module owner Hanjun Guo <hanjun.guo@linaro.org> - 2017-01-11 16:20 +0100
[PATCH v7 10/15] ACPI: IORT: move over to iort_node_map_platform_id() Hanjun Guo <hanjun.guo@linaro.org> - 2017-01-11 16:20 +0100
[PATCH v7 02/15] ACPI: IORT: add missing comment for iort_dev_find_its_id() Hanjun Guo <hanjun.guo@linaro.org> - 2017-01-11 16:20 +0100
[PATCH v7 15/15] irqchip: mbigen: Add ACPI support Hanjun Guo <hanjun.guo@linaro.org> - 2017-01-11 16:20 +0100
Re: [PATCH v7 15/15] irqchip: mbigen: Add ACPI support Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> - 2017-01-13 11:20 +0100
Re: [PATCH v7 15/15] irqchip: mbigen: Add ACPI support Hanjun Guo <guohanjun@huawei.com> - 2017-01-14 04:10 +0100
Re: [PATCH v7 15/15] irqchip: mbigen: Add ACPI support Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> - 2017-01-16 12:40 +0100
Re: [PATCH v7 15/15] irqchip: mbigen: Add ACPI support Hanjun Guo <guohanjun@huawei.com> - 2017-01-16 15:30 +0100
Re: [PATCH v7 15/15] irqchip: mbigen: Add ACPI support Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> - 2017-01-16 16:30 +0100
[PATCH v7 01/15] ACPI: IORT: fix the indentation in iort_scan_node() Hanjun Guo <hanjun.guo@linaro.org> - 2017-01-11 16:20 +0100
Re: [PATCH v7 00/15] ACPI platform MSI support and its example mbigen Ming Lei <tom.leiming@gmail.com> - 2017-01-13 11:30 +0100
Re: [PATCH v7 00/15] ACPI platform MSI support and its example mbigen Hanjun Guo <guohanjun@huawei.com> - 2017-01-14 02:10 +0100
Re: [PATCH v7 00/15] ACPI platform MSI support and its example mbigen Wei Xu <xuwei5@hisilicon.com> - 2017-01-13 15:30 +0100
Re: [PATCH v7 00/15] ACPI platform MSI support and its example mbigen Hanjun Guo <guohanjun@huawei.com> - 2017-01-14 05:40 +0100
Re: [PATCH v7 00/15] ACPI platform MSI support and its example mbigen Sinan Kaya <okaya@codeaurora.org> - 2017-01-16 06:20 +0100
Page 2 of 2 — ← Prev page 1 [2]
| From | Hanjun Guo <hanjun.guo@linaro.org> |
|---|---|
| Date | 2017-01-11 16:20 +0100 |
| Subject | [PATCH v7 01/15] ACPI: IORT: fix the indentation in iort_scan_node() |
| Message-ID | <sYsQW-8vl-39@gated-at.bofh.it> |
| In reply to | #1556576 |
The indentation is wrong when return the iort_node, fix it. Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org> --- drivers/acpi/arm64/iort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/arm64/iort.c b/drivers/acpi/arm64/iort.c index ba156c5..ce3084b 100644 --- a/drivers/acpi/arm64/iort.c +++ b/drivers/acpi/arm64/iort.c @@ -225,7 +225,7 @@ static struct acpi_iort_node *iort_scan_node(enum acpi_iort_node_type type, if (iort_node->type == type && ACPI_SUCCESS(callback(iort_node, context))) - return iort_node; + return iort_node; iort_node = ACPI_ADD_PTR(struct acpi_iort_node, iort_node, iort_node->length); -- 1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Ming Lei <tom.leiming@gmail.com> |
|---|---|
| Date | 2017-01-13 11:30 +0100 |
| Message-ID | <sZ7ho-876-23@gated-at.bofh.it> |
| In reply to | #1556576 |
On Wed, Jan 11, 2017 at 11:06 PM, Hanjun Guo <hanjun.guo@linaro.org> 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" Looks v7 works fine on D05, together with Lorenzo's fix([v2] ACPI/IORT: Fix iort_node_get_id() mapping entries indexing) and Agustin's patchset of "v9 irqchip: qcom: Add IRQ combiner driver". Tested-by: Ming Lei <ming.lei@canonical.com> > > v5 -> v6: > - Call acpi_configure_pmsi_domain() for platform devices in > acpi_platform_notify() as it's cleaner (suggested by Rafael) > - Remove the "u8 type" for iort_id_map() because it's unused > - Rebase on top of 4.10-rc2 > - Collect test and review tags > > v4 -> v5: > - Add mbigen support back with tested on with Agustin's patchset, > and it's a good example of how ACPI platform MSI works > - rebased on top of lastest Linus tree (commit 52bce91 splice: reinstate SIGPIPE/EPIPE handling) > > v3 -> v4: > - Drop mbi-gen patches to just submit platform msi support because > will rebase mbi-gen patches on top of Agustin's patchset, and discusion > is going there. > - Add a patch to support device topology such as NC(named componant, paltform device) > ->SMMU->ITS which suggested by Lorenzo; > - rebased on top of Lorenzo's v9 of ACPI IORT ARM SMMU support; > - rebased on top of 4.9-rc7 > > v2 -> v3: > - Drop RFC tag > - Rebase against v4.9-rc2 and Lorenzo's v6 of ACPI IORT ARM SMMU support [1] > - Add 3 cleanup patches (patch 1, 2, 3) > - Drop arch_init call patch from last version > - Introduce a callback for platform device to set msi domain > - Introduce a new API to get paltform device's domain instead of > reusing the PCI one in previous version > - Add a patch to rework iort_node_get_id() > > [1]: http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1251993.html > > v1 -> v2: > - Fix the bug of if multi Interrupt() resoures in single _PRS, > we need to calculate all the irq numbers (I missed it in previous > version); > - Rebased on Marc's irq/irqchip-4.9 branch and Lorenzo's v5 > SMMU patches (also Robin's SMMu patches) > - Add patch irqchip: mbigen: promote mbigen init. > > > Hanjun Guo (13): > ACPI: IORT: fix the indentation in iort_scan_node() > ACPI: IORT: add missing comment for iort_dev_find_its_id() > ACPI: IORT: minor cleanup for iort_match_node_callback() > irqchip: gic-v3-its: keep the head file include in alphabetic order > irqchip: gicv3-its: platform-msi: refactor its_pmsi_prepare() > irqchip: gicv3-its: platform-msi: refactor its_pmsi_init() to prepare > for ACPI > irqchip: gicv3-its: platform-msi: scan MADT to create platform msi > domain > ACPI: IORT: rename iort_node_map_rid() to make it generic > ACPI: platform-msi: retrieve dev id from IORT > ACPI: IORT: move over to iort_node_map_platform_id() > ACPI: platform: setup MSI domain for ACPI based platform device > msi: platform: make platform_msi_create_device_domain() ACPI aware > irqchip: mbigen: Add ACPI support > > Kefeng Wang (2): > irqchip: mbigen: drop module owner > irqchip: mbigen: introduce mbigen_of_create_domain() > > drivers/acpi/arm64/iort.c | 161 +++++++++++++++++++++----- > drivers/acpi/glue.c | 6 + > drivers/base/platform-msi.c | 3 +- > drivers/irqchip/irq-gic-v3-its-platform-msi.c | 106 +++++++++++++---- > drivers/irqchip/irq-gic-v3-its.c | 3 +- > drivers/irqchip/irq-mbigen.c | 109 ++++++++++++++--- > include/linux/acpi_iort.h | 11 ++ > 7 files changed, 322 insertions(+), 77 deletions(-) > > -- > 1.9.1 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- Ming Lei
[toc] | [prev] | [next] | [standalone]
| From | Hanjun Guo <guohanjun@huawei.com> |
|---|---|
| Date | 2017-01-14 02:10 +0100 |
| Message-ID | <sZl0Z-83U-1@gated-at.bofh.it> |
| In reply to | #1558195 |
Hi Ming, On 2017/1/13 18:23, Ming Lei wrote: > On Wed, Jan 11, 2017 at 11:06 PM, Hanjun Guo <hanjun.guo@linaro.org> 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" > Looks v7 works fine on D05, together with Lorenzo's > fix([v2] ACPI/IORT: Fix iort_node_get_id() mapping entries indexing) and > Agustin's patchset of "v9 irqchip: qcom: Add IRQ combiner driver". > > Tested-by: Ming Lei <ming.lei@canonical.com> Thank you very much :) Hanjun
[toc] | [prev] | [next] | [standalone]
| From | Wei Xu <xuwei5@hisilicon.com> |
|---|---|
| Date | 2017-01-13 15:30 +0100 |
| Message-ID | <sZb1D-1X2-5@gated-at.bofh.it> |
| In reply to | #1556576 |
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 <xuwei5@hisilicon.com>
Thanks!
Best Regards,
Wei
[toc] | [prev] | [next] | [standalone]
| From | Hanjun Guo <guohanjun@huawei.com> |
|---|---|
| Date | 2017-01-14 05:40 +0100 |
| Message-ID | <sZoid-1t4-1@gated-at.bofh.it> |
| In reply to | #1558430 |
Hi Wei, On 2017/1/13 22:11, Wei Xu wrote: > 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 <xuwei5@hisilicon.com> I didn't test PCIe it's good to know it's working, thanks for testing and let me know. Hanjun
[toc] | [prev] | [next] | [standalone]
| From | Sinan Kaya <okaya@codeaurora.org> |
|---|---|
| Date | 2017-01-16 06:20 +0100 |
| Message-ID | <t07S1-42M-3@gated-at.bofh.it> |
| In reply to | #1556576 |
Hi Hanjun, On 1/11/2017 10:06 AM, 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" > > v5 -> v6: > - Call acpi_configure_pmsi_domain() for platform devices in > acpi_platform_notify() as it's cleaner (suggested by Rafael) > - Remove the "u8 type" for iort_id_map() because it's unused > - Rebase on top of 4.10-rc2 > - Collect test and review tags > > v4 -> v5: > - Add mbigen support back with tested on with Agustin's patchset, > and it's a good example of how ACPI platform MSI works > - rebased on top of lastest Linus tree (commit 52bce91 splice: reinstate SIGPIPE/EPIPE handling) > > v3 -> v4: > - Drop mbi-gen patches to just submit platform msi support because > will rebase mbi-gen patches on top of Agustin's patchset, and discusion > is going there. > - Add a patch to support device topology such as NC(named componant, paltform device) > ->SMMU->ITS which suggested by Lorenzo; > - rebased on top of Lorenzo's v9 of ACPI IORT ARM SMMU support; > - rebased on top of 4.9-rc7 > > v2 -> v3: > - Drop RFC tag > - Rebase against v4.9-rc2 and Lorenzo's v6 of ACPI IORT ARM SMMU support [1] > - Add 3 cleanup patches (patch 1, 2, 3) > - Drop arch_init call patch from last version > - Introduce a callback for platform device to set msi domain > - Introduce a new API to get paltform device's domain instead of > reusing the PCI one in previous version > - Add a patch to rework iort_node_get_id() > > [1]: http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1251993.html > > v1 -> v2: > - Fix the bug of if multi Interrupt() resoures in single _PRS, > we need to calculate all the irq numbers (I missed it in previous > version); > - Rebased on Marc's irq/irqchip-4.9 branch and Lorenzo's v5 > SMMU patches (also Robin's SMMu patches) > - Add patch irqchip: mbigen: promote mbigen init. > > > Hanjun Guo (13): > ACPI: IORT: fix the indentation in iort_scan_node() > ACPI: IORT: add missing comment for iort_dev_find_its_id() > ACPI: IORT: minor cleanup for iort_match_node_callback() > irqchip: gic-v3-its: keep the head file include in alphabetic order > irqchip: gicv3-its: platform-msi: refactor its_pmsi_prepare() > irqchip: gicv3-its: platform-msi: refactor its_pmsi_init() to prepare > for ACPI > irqchip: gicv3-its: platform-msi: scan MADT to create platform msi > domain > ACPI: IORT: rename iort_node_map_rid() to make it generic > ACPI: platform-msi: retrieve dev id from IORT > ACPI: IORT: move over to iort_node_map_platform_id() > ACPI: platform: setup MSI domain for ACPI based platform device > msi: platform: make platform_msi_create_device_domain() ACPI aware > irqchip: mbigen: Add ACPI support > > Kefeng Wang (2): > irqchip: mbigen: drop module owner > irqchip: mbigen: introduce mbigen_of_create_domain() > > drivers/acpi/arm64/iort.c | 161 +++++++++++++++++++++----- > drivers/acpi/glue.c | 6 + > drivers/base/platform-msi.c | 3 +- > drivers/irqchip/irq-gic-v3-its-platform-msi.c | 106 +++++++++++++---- > drivers/irqchip/irq-gic-v3-its.c | 3 +- > drivers/irqchip/irq-mbigen.c | 109 ++++++++++++++--- > include/linux/acpi_iort.h | 11 ++ > 7 files changed, 322 insertions(+), 77 deletions(-) > I tested the v7 series along with Lorenzo's patch using HIDMA and MSI interrupts. Everything checked out OK. Tested-by: Sinan Kaya <okaya@codeaurora.org> -- Sinan Kaya Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | linux.kernel
csiph-web