The ARM SMMUv2 does actually support #iommu-cells = <2>, where the second
authorpatrick <patrick@openbsd.org>
Mon, 7 Nov 2022 19:07:31 +0000 (19:07 +0000)
committerpatrick <patrick@openbsd.org>
Mon, 7 Nov 2022 19:07:31 +0000 (19:07 +0000)
commit88ff5766fc37d28549828ef7c16da9fb369c52fa
tree2b31f2c664aa4389079656a9ba1c1218e804ac83
parent6a89557ef31b14e2346ff1ab8020d21ace9e5c31
The ARM SMMUv2 does actually support #iommu-cells = <2>, where the second
cell is used as a mask for SMR to match a number of IDs.  So far we have
asserted that it's always 1, so loosen the restriction and pass both cells
instead of only the sid.

ok kettenis@
sys/dev/ofw/ofw_misc.c