Re: Preferred method to detect if a device is behind an enabled iommu.

2018-02-01 Thread Jonathan Cameron
On Thu, 1 Feb 2018 12:49:24 + Robin Murphy wrote: > On 01/02/18 10:18, Jonathan Cameron wrote: > > Hi All, > > > > We have a crypto accelerator which needs to have a few different settings > > depending on whether or not the SMMUv3 is enabled and translating addresses

Re: Preferred method to detect if a device is behind an enabled iommu.

2018-02-01 Thread Robin Murphy
On 01/02/18 10:18, Jonathan Cameron wrote: Hi All, We have a crypto accelerator which needs to have a few different settings depending on whether or not the SMMUv3 is enabled and translating addresses or not. https://marc.info/?l=linux-crypto-vger=151732626428206=2 1) A quirk of the hardware

Preferred method to detect if a device is behind an enabled iommu.

2018-02-01 Thread Jonathan Cameron
Hi All, We have a crypto accelerator which needs to have a few different settings depending on whether or not the SMMUv3 is enabled and translating addresses or not. https://marc.info/?l=linux-crypto-vger=151732626428206=2 1) A quirk of the hardware revision means we need to turn some elements