From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=185.185.170.37 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1792734717; b=EK/lG9TrLMSL5SvFXDNDLv6bMKBcTxCWfFreD1N/IQcctmDuFHr6iR4ylyH9XZU27p0T 3HwDLT+/LXHTDTxyIkFbwhiPRQNUvlWOQDt2vLVysU1DvTx/NpKUVDNjnue5mWJ59lD4t 60de8ne7EsKHtGw+r72HHokuW7u9fl4qcMVmidxYEMGBw5SCpdDPEnqLJC4dBa+WxpWcq xNc/dBrzWpXRv+3L60N5ib5dz9ZvpeKI4CU33FF7fW4nvoiShMnO25wpohZur+4X6WqK8 71zf6X2LfUHvWycK793p/yL9aK8v0VrwQTxyYIVaeq5PTE9M1AJjiGZU39yYSvKAy6Q== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792734717; h=DMARC-Filter:Received:DKIM-Signature:Received:Received:X-ME-Sender: X-ME-Proxy-Cause:X-ME-Proxy:Feedback-ID:Received:X-Mailer: MIME-Version:X-ThreadId:Date:From:To:Cc:Message-Id:In-Reply-To: References:Subject:Content-Type:Content-Transfer-Encoding; bh=3s1r5gmalSPoDYnFT/d9Qqqf/FI59P/VjbJqXlAkQZY=; b=bT0belWfT0+mGXdI7XcNv2Y3ydm3HziFmGdghv5hRbv+KP+hZa9pTq8+OyhpVQsO/Nvx IxETVxP0/OpMKi6F/W1QZIoX7xquJKUhL79NoU1wDi5wmJc0+wgDUCGSfdtLg/nFQKm0O lLI2DcjLGmUIYEbiz76lCvd4GLQ67CFS6EJPFyV7QGu1gFk5w42PaupSV0UC30dww54jc X4UmJMfAGzojIYHnbyBPDfhRq3FnCI/nocpv78k0MH1Y2zw6Goi5d6oGsOgJHzv4aA5U8 KdH+PiRyEeBl/1wLXwXWhgejVJXOTp6UGQVcFGi+uUGz07Pib3SxHFyWhVFBMkt/iag== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none header.from=iki.fi; spf=pass smtp.mailfrom=iki.fi; dkim=pass header.d=iki.fi header.i=@iki.fi header.a=rsa-sha256 header.s=lahtoruutu header.b=FES37fQo; arc=pass header.oldest-pass=0 smtp.remote-ip=185.185.170.37 Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [185.185.170.37]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE358606A31D; Fri, 23 Oct 2026 05:51:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org AE358606A31D Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=iki.fi Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=iki.fi Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=iki.fi header.i=@iki.fi header.a=rsa-sha256 header.s=lahtoruutu header.b=FES37fQo Received: from fauth-c2-smtp.messagingengine.com (fauth-c2-smtp.messagingengine.com [204.75.18.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jmtilli) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 4j9sbL1Lz0z49PyD; Fri, 23 Oct 2026 08:51:42 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1792734702; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3s1r5gmalSPoDYnFT/d9Qqqf/FI59P/VjbJqXlAkQZY=; b=FES37fQoL1x5deVXTkg8qJPtIAjeP3DN5hsoVR2ge+LYpKUlDALKn7vpYmk2oEnrqfwxA2 FGvSZcewv0UIv1ird80nvACLzKfJGmR0leuolOmG0gwlYxyB7FwKwp/kawsC34RZ5tB7j0 4s8ePX8KpMKeLcvPWEMBkfTetbVsqSvFgI4XAktHjJzcZaZKysyci3Qt0n4UNFKXPL6t7T 25XXFjd+HiOCGj4fV1ktluMY9AQlkyZ0wXfszQt392rRcMtww1LsBh1fC1FtnKaLvLB94f 1XC/nwV/k61oUwsqnLFAh3QpH7UjXMKJxKY5Z9T/07VLhCRM2agRwwk0RsPIjg== ARC-Seal: i=1; a=rsa-sha256; d=iki.fi; s=lahtoruutu; cv=none; t=1792734702; b=bgDcul841mRyQk39R3Kq3czDvvybxh0iD2mhuWI2jWLVKLMIBG6/4aqBqvgSeNHMcnuwdJ Byk9GblOhLw+AlafKNOfmvOdyQJ78wcLjzvQneE1hMbYteSVRuHyCndC+HjeSJKsKj3KiC 8Jke6mzNZvOIYHPmGqgT3mV7wyEPH0bcZgkkFHK9In/XUVqa+WBcPETlm3YkLh9GJxq13w JMPoOPuWCGg7qNMmBTZCsZFlZeYMT7x4WN3ZhWsou4AIAWnKxC7f2TM6B7BPsVAi6L66ui qUh9MswS81p0MjpumlvIPD0iIFVR4bX1JD6de7Z0sB5Q+y7x0ZRN9SF41fgjCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1792734702; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3s1r5gmalSPoDYnFT/d9Qqqf/FI59P/VjbJqXlAkQZY=; b=f6S4Hj14A1a41p4c4WwvmCnmSDUZyqYuixJ2e5C+PfXZ0afy0eAZmV3AAhwlTL2hB7LrmF rT9h243dW1XfFet3LnZbxG1yMpiEnZrnp8aMUqRuX0LJYy4LLSyMtgKmWRDKrPdP1R7rgN 7nTsKoPrPdPde4xGQlhOt/GQ/0/Htt2mtvu6RxoGbTGmsIYo40LPPFOXeLxg76owaMQAW3 uWfHH2g7lqyXkZmXJDNQxaGHxR8RYTn+d1w7awO0k2/Uf+GpYotmm8USZA1wg4p7pLgp9P vRnExAW5dMN8ECWB0VCzXJX3AUfQ6HgB206nqrFWMoEfoWk90v90gnaxA5PMyA== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=jmtilli smtp.mailfrom=juha-matti.tilli@iki.fi Received: from ams-compute-02.internal (ams-compute-02.internal [10.64.2.62]) by mailfauth.ams.internal (Postfix) with ESMTP id 4D9A3198003A; Fri, 23 Oct 2026 01:51:41 -0400 (EDT) Received: from ams-imap-13 ([10.64.2.33]) by ams-compute-02.internal (MEProxy); Fri, 23 Oct 2026 01:51:41 -0400 X-ME-Sender: X-ME-Proxy-Cause: dmFkZTEOAffXHrZ7qf6laLm8K4UbsibtaQ04Y9gn38XjIQYNxcrz1Fl3RLa0WvHT9IgL8f qdObnItt5VvnEY2RWOrGh2jX7lkuRrUqslrHFZNziA/waicBmBs/Hme0bulf+865fOwb4x 9CBWLB9pEUueADEEuhQQZTCHZicvzh3QEYQgIojFmPRXbVpZMGPsP4hhdQnHnlwt/76gDq lvDkC0cycMGeRFvRBsLnLVifDAA8lkV/36iQIhdMaruHdM9MOUhvmBRwTxzagXmIj/mM/6 p1sJB5qeUyCAnOAMvgYUgDQ7SViaOwtcMT39FBBgpxFr+Yvt3D5L6ockEezFFSFacCrBpk XIUDA7KyF22WlBmtpMfGZuNvzQ9w2WDJ1yRMgPpZmSHX+nQehY/UFMPx6cFDInfp9lSCWQ P26ZJdomAdRpVmSbDeIRINWnkYv6rZd0XYhMXqyT88pBHdZ0QnNNGSWfmEw5RXs21rJKbX NwazhetR1+6GCprg3W92qRBFlDiH1whcMpes+9BVaHjKlDtOGNtYIkBR44ph2RpYwXQz98 vgfb9Sfz9ryDMcQsFcI/B8QUBwNLUVlCV6qXjAnEQN9M2vDFB/SAg1fagSxFb0pax8qC3c vb7YSMlJBRf3KiCx+HaZmbJwGBXVgnB/4ea4mwZsuxtysA0oFqL9uwi0wiWw X-ME-Proxy: Feedback-ID: i02414972:Fastmail Received: by mailuser.ams.internal (Postfix, from userid 501) id 9A464F80098; Fri, 23 Oct 2026 01:51:38 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-ThreadId: AlBSNYy1g8DB Date: Fri, 23 Oct 2026 08:51:17 +0300 From: "Juha-Matti Tilli" To: "Manivannan Sadhasivam" , "Manivannan Sadhasivam" , "David S . Miller" , "Eric Dumazet" , "Jakub Kicinski" , "Paolo Abeni" , "Simon Horman" , "Jeff Johnson" Cc: linux-arm-msm@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, ath11k@lists.infradead.org, ath12k@lists.infradead.org, "Bjorn Andersson" , "Chris Lew" , "Deepak Kumar Singh" , "Raj Kumar Bhagat" , "Jeff Hugo" Message-Id: In-Reply-To: <20261022-qrtr-multi-ep-v4-4-c6fdb75fcd3e@oss.qualcomm.com> References: <20261022-qrtr-multi-ep-v4-0-c6fdb75fcd3e@oss.qualcomm.com> <20261022-qrtr-multi-ep-v4-4-c6fdb75fcd3e@oss.qualcomm.com> Subject: Re: [PATCH v4 4/4] wifi: ath12k: Connect to the QMI server belonging to the device owned by this driver Content-Type: text/plain Content-Transfer-Encoding: 7bit On Thu, Oct 22, 2026, at 20:43, Manivannan Sadhasivam via B4 Relay wrote: > From: Manivannan Sadhasivam > > When two identical ath12k PCIe devices are connected to the same host, both > advertise the WLFW service with the same service and instance id. The QMI > lookup reports both servers to each device, so a device may connect to the > firmware running on the other device. > > But now, QRTR provides each MHI endpoint a unique node id which is > different from the node id announced by the device. So use the same id to > pick the correct server. Add a get_qrtr_node_id() HIF callback that returns > the node id derived from the MHI controller index and zero for transports > that do not assign one. In the new_server callback, reject any service > whose node id does not match. A node id of zero disables the check, so > transports that do not assign one keep their current behavior. Tested-by: Juha-Matti Tilli Tested-on: 2x WCN7850 hw2.0 WLAN.IOE_HMT.1.1-00018-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1 As always, I took the entire state of the QRTR directory as of after these changes, on top of 6.18.53 kernel, and with some trivial changes like kzalloc_obj made it compile. Then I cherry-picked the ath11k/ath12k changes, which had no conflicts now. I have two ath12k access points on this router, both work simultaneously. If somebody wants to test this backported variant, it's here: https://github.com/jmtilli/linux/tree/6_18_multi_ath11k_ath12k_mani_v4 BR, Juha-Matti