Re: Qualcomm Atheros Ath10k and Ath11k CE Buffer DMA alignment issues on Raspberry PI CM4 - Aarch64 architecture

2021-10-01 Thread Govind Singh
On 01-10-2021 12:08, Kalle Valo wrote: Maurice Smulders writes: I am trying to use the QCA6174A and the QCA6390 on a custom board using a PCIe switch - but that doesn't matter - It still fails w/o the switch: lspci 00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2711 PCIe Bridge (rev

ath10k:IBSS-RSN not working with QCA6174.

2021-08-02 Thread Govind Singh
i :01:00.0: htt tx completion msdu_id 3 status 3 BR, Govind Singh ___ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k

Re: [PATCH] wireless: ath10k: Return early in ath10k_qmi_event_server_exit() to avoid hard crash on reboot

2020-08-28 Thread Govind Singh
Hi Kalle, On 2020-08-28 18:22, Kalle Valo wrote: Amit Pundir writes: On Mon, 8 Jun 2020 at 17:07, Kalle Valo wrote: > I don't agree with this. If you read through the replies to the bug report, > it is clear that NS migration uncovered a corner case or even a bug. So we > should try to fix

Re: [PATCH] ath10k: Move msa region map/unmap to init/deinit path

2020-06-06 Thread Govind Singh
Pls ignore this WAR as it does not fix all cases. On 2020-06-03 19:03, Govind Singh wrote: With kernel qrtr switch from user space qrtr, fw crash is seen during reboot. During reboot modem rproc shutdown causes wlan qmi service exit and msa region gets unmapped. Since pdev is not suspended hw

[PATCH] ath10k: Move msa region map/unmap to init/deinit path

2020-06-03 Thread Govind Singh
to kernel from userspace Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/qmi.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/qmi.c b/drivers/net/wireless/ath/ath10k/qmi.c index 5ae829b46c3d..8b1291e28

[PATCH] ath10k: Remove experimental tag from ath10k Kconfig

2020-05-06 Thread Govind Singh
ath10k(sdio/snoc) is no longer experimental. Remove experimental tag for SDIO/SNOC from ath10k Kconfig. Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/Kconfig | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/Kconfig b

RE: Ath10k reboot regression with v5.7-rc1 on dragonboard 845c

2020-04-29 Thread Govind Singh
Hi Amit, Seems del_server is being notified early due to qrtr-ns migration from userspace to kernel prior remote(modem + wifi) actually went down. As per of del_server we are removing the MSA permission via SCM call, but remote(wifi user pd in modem Q6) is still accessing the region. BR, Govind

[PATCH v3 0/2] Don't call SCM interface for statically mapped msa region

2020-01-03 Thread Govind Singh
etree list for review. Govind Singh (2): dt: bindings: add dt entry flag to skip SCM call for msa region ath10k: Don't call SCM interface for statically mapped msa region .../devicetree/bindings/net/wireless/qcom,ath10k.txt | 4 drivers/net/wireless/ath/ath10k/qmi.c

[PATCH v3 1/2] dt: bindings: add dt entry flag to skip SCM call for msa region

2020-01-03 Thread Govind Singh
Add boolean context flag to disable SCM call for statically mapped msa region. Signed-off-by: Govind Singh --- .../devicetree/bindings/net/wireless/qcom,ath10k.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b

[PATCH v3 2/2] ath10k: Don't call SCM interface for statically mapped msa region

2020-01-03 Thread Govind Singh
For some targets ex: QCS404, SCM permissions for MSA region is statically configured in TrustZone fw. Add SCM call disable option for such targets to avoid duplicate permissions. Testing: Tested on WCN3990 HW Tested FW: WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Govind Singh --- drivers

[PATCH] ath10k: move non-fatal warn logs to dbg level

