diff options
| author | Nicolin Chen <nicolinc@nvidia.com> | 2026-07-14 13:55:08 -0700 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2026-07-28 09:52:03 +0000 |
| commit | a86c36163c9722545d27e92bdad8418fdcaa8b1d (patch) | |
| tree | aae82a6dd095852b13e1e1635def278c25c4db39 /tools/perf/scripts/python | |
| parent | f40f3144477314b489e4bc209c06cb51679fe82b (diff) | |
iommu/tegra241-cmdqv: Rate-limit the error ISR's log message
tegra241_cmdqv_isr() logs the error-map registers on every error interrupt.
A malfunctioning device, or a guest deliberately faulting its own VCMDQs,
can raise these interrupts rapidly, and the unconditional dev_warn() then
floods the kernel log.
Rate-limit the message with dev_warn_ratelimited(), and pass the error-map
registers straight to it so their four MMIO reads run only when the limiter
prints, instead of building the string on every interrupt.
Assisted-by: Claude:claude-opus-4-8
Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
