Commit 19e5cc1
iommu/amd: Enable support for up to 2K interrupts per function
AMD IOMMU optionally supports up to 2K interrupts per function on newer
platforms. Support for this feature is indicated through Extended
Feature 2 Register (MMIO Offset 01A0h[NumIntRemapSup]). Allocate 2K IRTEs
per device when this support is available.
Co-developed-by: Sairaj Kodilkar <sarunkod@amd.com>
Signed-off-by: Sairaj Kodilkar <sarunkod@amd.com>
Signed-off-by: Kishon Vijay Abraham I <kvijayab@amd.com>
Reviewed-by: Vasant Hegde <vasant.hegde@amd.com>
Link: https://lore.kernel.org/r/20250307095822.2274-5-sarunkod@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>1 parent 950865c commit 19e5cc1
3 files changed
+65
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
115 | 119 | | |
116 | 120 | | |
117 | 121 | | |
| |||
175 | 179 | | |
176 | 180 | | |
177 | 181 | | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
178 | 185 | | |
179 | 186 | | |
180 | 187 | | |
| |||
309 | 316 | | |
310 | 317 | | |
311 | 318 | | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | 319 | | |
317 | 320 | | |
318 | 321 | | |
319 | 322 | | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
320 | 326 | | |
321 | 327 | | |
322 | 328 | | |
| |||
847 | 853 | | |
848 | 854 | | |
849 | 855 | | |
| 856 | + | |
850 | 857 | | |
851 | 858 | | |
852 | 859 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1060 | 1060 | | |
1061 | 1061 | | |
1062 | 1062 | | |
1063 | | - | |
| 1063 | + | |
| 1064 | + | |
1064 | 1065 | | |
1065 | 1066 | | |
1066 | 1067 | | |
| |||
2736 | 2737 | | |
2737 | 2738 | | |
2738 | 2739 | | |
| 2740 | + | |
| 2741 | + | |
| 2742 | + | |
| 2743 | + | |
| 2744 | + | |
| 2745 | + | |
| 2746 | + | |
| 2747 | + | |
| 2748 | + | |
| 2749 | + | |
| 2750 | + | |
2739 | 2751 | | |
2740 | 2752 | | |
2741 | 2753 | | |
| |||
2748 | 2760 | | |
2749 | 2761 | | |
2750 | 2762 | | |
| 2763 | + | |
2751 | 2764 | | |
2752 | 2765 | | |
2753 | 2766 | | |
| |||
2804 | 2817 | | |
2805 | 2818 | | |
2806 | 2819 | | |
| 2820 | + | |
2807 | 2821 | | |
2808 | 2822 | | |
2809 | 2823 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2394 | 2394 | | |
2395 | 2395 | | |
2396 | 2396 | | |
| 2397 | + | |
2397 | 2398 | | |
2398 | 2399 | | |
| 2400 | + | |
| 2401 | + | |
| 2402 | + | |
| 2403 | + | |
| 2404 | + | |
2399 | 2405 | | |
2400 | 2406 | | |
2401 | 2407 | | |
| |||
3076 | 3082 | | |
3077 | 3083 | | |
3078 | 3084 | | |
| 3085 | + | |
| 3086 | + | |
| 3087 | + | |
| 3088 | + | |
| 3089 | + | |
| 3090 | + | |
| 3091 | + | |
3079 | 3092 | | |
3080 | 3093 | | |
3081 | 3094 | | |
| |||
3090 | 3103 | | |
3091 | 3104 | | |
3092 | 3105 | | |
3093 | | - | |
| 3106 | + | |
3094 | 3107 | | |
3095 | 3108 | | |
3096 | 3109 | | |
| |||
3171 | 3184 | | |
3172 | 3185 | | |
3173 | 3186 | | |
3174 | | - | |
| 3187 | + | |
| 3188 | + | |
3175 | 3189 | | |
3176 | 3190 | | |
3177 | 3191 | | |
3178 | 3192 | | |
3179 | 3193 | | |
3180 | | - | |
| 3194 | + | |
3181 | 3195 | | |
3182 | 3196 | | |
3183 | 3197 | | |
| |||
3239 | 3253 | | |
3240 | 3254 | | |
3241 | 3255 | | |
3242 | | - | |
| 3256 | + | |
| 3257 | + | |
3243 | 3258 | | |
3244 | 3259 | | |
3245 | 3260 | | |
3246 | 3261 | | |
3247 | 3262 | | |
3248 | | - | |
| 3263 | + | |
3249 | 3264 | | |
3250 | 3265 | | |
3251 | 3266 | | |
| |||
3256 | 3271 | | |
3257 | 3272 | | |
3258 | 3273 | | |
3259 | | - | |
| 3274 | + | |
3260 | 3275 | | |
3261 | 3276 | | |
3262 | 3277 | | |
| |||
3526 | 3541 | | |
3527 | 3542 | | |
3528 | 3543 | | |
| 3544 | + | |
| 3545 | + | |
| 3546 | + | |
| 3547 | + | |
| 3548 | + | |
| 3549 | + | |
| 3550 | + | |
| 3551 | + | |
3529 | 3552 | | |
3530 | 3553 | | |
3531 | 3554 | | |
| |||
3588 | 3611 | | |
3589 | 3612 | | |
3590 | 3613 | | |
| 3614 | + | |
| 3615 | + | |
3591 | 3616 | | |
3592 | 3617 | | |
3593 | 3618 | | |
| |||
3606 | 3631 | | |
3607 | 3632 | | |
3608 | 3633 | | |
| 3634 | + | |
| 3635 | + | |
| 3636 | + | |
3609 | 3637 | | |
3610 | 3638 | | |
3611 | 3639 | | |
3612 | 3640 | | |
3613 | 3641 | | |
3614 | 3642 | | |
3615 | 3643 | | |
3616 | | - | |
| 3644 | + | |
3617 | 3645 | | |
3618 | 3646 | | |
3619 | 3647 | | |
| |||
3634 | 3662 | | |
3635 | 3663 | | |
3636 | 3664 | | |
3637 | | - | |
| 3665 | + | |
| 3666 | + | |
3638 | 3667 | | |
3639 | | - | |
| 3668 | + | |
| 3669 | + | |
3640 | 3670 | | |
3641 | 3671 | | |
3642 | 3672 | | |
| |||
0 commit comments