iommu: dart: Support a variable number of TTBRs per stream
authorHector Martin <marcan@marcan.st>
Fri, 13 Jan 2023 10:50:27 +0000 (19:50 +0900)
committerJoerg Roedel <jroedel@suse.de>
Fri, 20 Jan 2023 09:35:49 +0000 (10:35 +0100)
commit0b459bcdc5a8b8929ec0f568723c7c639f1673cf
treecdaada8479e63722ae50ebf9dcd5b04ccd24fdce
parent510d4072df7fcf27dcd2dc1942d58b2cc02b03f2
iommu: dart: Support a variable number of TTBRs per stream

T8110 only has one TTBR per stream, so un-hardcode that.

Reviewed-by: Sven Peter <sven@svenpeter.dev>
Signed-off-by: Hector Martin <marcan@marcan.st>
Link: https://lore.kernel.org/r/20230113105029.26654-5-marcan@marcan.st
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/apple-dart.c