summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorAvula Sri Charan <quic_asrichar@quicinc.com>2025-01-24 12:00:58 +0300
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>2025-02-04 01:43:28 +0300
commit268c73d470a5790a492a2fc2ded084b909d144f3 (patch)
tree3c4ec03aa3f9a06e090b1b13c49f23d29486b326 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent36f002a3e36efd3370f5b6abfc157e7481ecb1e0 (diff)
downloadlinux-268c73d470a5790a492a2fc2ded084b909d144f3.tar.xz
wifi: ath12k: Avoid napi_sync() before napi_enable()
In case of MHI error a reset work will be queued which will try napi_disable() after napi_synchronize(). As the napi will be only enabled after qmi_firmware_ready event, trying napi_synchronize() before napi_enable() will result in indefinite sleep in case of a firmware crash in QMI init sequence. To avoid this, introduce napi_enabled flag to check if napi is enabled or not before calling napi_synchronize(). Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1 Signed-off-by: Avula Sri Charan <quic_asrichar@quicinc.com> Signed-off-by: Tamizh Chelvam Raja <quic_tamizhr@quicinc.com> Reviewed-by: Aditya Kumar Singh <aditya.kumar.singh@oss.qualcomm.com> Link: https://patch.msgid.link/20250124090058.3194299-1-quic_tamizhr@quicinc.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions