diff options
author | P Praneesh <quic_ppranees@quicinc.com> | 2023-03-24 17:57:01 +0300 |
---|---|---|
committer | Kalle Valo <quic_kvalo@quicinc.com> | 2023-04-12 13:00:54 +0300 |
commit | 756a7f90878f0866fd2fe167ef37e90b47326b96 (patch) | |
tree | e0c640cee583cbd04732ebd0dc1404342a8706f1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 447b0398a9cd41ca343dfd43e555af92d6214487 (diff) | |
download | linux-756a7f90878f0866fd2fe167ef37e90b47326b96.tar.xz |
wifi: ath11k: fix writing to unintended memory region
While initializing spectral, the magic value is getting written to the
invalid memory address leading to random boot-up crash. This occurs
due to the incorrect index increment in ath11k_dbring_fill_magic_value
function. Fix it by replacing the existing logic with memset32 to ensure
there is no invalid memory access.
Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.4.0.1-01838-QCAHKSWPL_SILICONZ-1
Fixes: d3d358efc553 ("ath11k: add spectral/CFR buffer validation support")
Signed-off-by: P Praneesh <quic_ppranees@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230321052900.16895-1-quic_ppranees@quicinc.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions