linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC v2] mhi: Enable unique QRTR node ID support
@ 2021-02-26  9:19 Gokul Sriram Palanisamy
  2021-02-26  9:19 ` [PATCH v2] bus: mhi: core: Add unique qrtr node id support Gokul Sriram Palanisamy
  0 siblings, 1 reply; 12+ messages in thread
From: Gokul Sriram Palanisamy @ 2021-02-26  9:19 UTC (permalink / raw)
  To: linux-arm-msm, inux-kernel
  Cc: manivannan.sadhasivam, jhugo, hemantk, sricharan, gokulsri

On multi-mhi platforms, host WiFi driver and
QMI test driver needs to differntiate between
QMI packets received from multiple mhi devices.

With QCN9000 PCI cards, once SBL gets loaded, we
utilize ERRDBG2 register to write a unique value
per mhi device from device-tree that the device
utilizes to set a unique QRTR node ID and
instance ID for the QMI service. This helps QRTR
stack in differenting the packets in a multi-mhi
environment and can route them accordingly.

sample:
root@OpenWrt:/# qrtr-lookup
  Service Version Instance Node  Port
       15       1        0    8     1 Test service
       69       1        8    8     2 ATH10k WLAN firmware service
       15       1        0   24     1 Test service
       69       1       24   24     2 ATH10k WLAN firmware service

Here 8 and 24 on column 3 (QMI Instance ID)
and 4 (QRTR Node ID) are the node IDs that
is unique per mhi device.

Changes since v1:
 - Addressed review comments by Jeffrey Hugo.

Gokul Sriram Palanisamy (1):
  bus: mhi: core: Add unique qrtr node id support

 drivers/bus/mhi/core/boot.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PATCH RFC v2] mhi: Enable unique QRTR node ID support
@ 2021-02-26 10:42 Gokul Sriram Palanisamy
  2021-02-26 10:42 ` [PATCH v2] bus: mhi: core: Add unique qrtr node id support Gokul Sriram Palanisamy
  0 siblings, 1 reply; 12+ messages in thread
From: Gokul Sriram Palanisamy @ 2021-02-26 10:42 UTC (permalink / raw)
  To: linux-arm-msm, linux-kernel
  Cc: manivannan.sadhasivam, jhugo, hemantk, sricharan, gokulsri

On multi-mhi platforms, host WiFi driver and
QMI test driver needs to differntiate between
QMI packets received from multiple mhi devices.

With QCN9000 PCI cards, once SBL gets loaded, we
utilize ERRDBG2 register to write a unique value
per mhi device from device-tree that the device
utilizes to set a unique QRTR node ID and
instance ID for the QMI service. This helps QRTR
stack in differenting the packets in a multi-mhi
environment and can route them accordingly.

sample:
root@OpenWrt:/# qrtr-lookup
  Service Version Instance Node  Port
       15       1        0    8     1 Test service
       69       1        8    8     2 ATH10k WLAN firmware service
       15       1        0   24     1 Test service
       69       1       24   24     2 ATH10k WLAN firmware service

Here 8 and 24 on column 3 (QMI Instance ID)
and 4 (QRTR Node ID) are the node IDs that
is unique per mhi device.

Changes since v1:
 - Addressed review comments by Jeffrey Hugo.

Gokul Sriram Palanisamy (1):
  bus: mhi: core: Add unique qrtr node id support

 drivers/bus/mhi/core/boot.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-03-01 19:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-26  9:19 [PATCH RFC v2] mhi: Enable unique QRTR node ID support Gokul Sriram Palanisamy
2021-02-26  9:19 ` [PATCH v2] bus: mhi: core: Add unique qrtr node id support Gokul Sriram Palanisamy
2021-02-26 10:42 [PATCH RFC v2] mhi: Enable unique QRTR node ID support Gokul Sriram Palanisamy
2021-02-26 10:42 ` [PATCH v2] bus: mhi: core: Add unique qrtr node id support Gokul Sriram Palanisamy
2021-02-26 14:47   ` Jeffrey Hugo
2021-02-26 14:52   ` Manivannan Sadhasivam
2021-02-26 17:31     ` Bhaumik Bhatt
2021-02-27  8:25       ` gokulsri
2021-03-01 11:14     ` Kalle Valo
2021-03-01 18:17       ` Bhaumik Bhatt
2021-03-01 18:26         ` Kalle Valo
2021-03-01 18:53           ` Bhaumik Bhatt
2021-03-01 18:56           ` Bhaumik Bhatt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).