2019-11-25 Thread Govind Singh
warn message on console. htc.c:803: ath10k_warn(ar, "unsupported HTC service id: %d\n", htc.c:881: ath10k_warn(ar, "unsupported HTC service id: %d\n", Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/htc.c | 8 1 file changed, 4 insertions(+),

[PATCH v2 0/2] Don't call SCM interface for statically mapped msa region

2019-11-10 Thread Govind Singh
For some targets ex: SC7180/QCS404, SCM permissions for MSA region is statically configured in TrustZone fw. Add SCM call disable option for such targets to avoid duplicate permissions. Change since v1: Added devicetree list for review. Govind Singh (2): dt: bindings: add dt entry flag

[PATCH v2 1/2] dt: bindings: add dt entry flag to skip SCM call for msa region

2019-11-10 Thread Govind Singh
Add boolean context flag to disable SCM call for statically mapped msa region. Signed-off-by: Govind Singh --- .../devicetree/bindings/net/wireless/qcom,ath10k.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b

[PATCH v2 2/2] ath10k: Don't call SCM interface for statically mapped msa region

2019-11-10 Thread Govind Singh
For some targets ex: QCS404, SCM permissions for MSA region is statically configured in TrustZone fw. Add SCM call disable option for such targets to avoid duplicate permissions. Testing: Tested on WCN3990 HW Tested FW: WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Govind Singh --- drivers

Re: [PATCH 1/2] dt: bindings: add dt entry flag to skip SCM call for msa region

2019-10-24 Thread Govind Singh
Hi Kalle, On 2019-10-24 12:44, Kalle Valo wrote: Govind Singh writes: Add boolean context flag to disable SCM call for statically mapped msa region. Signed-off-by: Govind Singh Oddly this didn't apply, but 3-way merge did work. Please double check the result in the pending branch: https

[PATCH 2/2] ath10k: Don't call SCM interface for statically mapped msa region

2019-10-23 Thread Govind Singh
For some targets ex: QCS404, SCM permissions for MSA region is statically configured in TrustZone fw. Add SCM call disable option for such targets to avoid duplicate permissions. Testing: Tested on WCN3990 HW Tested FW: WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Govind Singh --- drivers

[PATCH 0/2] Don't call SCM interface for statically mapped msa region

2019-10-23 Thread Govind Singh
For some targets ex: SC7180/QCS404, SCM permissions for MSA region is statically configured in TrustZone fw. Add SCM call disable option for such targets to avoid duplicate permissions. Govind Singh (2): dt: bindings: add dt entry flag to skip SCM call for msa region ath10k: Don't call SCM

[PATCH 1/2] dt: bindings: add dt entry flag to skip SCM call for msa region

2019-10-23 Thread Govind Singh
Add boolean context flag to disable SCM call for statically mapped msa region. Signed-off-by: Govind Singh --- .../devicetree/bindings/net/wireless/qcom,ath10k.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b

[PATCH v2] arm64: dts: qcom: qcs404: Add wifi rails in QCS404 dt node for proxy votes

2019-07-31 Thread Govind Singh
Add wifi regulators in qcs404 dt node for proxy vote. Proxy votes are required for handling driver recovery scenarios to prevent un-clocked register access during driver recovery. Signed-off-by: Govind Singh --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 3 +++ 1 file changed, 3 insertions

[PATCH] ath10k: revalidate the msa region coming from firmware

2019-07-31 Thread Govind Singh
-QCAHLSWMTPLZ-1 Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/qmi.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/qmi.c b/drivers/net/wireless/ath/ath10k/qmi.c index 2e678780df5d..3457509a003f 100644 --- a/drivers/net/wireless/ath

Re: [PATCH 0/3] ath10k: Clean up regulator and clock handling

2019-07-26 Thread Govind Singh
-by: Govind Singh Reviewed-by: Govind Singh BR, Govind

Re: [PATCH 2/3] ath10k: Move regulator config to driver private data

2019-07-23 Thread Govind Singh
On 2019-07-23 05:27, Bjorn Andersson wrote: On Tue 02 Jul 20:57 PDT 2019, Govind Singh wrote: WCN3990 Regulator config is varying b/w different MSM platforms. In order to have scalable config, move regulator config to driver private data. Regulators supplying clients with fixed voltage

[PATCH v4] ath10k: Enable MSA region dump support for WCN3990

2019-07-08 Thread Govind Singh
MSA memory region caries the hw descriptors information. Dump MSA region in core dump as this is very helpful in debugging hw issues. Testing: Tested on WCN3990 HW Tested FW: WLAN.HL.3.1-00959-QCAHLSWMTPLZ-1 Signed-off-by: Govind Singh --- Changes from v3: - Fixed error reported in v2

[PATCH 2/3] ath10k: Move regulator config to driver private data

2019-07-02 Thread Govind Singh
WCN3990 Regulator config is varying b/w different MSM platforms. In order to have scalable config, move regulator config to driver private data. Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/snoc.c | 38 +- drivers/net/wireless/ath/ath10k/snoc.h | 23

[PATCH 1/3] dt: bindings: update compatible dt properties for WCN3990 wifi node

2019-07-02 Thread Govind Singh
update compatible dt properties for WCN3990 wifi node to be compatible across different MSM platforms. Signed-off-by: Govind Singh --- Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/net

[PATCH 0/3] Move voltage regulator config to driver private data

2019-07-02 Thread Govind Singh
WCN3990 voltage regulator config is varying b/w different MSM platforms ex: SDM845/ QCS404. In order to have scalable config, move regulator config to driver private data. Tested HW: WCN3990(SDM845/QCS404) Tested FW: WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Govind Singh (3): dt: bindings: update

[PATCH 3/3] arm64: dts: qcom: qcs404: Modify wifi dt node for SDM845/QCS404 devices

2019-07-02 Thread Govind Singh
Modify the compatible string of wifi node for SDM845/QCS404 devices. Add wifi regulators in qcs404 dt node for proxy vote. Proxy votes are required for handling driver recovery scenarios to prevent un-clocked register access during driver recovery. Signed-off-by: Govind Singh --- arch/arm64

[PATCH v3] ath10k: Enable MSA region dump support for WCN3990

2019-06-10 Thread Govind Singh
MSA memory region caries the hw descriptors information. Dump MSA region in core dump as this is very helpful in debugging hw issues. Testing: Tested on WCN3990 HW Tested FW: WLAN.HL.3.1-00959-QCAHLSWMTPLZ-1 Signed-off-by: Govind Singh --- Changes from v2: - Rebased on top of 38faed150438

[PATCH v2 1/1] ath10k: Enable MSA region dump support for WCN3990

2019-05-06 Thread Govind Singh
MSA memory region caries the hw descriptors information. Dump MSA region in core dump as this is very helpful in debugging hw issues. Testing: Tested on WCN3990 HW Tested FW: WLAN.HL.3.1-00959-QCAHLSWMTPLZ-1 Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/coredump.c | 21

[PATCH] ath10k: Add WMI diag fw logging support for WCN3990

2019-04-01 Thread Govind Singh
. Testing: Tested on WCN3990/QCA6174 HW Tested FW: WLAN.HL.3.1-00959-QCAHLSWMTPLZ-1 Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/core.c | 9 ++ drivers/net/wireless/ath/ath10k/core.h | 1 + drivers/net/wireless/ath/ath10k/hif.h | 15 + drivers/net/wireless/ath/ath10k

[PATCH v3 1/2] dt: bindings: add dt entry for XO calibration support

2019-04-01 Thread Govind Singh
Add dt binding to get xo calibration data support for wifi rf clock. Signed-off-by: Govind Singh --- Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b/Documentation

[PATCH v3 2/2] ath10k: Add xo calibration support for wifi rf clock

2019-04-01 Thread Govind Singh
). Calibrated XO offset is sent to fw, which compensate the clock drift by programing the XO trim register. Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/qmi.c | 12 drivers/net/wireless/ath/ath10k/snoc.c | 11 +++ drivers/net/wireless/ath/ath10k/snoc.h | 2 ++ 3

[PATCH v3 0/2] Add xo calibration support for wifi rf clock

2019-04-01 Thread Govind Singh
Added return check for case where xo cal dt is not populated. Govind Singh (2): dt: bindings: add dt entry for XO calibration support ath10k: Add xo calibration support for wifi rf clock .../devicetree/bindings/net/wireless/qcom,ath10k.txt | 1 + drivers/net/wireless/ath/at

Re: [PATCH v2 0/2] Add xo calibration support for wifi rf clock

2019-03-20 Thread Govind Singh
Hi Sven, On 2019-03-20 14:07, Sven Eckelmann wrote: On Wednesday, 20 March 2019 05:45:09 CET Govind Singh wrote: PMIC XO is the clock source for wifi rf clock in integrated wifi chipset ex: WCN3990. Due to board layout errors XO frequency drifts can cause wifi rf clock inaccuracy. XO

[PATCH v2 1/2] dt: bindings: add dt entry for XO calibration support

2019-03-19 Thread Govind Singh
Add dt binding to get xo calibration data support for wifi rf clock. Signed-off-by: Govind Singh --- Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b/Documentation

[PATCH v2 2/2] ath10k: Add xo calibration support for wifi rf clock

2019-03-19 Thread Govind Singh
). Calibrated XO offset is sent to fw, which compensate the clock drift by programing the XO trim register. Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/qmi.c | 12 drivers/net/wireless/ath/ath10k/snoc.c | 11 +++ drivers/net/wireless/ath/ath10k/snoc.h | 2 ++ 3

[PATCH v2 0/2] Add xo calibration support for wifi rf clock

2019-03-19 Thread Govind Singh
. Govind Singh (2): dt: bindings: add dt entry for XO calibration support ath10k: Add xo calibration support for wifi rf clock .../devicetree/bindings/net/wireless/qcom,ath10k.txt | 1 + drivers/net/wireless/ath/ath10k/qmi.c| 12 drivers/net/wireless/ath/ath10k/snoc.c

[PATCH 0/2] Add xo calibration support for wifi rf clock

2019-03-01 Thread Govind Singh
). Calibrated XO offset is sent to fw, which compensate the clock drift by programing the XO trim register. Testing: Tested on QCS404 platform(WCN3990 HW) Tested FW: WLAN.HL.3.1-00959-QCAHLSWMTPLZ-1 Govind Singh (2): dt: bindings: add dt entry for XO calibration support ath10k: Add xo

[PATCH 1/2] dt: bindings: add dt entry for XO calibration support

2019-03-01 Thread Govind Singh
Add dt binding to get xo calibration data support for wifi rf clock. Signed-off-by: Govind Singh --- Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b/Documentation

[PATCH] ath10k: Modify CE4 src buffer entries to 2048 for WCN3990

2019-03-01 Thread Govind Singh
) Tested FW: WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1 Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/snoc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/snoc.c b/drivers/net/wireless/ath/ath10k/snoc.c index 7fa0f5c1d070..f0ea3c494fe6

[PATCH] ath10k: Move board id and fw version logging to info level

