[PATCH 2/2] arm-smmu: Add possibillity to mask streamIDs

Nipun Gupta nipun.gupta at nxp.com
Fri Jun 3 02:41:53 PDT 2016



-----Original Message-----
From: Thommy Jakobsson [mailto:thommyj at gmail.com] 
Sent: Friday, June 03, 2016 2:32 PM
To: Nipun Gupta <nipun.gupta at nxp.com>
Cc: linux-arm-kernel at lists.infradead.org; robin.murphy at arm.com; will.deacon at arm.com
Subject: Re: [PATCH 2/2] arm-smmu: Add possibillity to mask streamIDs

>>[Gupta Nipun] I should start from 0 and should be incremented in the while loop.
>>[Gupta Nipun] Should this not be 'master->cfg.streammasks[i] = 
>>streammask
Good catch Gupta, thanks. Merging to latest linus tree obviously went wrong. Should of_for_each_phandle work?
I had problems with that so I backed out and moved back to while of_parse_phandle_with_args. But parsing of mmu-masters seems to use of_for_each_phandle
[Gupta Nipun] I am not an expert in this, but I do not see any reason for 'of_for_each_phandle' to not work.

BR,
Thommy Jakobsson


More information about the linux-arm-kernel mailing list