diff options
author | Vasant Hegde <[email protected]> | 2024-04-18 10:33:50 +0000 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2024-04-26 12:15:59 +0200 |
commit | 7c5b7176f0c3996adbe853adb1f857bd4f82b1e2 (patch) | |
tree | f5487a0ff900c7a57657524819d9aecb286b07b4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e08fcd901c4301c150a8212df28df7f4d4811988 (diff) |
iommu/amd: Fix PPR interrupt processing logic
* Do not re-read ppr head pointer as its just updated by the driver.
* Do not read PPR buffer tail pointer inside while loop. If IOMMU
generates PPR events continuously then completing interrupt processing
takes long time. In worst case it may cause infinite loop.
Suggested-by: Tom Lendacky <[email protected]>
Signed-off-by: Vasant Hegde <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions