diff options
author | Breno Leitao <leitao@debian.org> | 2025-04-01 16:47:49 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-04-15 21:48:24 +0300 |
commit | 41c721fc093938745d116c3a21326a0ee03bb491 (patch) | |
tree | 8913caec6e36bffb179ba4845bcf6a2ac75ce889 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 36ff6c3f5084f2dbb6cd89d15b78cf734e9abfa6 (diff) | |
download | linux-41c721fc093938745d116c3a21326a0ee03bb491.tar.xz |
spi: tegra210-quad: use WARN_ON_ONCE instead of WARN_ON for timeouts
Some machines with tegra_qspi_combined_seq_xfer hardware issues generate
excessive kernel warnings, severely polluting the logs:
dmesg | grep -i "WARNING:.*tegra_qspi_transfer_one_message" | wc -l
94451
This patch replaces WARN_ON with WARN_ON_ONCE for timeout conditions to
reduce log spam. The subsequent error message still prints on each
occurrence, providing sufficient information about the failure, while
the stack trace is only needed once for debugging purposes.
Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://patch.msgid.link/20250401-tegra-v2-1-126c293ec047@debian.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions