diff options
| author | Avula Sri Charan <quic_asrichar@quicinc.com> | 2025-01-24 12:00:58 +0300 |
|---|---|---|
| committer | Jeff Johnson <jeff.johnson@oss.qualcomm.com> | 2025-02-04 01:43:28 +0300 |
| commit | 268c73d470a5790a492a2fc2ded084b909d144f3 (patch) | |
| tree | 3c4ec03aa3f9a06e090b1b13c49f23d29486b326 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 36f002a3e36efd3370f5b6abfc157e7481ecb1e0 (diff) | |
| download | linux-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
