Commit a48130e
iommu/amd: Enable PPR/GA interrupt after interrupt handler setup
Current code enables PPR and GA interrupts before setting up the
interrupt handler (in state_next()). Make sure interrupt handler
is in place before enabling these interrupt.
amd_iommu_enable_interrupts() gets called in normal boot, kdump as well
as in suspend/resume path. Hence moving interrupt enablement to this
function works fine.
Reviewed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Link: https://lore.kernel.org/r/20230628054554.6131-4-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>1 parent f52c895 commit a48130e
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2943 | 2943 | | |
2944 | 2944 | | |
2945 | 2945 | | |
2946 | | - | |
2947 | | - | |
2948 | 2946 | | |
2949 | 2947 | | |
2950 | 2948 | | |
| |||
3208 | 3206 | | |
3209 | 3207 | | |
3210 | 3208 | | |
| 3209 | + | |
| 3210 | + | |
| 3211 | + | |
| 3212 | + | |
| 3213 | + | |
| 3214 | + | |
| 3215 | + | |
3211 | 3216 | | |
3212 | 3217 | | |
3213 | 3218 | | |
| |||
3287 | 3292 | | |
3288 | 3293 | | |
3289 | 3294 | | |
3290 | | - | |
3291 | | - | |
3292 | 3295 | | |
3293 | 3296 | | |
3294 | 3297 | | |
| |||
0 commit comments