summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorBaochen Qiang <baochen.qiang@oss.qualcomm.com>2025-08-15 09:44:58 +0800
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>2025-09-18 16:43:48 -0700
commit8873edecb38888726ce411b32de91b96cf41bbdb (patch)
treef9aec39fa5243a5fcc70ea97ae0b013bb1326419 /tools/perf/scripts/python/stackcollapse.py
parent43746f13fec67f6f223d64cfe96c095c9b468e70 (diff)
downloadkernel-8873edecb38888726ce411b32de91b96cf41bbdb.tar.gz
wifi: ath12k: downgrade log level for CE buffer enqueue failure
There are two rings involved in the Copy Engine (CE) receive path handling, the CE status (STS) ring and the CE destination (DST) ring. Each time CE hardware needs to send an event (e.g. WMI event) to host, CE hardware finds a buffer (to which the tail pointer (TP) points) in DST ring and fills it with payload, then hardware fills meta data in STS ring and fires interrupt to host. Please note the TP of DST ring is expected to be advanced by CE hardware before interrupting host. While handling the interrupt, host finds that DST ring buffers are used hence increases rx_buf_needed to record the number of buffers to be replenished. Note before that, host compares TP and head pointer (HP) of DST ring to see if there is available space. Normally rx_buf_needed simply equals available space. But sometimes CE hardware doesn't (for whatever reason) update TP timely, making the comparison fails, then enqueue is cancelled and a warning is logged. However even enqueue fails this time, rx_buf_needed still records the numbers of needed buffers. Later when TP gets updated correctly, the missing buffer will be eventually replenished. And there is no doubt on the late update, it always comes (or lots of such warnings should be seen). Since this won't cause any functional issue, downgrade logging level to avoid misleading. Compile tested only. Signed-off-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com> Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com> Link: https://patch.msgid.link/20250815-ath-dont-warn-on-ce-enqueue-fail-v1-3-f955ddc3ba7a@oss.qualcomm.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
>2012-03-28mm: move page-types.c from Documentation to tools/vmDave Young 2012-03-22Merge tag 'stable/for-linus-3.4' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds 2012-03-21pagemap: document KPF_THP and make page-types aware of itNaoya Horiguchi 2012-03-19Merge branch 'stable/cleancache.v13' into linux-nextKonrad Rzeszutek Wilk 2012-03-07Documentation: Fix multiple typo in DocumentationMasanari Iida 2012-02-10mm: Fix typo in cleancache.txtMasanari Iida 2012-02-09mm: Fix typo in unevictable-lru.txtMasanari Iida 2012-01-23mm: cleancache: report statistics via debugfs instead of sysfs.Dan Magenheimer 2012-01-23mm: cleancache: s/flush/invalidate/Dan Magenheimer 2012-01-12slub: document setting min order with debug_guardpage_minorder > 0Stanislaw Gruszka 2011-11-27slub: fix slub_max_order DocumentationEric Dumazet 2011-10-26Merge branches 'slab/next' and 'slub/partial' into slab/for-linusPekka Enberg 2011-10-25Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds 2011-09-27doc: fix broken referencesPaul Bolle 2011-09-22thp: fix khugepaged defrag tunable documentationDavid Rientjes 2011-08-31slub: doc: update the slabinfo.c file pathJason Liu