From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [185.185.170.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3CF455218BC; Thu, 1 Oct 2026 14:30:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=185.185.170.37 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790865052; cv=pass; b=rjDBt11HT3gv/m604IGjAcmw8ai1Mc8gU+Q4qff/00KcJJE7v0na6Gqa3J/oMWrRYus3I1osg90LuB8nhxf4i9Y8JLLWv6pq+b5UpPvjIK4BBrRKRFXIEKasT2mOH5EKJQnnn7gpUF61vx3pk4U3B/gjfilalhVZUFqn8NaVLf0= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790865052; c=relaxed/simple; bh=fh3mHGVp2bOdCQOsMBmhI2ZiToofIndaNbGggmqwne0=; h=MIME-Version:Date:From:To:Cc:Message-Id:In-Reply-To:References: Subject:Content-Type; b=bBtkjbRPHy91rVwl9l+Mo/b23XqNtnD6YjZByu055b3zl5oVTCixMC4QvGn9F69R+3nN2l7Y1SGTIj9FV9YjRC5CSRadEhpsHQSBs4f4NCWmSbO0CTAk7mBTAei75RnA7JUpDXJYcRi5ohkEdA3nHIphB0lxDlQtw6Kqigm6eZ8= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=iki.fi; spf=pass smtp.mailfrom=iki.fi; dkim=pass (2048-bit key) header.d=iki.fi header.i=@iki.fi header.b=NvuTh+S3; arc=pass smtp.client-ip=185.185.170.37 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) header.d=iki.fi header.i=@iki.fi header.b="NvuTh+S3" 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 4hwYwz3cJKz49PxK; Thu, 01 Oct 2026 17:20:51 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1790864451; 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=fh3mHGVp2bOdCQOsMBmhI2ZiToofIndaNbGggmqwne0=; b=NvuTh+S3YGCUHb+4Wo3bxFnyGFFa1xfjBNQiXHS886DnRmR+xll8iZkVvFQTuUsqguvJaI 7Z1iTWxnLeXG35RjfrRFBTzQGdYPPQc7GTDaVEmX3pOWTH8RfcaGMpJC8H0l20eBspI/uR 0aDdBi864XMh/fSFimDeVreeDMF9kH/ujibVpocM3UdR4VahGQBSi5mxjnhI4HbGgkjD/M rEnnjo894nc62U/sDBoJHZo5D75y1UX627lrrMmObG3CkDq0K4vKERgckHHQ2Hrcb7hdJ+ e0YB2gPdu2cXV7AaSsqLEXKRPvqS/K2ep9qWdrGLvNFbSSnfqRVkZacMPy9j9A== ARC-Seal: i=1; a=rsa-sha256; d=iki.fi; s=lahtoruutu; cv=none; t=1790864451; b=EvKyBKjflPtmo2JuDNh4EXOgHkAV3JQo1c5IVSRAC88PgC6c0y+geSaMwd6d0Xe4sg5w2R yzgjrPSZjduQKwX9fnq7oTCII52FBTT2JDXG4QcZyqSNcDvpa+Hw8kuD72lnKzn7+4fGsy 82WRc5xjS66sDcwEWIypG+ZfLy76MtDiqclilYzf2HCCSjn0JdlLL1TYFeV0/o4Cz0YOfM zpDYMtizdvoGDjUfXDLrsD14SECGlGqZR3pxc2WBVCXR8PasC1TXHZf19X1psCKJZo3CSQ elqiUeEePosPoTW5mhFCmhX1HzuleuTOzgf/8iU30sISm9JXw/O5zia3e2dJbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1790864451; 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=fh3mHGVp2bOdCQOsMBmhI2ZiToofIndaNbGggmqwne0=; b=gf7WRUHKgtGuIFUaL8SvsftioKspdPBbGrI0i+MQMScY3RTZMx93n8xiqeiVLOGaaR2cMR EX1Q3j7UR82H/RffroUN30otBnBtN/Vopbr6C+dEenZLYpPrmC6KXNzdaGdY6obkPuWej1 rBu7cd45fqGTSuhD6wawpmyhuhdTuEsxreCux4V2eRn8GTokk6uld3KsA3gTVt/E8GqUR4 YQLAkxhIi+knWHNv954uc8O5g3KzPTggcfCgwIyspYWDl1EynlEcM0WGCgs8kgnK3UtvfM pO9igQGlGLHFQpOIZED0UUnQq/IehEBZvSDoWJyjeab5fcvD0MnZSjRAlMfPJg== 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 C25A9198003A; Thu, 1 Oct 2026 10:20:49 -0400 (EDT) Received: from ams-imap-13 ([10.64.2.33]) by ams-compute-02.internal (MEProxy); Thu, 01 Oct 2026 10:20:49 -0400 X-ME-Sender: X-ME-Proxy-Cause: dmFkZTEalv8rOj2Uj3+4YFCUjdY/jYEb/+9gtNNrCuYEzSg/QJULIbYWKJ1VzCB/eCjHp6 kfyShI04ct/CIcgZMVclZs6vAFYUtJQiVdI09AQwptSTRrOuR88rxCE6cQxvjs8rTz/v+T mnEMYXmbDqWqQNsxamR7ByALCwVQ780Vapo8pwgxZ38PmYyLc/lkFKJ9hMnlJ+grHwGGHI FGMvYeL/D0s8RH/kvjcilPzTiLhDB4XxarKa/426kQ2ek9K5MLJXPouMuiX8WK8RZu+l9I GVTWdqZaq0T/2A1/yYQGikTFvz3vyNJ2LkT3mXtTThp5+4jMPTjGl2Q2OOx9oeQN3ud0uA wUxl1jw6ut4i+cic/zrSufGHZGBkHi2d9Dkh0/uqVzLdUPhnqYOh+Hpg0XDwmdthr4Qtwz o2JyQsQ7mGssAQLe/XweruY/GYqcDOqxIz4kIjmPOaO5ARMZEi4k8iuo/QjQphqW3PxiAZ 7kXs/OxmDe4kWuMGzzRC2a780ta6UscrViCOcspVNUy5w2TEEvXxzoCiDS/PVSIQ863PUR nIh/zqdLtXjXi6Cc2+BkfNUUn1xj7tpCxsrGPGc8CdvsCi1uWBRgDgWsiy+OJHn8at3/a7 iZWEvMJhoVtyDiuYQhhot+otiBduMBtyee/dtPcCz4ISZHtCjNOusIxmy0+w X-ME-Proxy: Feedback-ID: i02414972:Fastmail Received: by mailuser.ams.internal (Postfix, from userid 501) id 2DCD6F80094; Thu, 1 Oct 2026 10:20:47 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ThreadId: A0G5p0OZ_htJ Date: Thu, 01 Oct 2026 17:20:27 +0300 From: "Juha-Matti Tilli" To: "Marcel Holtmann" Cc: "Manivannan Sadhasivam" , "Deepak Kumar Singh" , "David S . Miller" , "Eric Dumazet" , "Jakub Kicinski" , "Paolo Abeni" , "Simon Horman" , "Jeff Johnson" , 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" , "Raj Kumar Bhagat" , "Jeff Hugo" Message-Id: <19433f85-4cf1-4ec1-a26f-0eab7df062df@app.fastmail.com> In-Reply-To: <0A4EB216-06E0-4A7D-A0FD-821DD371773B@holtmann.org> References: <20260922-qrtr-multi-ep-v3-0-c00831e88957@oss.qualcomm.com> <20260922-qrtr-multi-ep-v3-2-c00831e88957@oss.qualcomm.com> <7aed969d-0868-4c9c-967e-7766dbba427e@oss.qualcomm.com> <13BFC5B0-77E6-48F2-B857-37686EA1DB2C@holtmann.org> <05e539f8-bb7c-4038-8a83-8ab0d1a5b917@app.fastmail.com> <10091679-7567-42C2-B77E-EFD95CEDD649@holtmann.org> <6e0ed085-07d0-46f0-97dd-b8d942842e1f@app.fastmail.com> <0A4EB216-06E0-4A7D-A0FD-821DD371773B@holtmann.org> Subject: Re: [PATCH v3 2/4] net: qrtr: Assign unique node id for MHI endpoints Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, Sep 30, 2026, at 17:33, Marcel Holtmann wrote: > > Well, in defense of Manivannan's patchset it currently works for PCI= +AHB > > setups better than the last version of that by Denis/Mihai/me (altho= ugh=20 > > I could easily fix that), and it may be simpler for userspace to > > continue using nid than having to bind to an endpoint, which requires > > more changes in userspace code. > >=20 > > The userspace just needs to know the nid. >=20 > and existing userspace? You can _NOT_ break existing userspace. >=20 > Don=E2=80=99t you need to re-write all existing QRTRIPC packets to act= ually even make this work? Well, from what I understand this rewriting is the plan. It is true that if someone has a single card, the nid changes, thus maybe breaking userspace if the userspace has hardcoded nid. But if someone has multiple cards, the breakage to userspace is less with this patch, since userspace can keep on using the same code and just change the nid, whereas with the endpoint_id patch, the userspace needs code changes to bind to an endpoint. BR, Juha-Matti