2019-03-01 Thread Govind Singh
.wifi: qmi fw_version 0x3106836b fw_build_timestamp 2019-02-13 10:24 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HL.3.1-00875-QCAHLSWMTPL-1 Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/qmi.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git

[PATCH v3 3/3] ath10k: Request credit report if flow control enabled on ep

2019-02-06 Thread Govind Singh
on those endpoints where credit flow control is enabled. Testing: Tested on WCN3990 HW. Tested FW: WLAN.HL.2.0-01192-QCAHLSWMTPLZ-1. Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/htc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net

[PATCH v3 0/3] Add support for suspend/resume and WOW for WCN3990 chipset

2019-02-06 Thread Govind Singh
for integrated chipset patch. Govind Singh (3): ath10k: Enable bus layer suspend/resume for WCN3990 ath10k: Disable interface pause wow config for integrated chipset ath10k: Request credit report if flow control enabled on ep drivers/net/wireless/ath/ath10k/core.c | 5 ++- drivers/net/wireless

[PATCH v3 2/3] ath10k: Disable interface pause wow config for integrated chipset

2019-02-06 Thread Govind Singh
) for correct WOW configuration in the firmware. Testing: Tested on WCN3990 HW. Tested FW: WLAN.HL.2.0-01192-QCAHLSWMTPLZ-1. Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/core.c | 5 +++-- drivers/net/wireless/ath/ath10k/core.h | 2 ++ drivers/net/wireless/ath

[PATCH v3 1/3] ath10k: Enable bus layer suspend/resume for WCN3990

2019-02-06 Thread Govind Singh
Register snoc bus layer suspend/resume PM ops and configure the wakeup source(CE2) for the device. Testing: Tested on WCN3990 HW. Tested FW: WLAN.HL.2.0-01192-QCAHLSWMTPLZ-1. Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/snoc.c | 45 ++ 1 file

[PATCH v2 1/1] ath10k: update HOST capability qmi message

2019-02-04 Thread Govind Singh
HOST capability interface data structures are updated in HL3.1 fw version. Update the qmi host capability members for compatibility across different firmware versions. Since this change breaks backward compatibility with HL2.0 fw, HL2.0 fw upgrade to WLAN.HL.2.0-01617-QCAHLSWMTPLZ-1 or later

[PATCH] ath10k: Add support for extended HTT aggr msg support

2019-01-16 Thread Govind Singh
HTT aggr message parameter in HL2.0 fw are different in comparison to legacy fw version. Fill correct HTT aggr msg parameter for targets using HL2.0 firmware. Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/htt.c| 2 +- drivers/net/wireless/ath/ath10k/htt.h| 11

Re: [PATCH v4 0/3] Enable ath10k wcn3990 wifi driver support on sdm845

2018-12-20 Thread Govind Singh
Hi Kalle, On 2018-12-20 18:48, Kalle Valo wrote: Kalle Valo writes: Govind Singh writes: Hi Kalle, On 2018-11-17 16:39, Kalle Valo wrote: Govind Singh writes: On 2018-11-16 18:59, Kalle Valo wrote: Via which tree are these patches going? That's not clear for me. I guess sdm845

Re: [PATCH v4 0/3] Enable ath10k wcn3990 wifi driver support on sdm845

2018-12-19 Thread Govind Singh
Hi Kalle, On 2018-11-17 16:39, Kalle Valo wrote: Govind Singh writes: On 2018-11-16 18:59, Kalle Valo wrote: Govind Singh writes: This series enables ath10k wifi driver support for WCN3990 target on sdm845 SOC. This series also updates the missing dt binding documentation and adds

[PATCH] ath10k: Skip sending quiet mode cmd for WCN3990

2018-12-10 Thread Govind Singh
-developed-by: Govind Singh Signed-off-by: Rakesh Pillai Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/core.c| 19 +-- drivers/net/wireless/ath/ath10k/debug.c | 5 +++-- drivers/net/wireless/ath/ath10k/mac.c | 3 ++- drivers/net/wireless/ath/ath10k

[PATCH] ath10k: Move non-fatal warn logs to dbg level

2018-11-28 Thread Govind Singh
[ 361.907037] ath10k_snoc a00.wifi: Unknown eventid: 237569 Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/wmi-tlv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/wmi-tlv.c b/drivers/net/wireless/ath/ath10k/wmi-tlv.c index

[PATCH] ath10k: update HOST capability qmi message

2018-11-19 Thread Govind Singh
: Tested on QCS404 platform(WCN3990 HW). Tested FW: WLAN.HL.3.1-00338-QCAHLSWMTPL-1. Signed-off-by: Govind Singh --- .../net/wireless/ath/ath10k/qmi_wlfw_v01.c| 229 +- .../net/wireless/ath/ath10k/qmi_wlfw_v01.h| 34 ++- 2 files changed, 257 insertions(+), 6 deletions

[PATCH] ath10k: Remove work in progress logs from snoc driver

2018-11-19 Thread Govind Singh
All the necessary patches to make wifi running (over SNOC) are merged and tested on SDM845/QCS404 platform with WCN3990 wifi module, hence remove work in progress debug from snoc driver and Kconfig. Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/Kconfig | 3 +-- drivers/net

Re: [PATCH v4 0/3] Enable ath10k wcn3990 wifi driver support on sdm845

2018-11-16 Thread Govind Singh
On 2018-11-16 18:59, Kalle Valo wrote: Govind Singh writes: This series enables ath10k wifi driver support for WCN3990 target on sdm845 SOC. This series also updates the missing dt binding documentation and adds optional iommu property. Changes since v3: Moved interrupt/reg/reg-name

Re: [PATCH REGRESSION] Revert "ath10k: add quiet mode support for QCA6174/QCA9377"

2018-11-07 Thread Govind Singh
On 2018-11-08 03:00, Rajkumar Manoharan wrote: On 2018-11-07 10:56, Brian Norris wrote: This reverts commit cfb353c0dc058bc1619cc226d3cbbda1f360bdd3. WCN3990 firmware does not yet implement this feature, and so it crashes like this: fatal error received:

[PATCH v4 0/3] Enable ath10k wcn3990 wifi driver support on sdm845

2018-11-05 Thread Govind Singh
of compatible. Added missing 'wifi' label to sdm845.dtsi. Govind Singh (3): dt: bindings: add missing dt properties for WCN3990 wifi node dts: arm64/sdm845: Add WCN3990 WLAN module device node dt: bindings: add bindings for wifi iommu node .../bindings/net/wireless/qcom,ath10k.txt

[PATCH v4 2/3] dts: arm64/sdm845: Add WCN3990 WLAN module device node

2018-11-05 Thread Govind Singh
Add device node for the ath10k SNOC platform driver probe and add resources required for WCN3990 on SDM845 soc. Signed-off-by: Govind Singh Reviewed-by: Brian Norris Tested-by: Brian Norris --- arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 8 arch/arm64/boot/dts/qcom/sdm845.dtsi| 26

[PATCH v4 1/3] dt: bindings: add missing dt properties for WCN3990 wifi node

2018-11-05 Thread Govind Singh
Add missing optional properties in WCN3990 wifi node. Signed-off-by: Govind Singh Reviewed-by: Rob Herring Reviewed-by: Brian Norris Tested-by: Brian Norris --- .../bindings/net/wireless/qcom,ath10k.txt | 57 +- 1 file changed, 35 insertions(+), 22 deletions

[PATCH v4 3/3] dt: bindings: add bindings for wifi iommu node

2018-11-05 Thread Govind Singh
WCN3990 wifi module can optionally make use of the IOMMU. Add binding documentation for phandle to the IOMMU and the stream id of wifi iommu block. Signed-off-by: Govind Singh Reviewed-by: Rob Herring Reviewed-by: Brian Norris Tested-by: Brian Norris --- Documentation/devicetree/bindings/net

Re: [PATCH v3 1/3] dt: bindings: add missing dt properties for WCN3990 wifi node

2018-10-30 Thread Govind Singh
On 2018-10-17 04:23, Doug Anderson wrote: Hi, On Wed, Oct 10, 2018 at 4:53 AM Govind Singh wrote: Add missing optional properties in WCN3990 wifi node. Signed-off-by: Govind Singh --- .../bindings/net/wireless/qcom,ath10k.txt | 28 -- 1 file changed, 21

[PATCH v2 2/3] ath10k: Disable interface pause wow config for integrated chipset

2018-10-12 Thread Govind Singh
) for correct WOW configuration in the firmware. Testing: Tested on WCN3990 HW. Tested FW: WLAN.HL.2.0-01192-QCAHLSWMTPLZ-1. Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/wmi-tlv.c | 2 ++ drivers/net/wireless/ath/ath10k/wmi-tlv.h | 7 +++ 2 files changed, 9 insertions

[PATCH v2 3/3] ath10k: Request credit report if flow control enabled on ep

2018-10-12 Thread Govind Singh
on those endpoints where credit flow control is enabled. Testing: Tested on WCN3990 HW. Tested FW: WLAN.HL.2.0-01192-QCAHLSWMTPLZ-1. Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/htc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net

[PATCH v2 0/3] Add support for suspend/resume and WOW for WCN3990 chipset

2018-10-12 Thread Govind Singh
layer suspend/resume for WCN3990" patch. Govind Singh (3): ath10k: Enable bus layer suspend/resume for WCN3990 ath10k: Disable interface pause wow config for integrated chipset ath10k: Request credit report if flow control enabled on ep drivers/net/wireless/ath/ath10k/htc.c | 3 +- d

[PATCH v2 1/3] ath10k: Enable bus layer suspend/resume for WCN3990

2018-10-12 Thread Govind Singh
Register snoc bus layer suspend/resume PM ops and configure the wakeup source(CE2) for the device. Testing: Tested on WCN3990 HW. Tested FW: WLAN.HL.2.0-01192-QCAHLSWMTPLZ-1. Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/snoc.c | 45 ++ 1 file

