Commit c3b42b6
iommu/amd: Use iommu_alloc_pages_node_sz() for the IRT
Use the actual size of the irq_table allocation, limiting to 128 due to
the HW alignment needs.
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/22-v4-c8663abbb606+3f7-iommu_pages_jgg@nvidia.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>1 parent 5087f66 commit c3b42b6
2 files changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| 317 | + | |
317 | 318 | | |
318 | 319 | | |
319 | 320 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3129 | 3129 | | |
3130 | 3130 | | |
3131 | 3131 | | |
3132 | | - | |
| 3132 | + | |
3133 | 3133 | | |
3134 | 3134 | | |
3135 | 3135 | | |
3136 | 3136 | | |
3137 | 3137 | | |
3138 | 3138 | | |
3139 | 3139 | | |
3140 | | - | |
| 3140 | + | |
| 3141 | + | |
3141 | 3142 | | |
3142 | 3143 | | |
3143 | 3144 | | |
| |||
3191 | 3192 | | |
3192 | 3193 | | |
3193 | 3194 | | |
3194 | | - | |
3195 | 3195 | | |
3196 | 3196 | | |
3197 | 3197 | | |
| |||
3211 | 3211 | | |
3212 | 3212 | | |
3213 | 3213 | | |
3214 | | - | |
| 3214 | + | |
3215 | 3215 | | |
3216 | 3216 | | |
3217 | 3217 | | |
| |||
0 commit comments