[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c9c233c4-bb19-df6f-f848-7306af713eb5@semihalf.com>
Date: Wed, 7 Sep 2016 15:01:44 +0200
From: Tomasz Nowicki <tn@...ihalf.com>
To: marc.zyngier@....com, tglx@...utronix.de, jason@...edaemon.net,
rjw@...ysocki.net, helgaas@...nel.org, rafael@...nel.org,
Lorenzo.Pieralisi@....com
Cc: will.deacon@....com, catalin.marinas@....com,
hanjun.guo@...aro.org, shijie.huang@....com,
robert.richter@...iumnetworks.com, mw@...ihalf.com,
linux-pci@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linaro-acpi@...ts.linaro.org, andrea.gallo@...aro.org,
linux-acpi@...r.kernel.org, linux-kernel@...r.kernel.org,
al.stone@...aro.org, graeme.gregory@...aro.org,
ddaney.cavm@...il.com, okaya@...eaurora.org
Subject: Re: [UPDATE PATCH V10 2/8] ACPI: Add new IORT functions to support
MSI domain handling
On 07.09.2016 13:58, Tomasz Nowicki wrote:
> For ITS, MSI functionality consists on building domain stack and
> during that process we need to reference to domain stack components
> e.g. before we create new DOMAIN_BUS_PCI_MSI domain we need to specify
> its DOMAIN_BUS_NEXUS parent domain. In order to manage that process
> properly, maintain list which elements contain domain token
> (unique for MSI domain stack) and ITS ID: iort_register_domain_token()
> and iort_deregister_domain_token(). Then retrieve domain token
> any time later with ITS ID being key off: iort_find_domain_token().
> With domain token and domain type we are able to find corresponding
> IRQ domain.
>
> Since IORT is prepared to describe MSI domain on a per-device basis,
> use existing IORT helpers and implement two calls:
> 1. iort_msi_map_rid() to map MSI RID for a device
> 2. iort_get_device_domain() to find domain token for a device
>
> Signed-off-by: Tomasz Nowicki <tn@...ihalf.com>
> Reviewed-by: Hanjun Guo <hanjun.guo@...aro.org>
>
> Conflicts:
> drivers/acpi/arm64/iort.c
Rebase leftover ^^^, sorry.
Tomasz
Powered by blists - more mailing lists