[PATCH 2/3] ath10k: Disable interface pause wow config for integrated chipset

2018-10-12 Thread Govind Singh
) for correct WOW configuration in the firmware. Testing: Tested on WCN3990 HW. Tested FW: WLAN.HL.2.0-01192-QCAHLSWMTPLZ-1. Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/wmi-tlv.c | 2 ++ drivers/net/wireless/ath/ath10k/wmi-tlv.h | 7 +++ 2 files changed, 9 insertions

[PATCH 1/3] ath10k: Enable bus layer suspend/resume for WCN3990

2018-10-12 Thread Govind Singh
Register snoc bus layer suspend/resume PM ops and configure the wakeup source(CE2) for the device. Testing: Tested on WCN3990 HW. Tested FW: WLAN.HL.2.0-01192-QCAHLSWMTPLZ-1. Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/snoc.c | 45 ++ 1 file

[PATCH 3/3] ath10k: Request credit report if flow control enabled on ep

2018-10-12 Thread Govind Singh
on those endpoints where credit flow control is enabled. Testing: Tested on WCN3990 HW. Tested FW: WLAN.HL.2.0-01192-QCAHLSWMTPLZ-1. Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/htc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net

[PATCH v3 1/3] dt: bindings: add missing dt properties for WCN3990 wifi node

2018-10-10 Thread Govind Singh
Add missing optional properties in WCN3990 wifi node. Signed-off-by: Govind Singh --- .../bindings/net/wireless/qcom,ath10k.txt | 28 -- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b

[PATCH v3 2/3] dts: arm64/sdm845: Add WCN3990 WLAN module device node

2018-10-10 Thread Govind Singh
Add device node for the ath10k SNOC platform driver probe and add resources required for WCN3990 on SDM845 soc. Signed-off-by: Govind Singh --- arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 8 arch/arm64/boot/dts/qcom/sdm845.dtsi| 26 ++ 2 files changed, 34

[PATCH v3 3/3] dt: bindings: add bindings for wifi iommu node

2018-10-10 Thread Govind Singh
WCN3990 wifi module can optionally make use of the IOMMU. Add binding documentation for phandle to the IOMMU and the stream id of wifi iommu block. Signed-off-by: Govind Singh --- Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt | 5 + 1 file changed, 5 insertions(+) diff

[PATCH v3 0/3] Enable ath10k wcn3990 wifi driver support on sdm845

2018-10-10 Thread Govind Singh
from the series as dependent patch is not yet merged. Enabled status flag from sdm845-mtp.dts. Changes since v1: Listed no of interrupts/clocks for each set of compatible. Added missing 'wifi' label to sdm845.dtsi. Govind Singh (3): dt: bindings: add missing dt properties for WCN3990

[PATCH v2 4/4] dts: arm64/sdm845: Enable iommu for WCN3990 wifi module device node

2018-10-01 Thread Govind Singh
WCN3990 wifi module can optionally make use of the IOMMU. Add phandle to the iommu and stream id of wifi iommu block. Signed-off-by: Govind Singh --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot

[PATCH v2 3/4] dt: bindings: add bindings for wifi iommu node

2018-10-01 Thread Govind Singh
WCN3990 wifi module can optionally make use of the IOMMU. Add binding documentation for phandle to the IOMMU and the stream id of wifi iommu block. Signed-off-by: Govind Singh --- .../devicetree/bindings/net/wireless/qcom,ath10k.txt| 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH v2 1/4] dt: bindings: add missing dt properties for WCN3990 wifi node

2018-10-01 Thread Govind Singh
Add missing optional properties in WCN3990 wifi node. Signed-off-by: Govind Singh --- .../bindings/net/wireless/qcom,ath10k.txt | 28 ++- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b

[PATCH v2 2/4] dts: arm64/sdm845: Add WCN3990 WLAN module device node

2018-10-01 Thread Govind Singh
Add device node for the ath10k SNOC platform driver probe and add resources required for WCN3990 on SDM845 soc. Signed-off-by: Govind Singh --- arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 7 +++ arch/arm64/boot/dts/qcom/sdm845.dtsi| 26 + 2 files changed, 33

[PATCH v2 0/4] Enable ath10k wcn3990 wifi driver support on sdm845

2018-10-01 Thread Govind Singh
since v1: Listed no of interrupts/clocks for each set of compatible. Added missing 'wifi' label to sdm845.dtsi. Govind Singh (4): dt: bindings: add missing dt properties for WCN3990 wifi node dts: arm64/sdm845: Add WCN3990 WLAN module device node dt: bindings: add bindings

Re: [PATCH 2/4] dts: arm64/sdm845: Add WCN3990 WLAN module device node

