diff options
| author | Vasant Hegde <vasant.hegde@amd.com> | 2026-08-11 04:08:59 +0000 |
|---|---|---|
| committer | Joerg Roedel <joerg.roedel@amd.com> | 2026-08-11 09:02:56 +0200 |
| commit | abdbd786c5c7f45afb4b65a3603af059104bf5b4 (patch) | |
| tree | 8cb5f697e1d1296cd803ec878fccd04b3dd16bb1 /tools/perf/scripts/python | |
| parent | bc1f5ec826bfa510e7138e2be5aad23907850874 (diff) | |
iommu/amd: Rate limit INVALID_PPR_REQUEST error logging
The amd_iommu_report_ppr_err() function logs an error message for every
INVALID_PPR_REQUEST event. Under certain fault conditions, a misbehaving
or malicious device can flood the IOMMU event log with PPR faults, causing
the kernel log to be overwhelmed with repeated error messages.
Switch from dev_err() to dev_err_ratelimited() to suppress duplicate
messages when INVALID_PPR_REQUEST events occur at a high rate.
Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Ankit Soni <Ankit.Soni@amd.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
