[PATCH 1/5] iommu: Add capability IOMMU_CAP_BYPASS

From
Anup Patel <hidden>
Date
2017-07-19 11:19:04
Also in
kvm, linux-iommu, lkml
Reply to
Robin Murphy, 2017-07-19
On Wed, Jul 19, 2017 at 4:28 PM, Robin Murphy [off-list ref] wrote:
On 19/07/17 10:33, Anup Patel wrote:
quoted
Some of the IOMMUs (such as ARM SMMU) are capable of bypassing
transactions for which no IOMMU domain is configured.

This patch adds IOMMU_CAP_BYPASS which can be used by IOMMU
drivers to advertise transation bypass capability of an IOMMU.
Whatever the intended semantics of this are, I can't help thinking it
would be better served by allowing callers to explicitly allocate their
own IOMMU_DOMAIN_IDENTITY domains. That would also be useful for the
problem we have with legacy virtio devices behind real IOMMUs.
We want to use VFIO no-IOMMU mode for FlexRM device but
currently it does not allow on our SOC because IOMMU ops are
registered for platform bus.

Regards,
Anup
Thread (36 messages) 36 messages, 5 authors, last reply 2017-07-25
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help