Commit 80739b6
schemas: pci: pci-iommu: support variable-length iommu-specifier
The iommu-map tuple size is variable: the iommu-specifier length is
determined by the #iommu-cells property of the referenced IOMMU node
(e.g. 4 cells total for #iommu-cells = <1>, 5 cells for
#iommu-cells = <2>).
Update the iommu-map description to document the tuple format
(rid-base, iommu, iommu-specifier, rid-length) and clarify that the
iommu-specifier length depends on #iommu-cells. Remove the items
validation as it cannot handle variable-length rows. Add an example
with a 2-cell iommu-specifier and multiple iommu-map entries.
[1] https://lore.kernel.org/all/20260331-parse_iommu_cells-v12-3-decfd305eea9@oss.qualcomm.com/
Signed-off-by: Vijayanand Jitta <vijayanand.jitta@oss.qualcomm.com>1 parent e56d0c4 commit 80739b6
1 file changed
Lines changed: 33 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | | - | |
49 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
50 | 53 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | 54 | | |
60 | 55 | | |
61 | 56 | | |
| |||
180 | 175 | | |
181 | 176 | | |
182 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
183 | 205 | | |
0 commit comments