diff options
| author | Robin Murphy <Robin.Murphy@arm.com> | 2015-07-29 19:46:05 +0100 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:15:16 -0700 |
| commit | 5c214164ac012429344746635d011b94b80ea169 (patch) | |
| tree | 4d80d7d9abeccfcdb9d3f04197a72ef2ff4c0284 /include/uapi/linux/raid | |
| parent | 0e956d730359e3d140091d0d33458e7def246a3e (diff) | |
iommu/arm-smmu: Sort out coherency
Currently, we detect whether the SMMU has coherent page table walk
capability from the IDR0.CTTW field, and base our cache maintenance
decisions on that. In preparation for fixing the bogus DMA API usage,
however, we need to ensure that the DMA API agrees about this, which
necessitates deferring to the dma-coherent property in the device tree
for the final say.
As an added bonus, since systems exist where an external CTTW signal
has been tied off incorrectly at integration, allowing DT to override
it offers a neat workaround for coherency issues with such SMMUs.
Change-Id: I05f5d4bb2cbbbfa28446e423829f00f4a2aa0df3
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
[pdaly@codeaurora.org Change dev_notice to dev_dbg]
Diffstat (limited to 'include/uapi/linux/raid')
0 files changed, 0 insertions, 0 deletions
