Re: [EXTERNAL] Re: [PATCH] iommu/arm-smmu-v3: Fix incorrect fields being passed to prefetch command

2019-06-28 Thread Pratyush Yadav via iommu
On 28/06/19 3:22 PM, Will Deacon wrote: > On Fri, Jun 28, 2019 at 02:39:53PM +0530, Pratyush Yadav wrote: >> According to the SMMUv3 spec [0] section 4.2.1, command 0x1 >> (CMD_PREFETCH_CONFIG) does not take address and size as parameters. It >> only takes StreamID, SSec, SubstreamID, and SSV.

Re: [PATCH] iommu/arm-smmu-v3: Fix incorrect fields being passed to prefetch command

2019-06-28 Thread Will Deacon
On Fri, Jun 28, 2019 at 02:39:53PM +0530, Pratyush Yadav wrote: > According to the SMMUv3 spec [0] section 4.2.1, command 0x1 > (CMD_PREFETCH_CONFIG) does not take address and size as parameters. It > only takes StreamID, SSec, SubstreamID, and SSV. Address and Size are > parameters for command 0x

Re: [PATCH] iommu/arm-smmu-v3: Fix incorrect fields being passed to prefetch command

2019-06-28 Thread Pratyush Yadav via iommu
On 28/06/19 2:39 PM, Pratyush Yadav wrote:> According to the SMMUv3 spec [0] section 4.2.1, command 0x1 > (CMD_PREFETCH_CONFIG) does not take address and size as parameters. It > only takes StreamID, SSec, SubstreamID, and SSV. Address and Size are > parameters for command 0x2 (CMD_PREFETCH_AD

[PATCH] iommu/arm-smmu-v3: Fix incorrect fields being passed to prefetch command

2019-06-28 Thread Pratyush Yadav
According to the SMMUv3 spec [0] section 4.2.1, command 0x1 (CMD_PREFETCH_CONFIG) does not take address and size as parameters. It only takes StreamID, SSec, SubstreamID, and SSV. Address and Size are parameters for command 0x2 (CMD_PREFETCH_ADDR). Tested on kernel 4.19 on TI J721E SOC. [0] http