2018-09-25 Thread Govind Singh
Hi Brian, On 2018-09-24 22:41, Brian Norris wrote: Hi, On Fri, Sep 21, 2018 at 02:39:05PM +0530, Govind Singh wrote: Add device node for the ath10k SNOC platform driver probe and add resources required for WCN3990 on SDM845 soc. Signed-off-by: Govind Singh --- arch/arm64/boot/dts/qcom

Re: [PATCH 3/4] dt: bindings: add bindings for wifi iommu node

2018-09-25 Thread Govind Singh
On 2018-09-25 04:23, Rob Herring wrote: On Fri, Sep 21, 2018 at 02:39:06PM +0530, Govind Singh wrote: WCN3990 wifi module can optionally make use of the IOMMU. Can the other compatibles use IOMMU too? No, only wcn3990 can optionally use IOMMU. Add binding documentation for phandle

Re: [PATCH 1/4] dt: bindings: add missing dt properties for WCN3990 wifi node

2018-09-25 Thread Govind Singh
Hi Rob, On 2018-09-25 04:21, Rob Herring wrote: On Fri, Sep 21, 2018 at 02:39:04PM +0530, Govind Singh wrote: Add missing optional properties in WCN3990 wifi node. Signed-off-by: Govind Singh --- .../bindings/net/wireless/qcom,ath10k.txt | 22 +-- 1 file changed, 15

[PATCH 4/4] dts: arm64/sdm845: Enable iommu for WCN3990 wifi module device node

2018-09-21 Thread Govind Singh
WCN3990 wifi module can optionally make use of the IOMMU. Add phandle to the iommu and stream id of wifi iommu block. Signed-off-by: Govind Singh --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot

[PATCH 3/4] dt: bindings: add bindings for wifi iommu node

2018-09-21 Thread Govind Singh
WCN3990 wifi module can optionally make use of the IOMMU. Add binding documentation for phandle to the IOMMU and the stream id of wifi iommu block. Signed-off-by: Govind Singh --- .../devicetree/bindings/net/wireless/qcom,ath10k.txt | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH 1/4] dt: bindings: add missing dt properties for WCN3990 wifi node

2018-09-21 Thread Govind Singh
Add missing optional properties in WCN3990 wifi node. Signed-off-by: Govind Singh --- .../bindings/net/wireless/qcom,ath10k.txt | 22 +-- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b

[PATCH 0/4] Enable ath10k wcn3990 wifi driver support on sdm845

2018-09-21 Thread Govind Singh
This series enables ath10k wifi driver support for WCN3990 target on sdm845 SOC. This series also updates the missing dt binding documentation and adds optional iommu property. sdm845 dtsi changes in this series are based on top of https://patchwork.kernel.org/cover/10573121/ change. Govind

[PATCH 2/4] dts: arm64/sdm845: Add WCN3990 WLAN module device node

2018-09-21 Thread Govind Singh
Add device node for the ath10k SNOC platform driver probe and add resources required for WCN3990 on SDM845 soc. Signed-off-by: Govind Singh --- arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 7 +++ arch/arm64/boot/dts/qcom/sdm845.dtsi| 25 + 2 files changed, 32

[PATCH 2/2] ath10k: Disable napi before resource cleanup to avoid "use after free"

2018-09-19 Thread Govind Singh
CE buffers are cleaned up prior to napi disable and this is causing NULL pointer dereference due to "use after free". Disable napi before resource cleanup to avoid "use after free". Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/snoc.c | 2 +- 1 file change

[PATCH 1/2] ath10k: Move napi_enable to hif_start for consistent pairing

2018-09-19 Thread Govind Singh
There is unbalanced napi_{enable,disable}() behavior as they are being called from hif_snoc_{power_up/stop). The fix is to call napi_enable() from ath10k_snoc_hif_start() so that it matches with napi_disable() being called from ath10k_snoc_hif_stop(). Signed-off-by: Govind Singh --- drivers

[PATCH 2/2] ath10k: Enable pktlog for WCN3990 target

2018-08-27 Thread Govind Singh
WCN3990 target uses separate htc service for pktlog. Add pktlog service request and support for pktlog rx path handling. Testing: Tested on WCN3990 and QCA6174 HW. Tested FW: WLAN.HL.2.0-01192-QCAHLSWMTPLZ-1, WLAN.RM.4.4.1-00109-QCARMSWPZ-1 Signed-off-by: Govind Singh

[PATCH 0/2] ath10k: Enable pktlog for WCN3990 chipset

