Searched hist:a48130e92f1c86638295a53d1735dfed7f55a2c4 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/iommu/amd/ |
H A D | init.c | diff a48130e92f1c86638295a53d1735dfed7f55a2c4 Wed Jun 28 00:45:54 CDT 2023 Vasant Hegde <vasant.hegde@amd.com> 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>
|