diff options
author | Vasant Hegde <[email protected]> | 2023-06-28 05:32:21 +0000 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2023-07-14 16:20:37 +0200 |
commit | 2379f3485239095b8782353c2431f3c97c275986 (patch) | |
tree | 54db543e6fd2f6213a99d188fd6f9423042177f8 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 274c2218b8b29ea2e0404f97d52040deb16d42dd (diff) |
iommu/amd: Refactor IOMMU interrupt handling logic for Event, PPR, and GA logs
The AMD IOMMU has three log buffers (i.e. Event, PPR, and GA). The IOMMU
driver processes these log entries when it receive an IOMMU interrupt.
Then, it needs to clear the corresponding interrupt status bits. Also, when
an overflow occurs, it needs to handle the log overflow by clearing the
specific overflow status bit and restart the log.
Since, logic for handling these logs is the same, refactor the code into a
helper function called amd_iommu_handle_irq(), which handles the steps
described. Then, reuse it for all types of log.
Reviewed-by: Suravee Suthikulpanit <[email protected]>
Signed-off-by: Vasant Hegde<[email protected]>
Reviewed-by: Jerry Snitselaar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions