[PATCH 4/7] iommu: dart: Support a variable number of TTBRs per stream

Hector Martin marcan at marcan.st
Wed Jan 4 20:51:44 PST 2023


On 2023/01/04 22:18, Sven Peter wrote:
>> @@ -993,7 +1003,7 @@ static __maybe_unused int apple_dart_resume(struct 
>> device *dev)
>>  	for (sid = 0; sid < dart->num_streams; sid++) {
>>  		for (idx = 0; idx < DART_MAX_TTBR; idx++)
> 
> s/DART_MAX_TTBR/dart->hw->ttbr_count/ I think.
> 
> With that fixed:
> 
> Reviewed-by: Sven Peter <sven at svenpeter.dev>
Yup, good catch, thanks!

- Hector



More information about the linux-arm-kernel mailing list