Thread (37 messages) 37 messages, 7 authors, 2017-01-17

[PATCH v7 00/15] ACPI platform MSI support and its example mbigen

From: guohanjun@huawei.com (Hanjun Guo)
Date: 2017-01-14 04:32:23
Also in: linux-acpi, lkml

Hi Wei,

On 2017/1/13 22:11, Wei Xu wrote:
Hi Hanjun,

On 2017/1/11 15:06, Hanjun Guo wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help