🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #7588

Re: [PATCH v4 4/4] wifi: ath12k: Connect to the QMI server belonging to the device owned by this driver

#7588
From: Simon Horman
Date: Mon, 26 Oct 2026 17:26
18 lines
9203 bytes
On Thu, Oct 22, 2026 at 07:43:10PM +0200, Manivannan Sadhasivam wrote:
> 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.
> 
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>

Reviewed-by: Simon Horman <horms@kernel.org>
Technical Details
Message-ID: <20261026172615.GK257209@horms.kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352021-linux-kernel-netdev=dewy.ru
References: <20261022-qrtr-multi-ep-v4-0-c6fdb75fcd3e@oss.qualcomm.com> <20261022-qrtr-multi-ep-v4-4-c6fdb75fcd3e@oss.qualcomm.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352021-linux-kernel-netdev=dewy.ru
From: horms@kernel.org (Simon Horman)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH v4 4/4] wifi: ath12k: Connect to the QMI server belonging
 to the device owned by this driver
Date: Mon, 26 Oct 2026 17:26:15 +0000
Organization: Usenet Network
Message-ID: <20261026172615.GK257209@horms.kernel.org>
References: <20261022-qrtr-multi-ep-v4-0-c6fdb75fcd3e@oss.qualcomm.com>
 <20261022-qrtr-multi-ep-v4-4-c6fdb75fcd3e@oss.qualcomm.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="1359091"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:z1SbvFg3AaV45BbYNt3Po9A5tao= sha256:hRYXCGxxyEQUydABf0INXQ1ggm3HUKbedV1+qVqEKIY=
	sha1:fIat8FOFEdUTHT4hlLewUffX2XQ= sha256:I9GqRSt7zIo0Fk9rDZKn+5G+Ggojld1WfairUAAnnQo=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 89073125BB1; Mon, 26 Oct 2026 20:29:40 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.739