2018-08-27 Thread Govind Singh
WCN3990 target uses separate htc service(ATH10K_HTC_SVC_ID_HTT_LOG_MSG) for pktlog. Add pktlog service request and support for pktlog rx path handling. Tested HW: WCN3990 and QCA6174. Tested FW: WLAN.HL.2.0-01192-QCAHLSWMTPLZ-1, WLAN.RM.4.4.1-00109-QCARMSWPZ-1 Govind Singh (2

[PATCH 1/2] ath10k: Introduce CE_ATTR_POLL attribute for polling pipe

2018-08-27 Thread Govind Singh
and control the interrupt based on the flag which can be set in ce_attr. Testing: Tested on WCN3990 and QCA6174 HW. Tested FW: WLAN.HL.2.0-01192-QCAHLSWMTPLZ-1, WLAN.RM.4.4.1-00109-QCARMSWPZ-1 Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/ce.c | 18

[PATCH v5 0/6] *** Add support for wifi QMI client handshakes ***

2018-08-15 Thread Govind Singh
river load/unload and STA/SAP sanity testing. Tested HW: SDM845(WCN3990) Tested FW: WLAN.HL.2.0-01192-QCAHLSWMTPLZ-1 Govind Singh (5): ath10k: Add qmi service helpers for wcn3990 qmi client dt: bindings: add bindings for msa memory region firmware: qcom: scm: Add WLAN VMID f

[PATCH v5 6/6] ath10k: Add QMI message handshake for wcn3990 client

2018-08-15 Thread Govind Singh
between remote processors with underlying transport layer based on integrated chipset(shared memory) or discrete chipset(PCI/USB/SDIO/UART). Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/Kconfig |1 + drivers/net/wireless/ath/ath10k/Makefile |4 +- drivers/net/wireless

[PATCH v5 2/6] ath10k: Add support to create boardname for non-bmi target

2018-08-15 Thread Govind Singh
From: Rakesh Pillai Add support to create the boardname for non-bmi targets like WCN3990, which uses qmi for bdf download. This boardname is used to parse the board data from board-2.bin. Signed-off-by: Rakesh Pillai Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/core.c | 8

[PATCH v5 3/6] dt: bindings: add bindings for msa memory region

2018-08-15 Thread Govind Singh
Add device tree binding documentation details of msa memory region for ath10k qmi client for SDM845/APQ8098 SoC into "qcom,ath10k.txt". Signed-off-by: Govind Singh --- .../devicetree/bindings/net/wireless/qcom,ath10k.txt| 6 ++ 1 file changed, 6 insertions(+)

[PATCH v5 1/6] ath10k: Add qmi service helpers for wcn3990 qmi client

2018-08-15 Thread Govind Singh
WLAN qmi server running in Q6 exposes host to target cold boot qmi handshakes. Add WLAN QMI service helpers for ath10k wcn3990 qmi client. Signed-off-by: Govind Singh --- .../net/wireless/ath/ath10k/qmi_wlfw_v01.c| 2072 + .../net/wireless/ath/ath10k/qmi_wlfw_v01.h| 677

[PATCH v5 4/6] firmware: qcom: scm: Add WLAN VMID for Qualcomm SCM interface

2018-08-15 Thread Govind Singh
Add WLAN related VMID's to support wlan driver to set up the remote's permissions call via TrustZone. Signed-off-by: Govind Singh --- include/linux/qcom_scm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux/qcom_scm.h b/include/linux/qcom_scm.h index

[PATCH v5 5/6] ath10k: Add debug mask for QMI layer

2018-08-15 Thread Govind Singh
Add debug mask to control debug info of ath10k qmi messaging layer. Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/debug.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/ath10k/debug.h b/drivers/net/wireless/ath/ath10k/debug.h index 0afca5c106b6

Re: [PATCH v4 6/6] ath10k: Add QMI message handshake for wcn3990 client

2018-08-14 Thread Govind Singh
Thanks Brian for the review. On 2018-08-14 01:36, Brian Norris wrote: Hi Govind, On Mon, Jul 23, 2018 at 06:04:28PM +0530, Govind Singh wrote: Add WCN3990 QMI client handshakes for Q6 integrated WLAN connectivity subsystem. This layer is responsible for communicating qmi control messages

Re: [PATCH v3 0/6] *** Add support for wifi QMI client handshakes ***

2018-07-23 Thread Govind Singh
Hi Niklas, Thanks for the review. On 2018-07-19 23:21, Niklas Cassel wrote: On Fri, Jul 06, 2018 at 02:26:17PM +0530, Govind Singh wrote: Add QMI client handshakes for Q6 integrated WLAN connectivity subsystem. This module is responsible for communicating WLAN control messages to FW over QMI

Re: [PATCH v3 3/6] dt: bindings: add bindings for msa memory region

2018-07-23 Thread Govind Singh
Hi Rob, On 2018-07-11 20:57, Rob Herring wrote: On Fri, Jul 06, 2018 at 02:30:43PM +0530, Govind Singh wrote: Add device tree binding documentation details of msa memory region for ath10k qmi client for SDM845/APQ8098 SoC into "qcom,ath10k.txt". Signed-off-by: Govind Singh --- ..

[PATCH v4 6/6] ath10k: Add QMI message handshake for wcn3990 client

2018-07-23 Thread Govind Singh
between remote processors with underlying transport layer based on integrated chipset(shared memory) or discrete chipset(PCI/USB/SDIO/UART). Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/Kconfig |1 + drivers/net/wireless/ath/ath10k/Makefile |4 +- drivers/net/wireless

  1   2   3   >