iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* Users of IOMMU_QCOM_SYS_CACHE?
@ 2019-10-24 10:51 Will Deacon
  2019-10-24 11:11 ` Sai Prakash Ranjan
  2019-10-24 15:38 ` Jordan Crouse
  0 siblings, 2 replies; 5+ messages in thread
From: Will Deacon @ 2019-10-24 10:51 UTC (permalink / raw)
  To: iommu; +Cc: robin.murphy, sspatil

Hi all,

In commit 90ec7a76cc4b ("iommu/io-pgtable-arm: Add support to use system
cache") we added support for IOMMU_QCOM_SYS_CACHE which was merged into 5.3.
This allows non-coherent devices to request an outer cacheable memory
type.... except that nobody actually does this in mainline. I remember there
being a potential DRM user but I don't know what happened to it.

Given that this isn't actually exposed in the DMA API, I worry that we're
just carrying part of an out-of-tree hack here and propose that we drop
the flag altogether unless we get an upstream user, preferably by plumbing
this into the DMA API via a new attribute.

Thoughts?

Will
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-10-24 15:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-24 10:51 Users of IOMMU_QCOM_SYS_CACHE? Will Deacon
2019-10-24 11:11 ` Sai Prakash Ranjan
2019-10-24 11:21   ` Will Deacon
2019-10-24 11:31     ` Sai Prakash Ranjan
2019-10-24 15:38 ` Jordan Crouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).