X-Spam-Status: No, score=-3.739 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.339, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 6kAogOgPt5tr;
	Mon, 26 Oct 2026 20:29:37 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-352021-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id 9E12E125BAE; Mon, 26 Oct 2026 20:29:28 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id 9E5C9277DD; Mon, 26 Oct 2026 17:26:26 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1793035582;
	b=QKjDC21TJRb+YDz//d1Sz9eOa8Bmi+hbE92N7KzG2uZqsBydOzKBzWR2wAR5UK9Y+S46
	 6DqiecL3BiLTddX66HuRXGd2WPr5wKNSZ9v3TheG6Za30dsqBP2gKCqdqA/U+64FDWyQW
	 LSe9f1V8PAFpy3RJ/V4q0bG/GKgAezTALeVizpaf1ptxFxUH+G7V90AZmxqWUjn92U/cI
	 jP5zgCtGsxiTZqW8JU5Hu+1bFA+0a9vDG+4wka8r/+yB1eqmjdhY2sBLxi8jEvrcpsonu
	 Qrb1mHKa/rWIUuTwV1+MwdBLLEGNS4A5GGZ71T9oKxB5R55JGZ/ePfgr0dft2ArUrNQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793035582;
	h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc:
	 Subject:Message-ID:References:X-Mailing-List:List-Id:List-Post:
	 List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
	 MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=Y7fieeF7CmqetCmDW/QKoeVOfYtQRHVfDW9OzlsY0n4=;
	b=z1qJpHlwIpS3cwHwOsj6WrMzK/KSP2WtX2ULZVa5cj3GU2mhOrWFIednQmufbNz+Mm2f
	 qm7Exxzxf2IADxpIxgPC2BDGWwkA1ZNJIixWxVlqB9XM3KPssWxbHYwdQZWSqtT23E1C0
	 10a7VN6y3P5HGCmkUUIUJuxCSgesZnDiie9rqAYIQgTMWOmY2V+Kkt9M26w5IhQzUtRIT
	 TI9j8xAueUN4fydsgOBu5B+UFEfReEKqcYs+Id0SexhZSs9kdwzmkhkCqH9+xjsRlWjHA
	 iy1ct8riwjNo+9mBAY/p+sa1qdWxTp0CXffu0WGmxQv3uk6AjN5MNTH1k8528tv3RLw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=bIwrq3jc;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 093BE606A331;
	Mon, 26 Oct 2026 17:26:22 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=bIwrq3jc
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793035581;
	b=DbFrr2ZeyfkXf0GX0KInGqIPHRNd8hE9S5pwoMuwUtSuzNCWr5vAKwxvtLPHsWP3Pvp/
	 9iYf6j1HD8X1uEDYhzxFsPm57nOhSzuaq4GnhGK5vIXLeqFN9/IdjrgwN22jEmheKTN0H
	 DZ8MS/RmCQik8bNszFmB02D2Uazu2MzxkmYGzalu9atNegyk8izvTf99oHTYszSlaHYjQ
	 Argtle0CxnWmzO4bchliFbGsmBtiF8oXjbaD/GqzRmlnupb0mfS14v3KHM9E8uB+8+dZ5
	 /MKQZLp2oLRryF9zwhfylOmlzGst3hVnozycSEJIMogX/cmnOy2u+LfVuUEjLqRtmWw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793035581;
	h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=Y7fieeF7CmqetCmDW/QKoeVOfYtQRHVfDW9OzlsY0n4=;
	b=UF2h+cJQ+tGef6eGf8HVosGw8P/v7Rq6H4uDAo3HWStLzhpUWr6xN6/IPVuiwTWgK9hv
	 GvkUcOQDtIc5V7PA4uBgdFjcsL4AxjGu+ltzHQf3DCbtaSsEtp2JcxxMyoUkQt+gJTJnV
	 xClhaxnflG6fHiM3qbwUC8zITliaJ0ZVMC6KNnv8SexGCqgIo6oXksjGJUGRsVfWqHtCi
	 KtpZ5zqjYTGOL4tre5gbLYmEDzslrqhSIJMcI7SjmvDSFjTgT6eeYG6SvNs157FgR78Nr
	 TzzxDJNf6ovCYShmr2MWPW+2baKzJT4JFMTSf+Ca7UOQd7bOdYDtuY/pLJBr06S6/7Q==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=bIwrq3jc;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id E1E02606A327;
	Mon, 26 Oct 2026 17:26:20 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 893661F01825;
	Mon, 26 Oct 2026 17:26:17 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793035580;
	bh=Y7fieeF7CmqetCmDW/QKoeVOfYtQRHVfDW9OzlsY0n4=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=bIwrq3jcWrVWlKY8Ol4vI8+yt/qdkIhJvzjUsFnJcQWz3XJYeEXX2S4C0ZhimFzof
	 goBbek1dQU+wXfkoaPDg3K54VH/pP38R+714tMnt48sRGhzCxeYts7CkqGlCj5V+wM
	 MUvhfO4sZkf1zfcxsOHV016bxGhPv5P1SLg6l3H7T/dqml1fDcfdtBSNE8RYo8yXya
	 RxLGizVb2O5ZJry4Es3MXd/uAUOEio8S58XVeog9qr3kNNdiZLowA2thGEVkKW0iVF
	 2xmF4MLCyvZ3pC7/5uFhf/hgxEa94yrglFs/C+j2WjAPs3Cms7mHnWh/ClX/km5DZo
	 N20jrkg72XU4w==
X-Cc: Manivannan Sadhasivam <mani@kernel.org>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Jeff Johnson <jjohnson@kernel.org>, 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 <andersson@kernel.org>,
	Chris Lew <christopher.lew@oss.qualcomm.com>,
	Deepak Kumar Singh <deepak.singh@oss.qualcomm.com>,
	Raj Kumar Bhagat <raj.bhagat@oss.qualcomm.com>,
	Juha-Matti Tilli <juha-matti.tilli@iki.fi>,
	Jeff Hugo <jeff.hugo@oss.qualcomm.com>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261022-qrtr-multi-ep-v4-4-c6fdb75fcd3e@oss.qualcomm.com>