From: Robin Murphy <robin.murphy-5wv7dgnIgG8@public.gmane.org>
To: Jon Masters <jcm-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
Jayachandran C <jchandra-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
Cc: linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Bjorn Helgaas <helgaas-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
Subject: Re: [PATCH v2 1/2] PCI: Add PCI device flag PCI_DEV_FLAGS_DMA_ALIAS_ROOT
Date: Thu, 23 Jun 2016 13:04:01 +0100 [thread overview]
Message-ID: <576BD031.7090105@arm.com> (raw)
In-Reply-To: <037404e2-3168-8f99-0bdb-bb929776108e-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
On 23/06/16 06:01, Jon Masters wrote:
> On 05/11/2016 10:26 AM, Robin Murphy wrote:
>> (I have no actual objection to this patch, though, and at this point
>> I'm just chucking ideas about).
>
> Can I ask what the next steps are here? We're looking for upstream
> direction to guide some internal activities and could really do with
> understanding how you'd like to solve this one longer term as well as
> what interim solution could be acceptable until we get there.
Well, for now I'm planning to leave the explicit "terminate the alias
walk from the callback function" behaviour in the DT-parsing code[1],
since there doesn't seem any good reason not to. As Bjorn says, though,
it probably is generally useful for the PCI code to have its own
knowledge of exactly where DMA can escape the PCI hierarchy - I now
wonder if we could actually just do that from the DT/IORT code; if
firmware says a particular bridge/etc. has a relationship with an ITS or
SMMU, then presumably it's reasonable to infer that DMA can come out of
it, thus we could inform the PCI code there and then without it having
to quirk things on its own?
Robin.
[1]:http://article.gmane.org/gmane.linux.kernel.iommu/13932
>
> Jon.
>
WARNING: multiple messages have this Message-ID (diff)
From: Robin Murphy <robin.murphy@arm.com>
To: Jon Masters <jcm@redhat.com>, Jayachandran C <jchandra@broadcom.com>
Cc: Alex Williamson <alex.williamson@redhat.com>,
iommu@lists.linux-foundation.org,
Bjorn Helgaas <helgaas@kernel.org>,
linux-pci@vger.kernel.org
Subject: Re: [PATCH v2 1/2] PCI: Add PCI device flag PCI_DEV_FLAGS_DMA_ALIAS_ROOT
Date: Thu, 23 Jun 2016 13:04:01 +0100 [thread overview]
Message-ID: <576BD031.7090105@arm.com> (raw)
In-Reply-To: <037404e2-3168-8f99-0bdb-bb929776108e@redhat.com>
On 23/06/16 06:01, Jon Masters wrote:
> On 05/11/2016 10:26 AM, Robin Murphy wrote:
>> (I have no actual objection to this patch, though, and at this point
>> I'm just chucking ideas about).
>
> Can I ask what the next steps are here? We're looking for upstream
> direction to guide some internal activities and could really do with
> understanding how you'd like to solve this one longer term as well as
> what interim solution could be acceptable until we get there.
Well, for now I'm planning to leave the explicit "terminate the alias
walk from the callback function" behaviour in the DT-parsing code[1],
since there doesn't seem any good reason not to. As Bjorn says, though,
it probably is generally useful for the PCI code to have its own
knowledge of exactly where DMA can escape the PCI hierarchy - I now
wonder if we could actually just do that from the DT/IORT code; if
firmware says a particular bridge/etc. has a relationship with an ITS or
SMMU, then presumably it's reasonable to infer that DMA can come out of
it, thus we could inform the PCI code there and then without it having
to quirk things on its own?
Robin.
[1]:http://article.gmane.org/gmane.linux.kernel.iommu/13932
>
> Jon.
>
next prev parent reply other threads:[~2016-06-23 12:04 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <linux-pci@vger.kernel.org>
2016-05-08 9:33 ` [PATCH v2 1/2] PCI: Add PCI device flag PCI_DEV_FLAGS_DMA_ALIAS_ROOT Jayachandran C
2016-05-08 9:33 ` [PATCH v2 2/2] PCI: Handle Broadcom Vulcan DMA alias calculation quirk Jayachandran C
2016-06-11 17:24 ` Bjorn Helgaas
2016-06-14 16:10 ` Jayachandran C
2016-05-09 10:10 ` [PATCH v2 1/2] PCI: Add PCI device flag PCI_DEV_FLAGS_DMA_ALIAS_ROOT Robin Murphy
2016-05-11 6:28 ` Jayachandran C
2016-05-11 14:26 ` Robin Murphy
2016-05-17 11:55 ` Jayachandran C
2016-06-23 5:01 ` Jon Masters
[not found] ` <037404e2-3168-8f99-0bdb-bb929776108e-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-06-23 12:04 ` Robin Murphy [this message]
2016-06-23 12:04 ` Robin Murphy
[not found] ` <576BD031.7090105-5wv7dgnIgG8@public.gmane.org>
2016-06-23 13:19 ` Jon Masters
2016-06-23 13:19 ` Jon Masters
2016-06-24 3:37 ` Bjorn Helgaas
2016-06-24 3:37 ` Bjorn Helgaas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=576BD031.7090105@arm.com \
--to=robin.murphy-5wv7dgnigg8@public.gmane.org \
--cc=helgaas-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
--cc=jchandra-dY08KVG/lbpWk0Htik3J/w@public.gmane.org \
--cc=jcm-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.