Article View: linux.kernel.netdev
Article #7525Re: [PATCH 0/2] net: qrtr: don't lose name server packets behind the HELLO gate
From: Manivannan Sadhasivam
Date: Mon, 26 Oct 2026 14:50
Date: Mon, 26 Oct 2026 14:50
47 lines
10264 bytes
10264 bytes
Hi Igor,
On Mon, Oct 19, 2026 at 01:12:00PM +0200, Igor Opaniuk wrote:
> Since commit 544d85de4dc2 ("net: qrtr: Send HELLO message on endpoint
> register") the core refuses every non-HELLO packet to a node until the
> HELLO to it has been sent, and retries a HELLO that cannot be sent yet
> 100 ms later. A freshly booted remoteproc has no glink rx intents, so
> the first HELLO fails, and the name server's announcements in that
> window (the replies to the remote's HELLO and the NEW_SERVER broadcasts
> of local servers) are dropped for good. The name server then also skips
> the lookup notifications for a server whose broadcast failed.
>
> On QCM2290 (Arduino UNO Q) this stalls the modem in about one boot in
> five: it waits for the RMTFS service, which rmtfs registers in the same
> instant the modem starts, until its watchdog fires 40 s later; WiFi,
> whose firmware runs on the modem, comes up a minute late.
>
> Patch 1 makes the name server carry on after a failed send (announce
> the remaining servers, notify the pending lookups). Patch 2 holds
> control packets for a node behind its HELLO and sends them right after
> it, instead of dropping them; data packets are still refused before the
> HELLO, so flow control is unchanged.
>
> Initially tested on the Arduino UNO Q (QRB2210) with v7.3-rc6 plus the board
> support it needs: 10 fresh boots and 10 modem stop/start cycles, no
> "failed to announce new service", no modem watchdog, WLAN firmware up
> 6.4-8.2 s after boot every time; unpatched, 2/10 boots and 1/18 restarts
> stalled. Built with W=1 on net/main; applies to next-20261016.
>
> I'm not deeply familiar with QRTR; an alternative would be to have the
> core trigger announce_servers() for the node once its HELLO is sent.
> Happy to rework it that way if preferred.
>
Thanks for the series. There is already a patch floating [1] to fix the issue
you are trying to fix and it looks simple compared to this series.
But still, this series is useful, atleast patch 1. So you can resend this series
on top of v3 of [1] after fixing Sashiko's comments.
- Mani
[1] https://lore.kernel.org/netdev/20261022163116.1042-1-26rote@gmail.com
--
மணிவண்ணன் சதாசிவம்
Technical Details
Message-ID:
<at9n5CR6de3echo_@debian>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-351949-linux-kernel-netdev=dewy.ruReferences:
<20261019-upstream-qrtr-hello-gate-fix_b4-v1-0-bd420aec171b@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-351949-linux-kernel-netdev=dewy.ru From: mani@kernel.org (Manivannan Sadhasivam) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH 0/2] net: qrtr: don't lose name server packets behind the HELLO gate Date: Mon, 26 Oct 2026 20:20:06 +0530 Organization: Usenet Network Message-ID: <at9n5CR6de3echo_@debian> References: <20261019-upstream-qrtr-hello-gate-fix_b4-v1-0-bd420aec171b@oss.qualcomm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1330624"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:E5v1oW2eZ2r9OE327R8l/YxTbcM= sha256:RaMnpoVKBeS5h211ClQzT8MBZr09BWZMmh96s8XeEj8= sha1:FTQa6dvsRfDgwzdQMhb5BGj93Ks= sha256:MjZrCfGvEPMAxVepHd7JI47Ns02+aJGjsGiRakytSwk= 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 4F1DE125BAD; Mon, 26 Oct 2026 17:55:26 +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 X4CoVtaPS_ee; Mon, 26 Oct 2026 17:55:22 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-351949-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id C15F5125BA9; Mon, 26 Oct 2026 17:55:13 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 8D3972CBB0; Mon, 26 Oct 2026 14:50:27 +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=1793026227; b=1KvxPefe8ntAdQ3L/ynJ+n3fwqsGWcnlJZLvqR/WPAuCNdRp+AfDyEx3eokykuq3Auhi UiRzjN3j7zzxadFydWcl/4P1B4ShmAWAXXnwu3OgQRQOkE1KZVujGYC2lSWoexgPwvXTc RHDNDYvTATlnME893XOea7gxKOsUh7iBfN8hCsmHRjeDhf+HStta4M6SAr7WFJILBLUpD Zrs9wrZDHqb/E8cFssQkggoQrpboCTGK4sGbu+c639ojbVf2kJMK+3q7zw6R8OsoOVmEI jBMHlshCLaOoOXnBC+FvfhwcjdhpN5PAlgjruV+TNkXMQgyXDND4tOb54eU6wxmyBRQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793026227; 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: Content-Transfer-Encoding:In-Reply-To; bh=p2Y0ewCR7R8xG92WWc1IJLfHg4RXwgJ2QKJmcFiaHq8=; b=rpZHTWCtXbcnbfKiDZH9AxOcPIGyoknpyKgUqT1Z1SoYf8jYgQbK+/GLmPOpOLIbjHom pH4QdeKnFWjhXishsRE8bvVFV/asQit8QGoZ6C+7WGxrSajAbR+B/KpJ/3otjn6ipf4r6 xB1TGXGHLrU/ghMnXXLLTQCyqXWvNNPcF1FFCOp/LL36cjw/Gj14ohsL3MqOhfY31KG1r TUxiPKI+0X5k1pT5RhzdpNjfyuikOCdPfrcpaI4qveer9S8pzDyXDiR0Za1G+z2Yoh+iY zJkHn4bdgopvtXyz8RzkMuOjkdwSzB1IRQml6GtRy33i4YSQulSGQ/hYYT+tnDNRHTQ== 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=ADfa2vmw; 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 4B3E5606A320; Mon, 26 Oct 2026 14:50:27 +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=ADfa2vmw 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=1793026217; b=bEYIzk03dadpobC1BL/dnYao1NeMqN9IMDGTseg7wvPg+wsM8wapITrdhc5SMj6rQDkq u0gEmAhWI8qCTjRn5oWVKNOPNEieFpNyIuyKNyFH8zCSuj+4Jm0BeivnTwzEy5ulxJ47P ikWiHVkBxa6Ea6Z9ymKzgbU7NEZj7Pg68II1f5HFAFOSx+W/964K98389zRorlPVTaA5S /+OiK3SVoWwQQ5vJ0k61+AlciM39q6wgD072PHPMKwG+tlFODqgsLahIkObZtWaWXqY3K eZzmhJQS0h41SrIrhaaPJlKHz3yj80JKOPIWW6z1IQNrNsGFuW5Vxs6qci5KS6usvcw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793026217; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=p2Y0ewCR7R8xG92WWc1IJLfHg4RXwgJ2QKJmcFiaHq8=; b=w4Rv6+jVZoxSNE8lBpr9vkEx1xKzV0/tjnRVZm5rgnJYwZ/qHOcn2VnulQemVVp8DR0u uVjnVX2ydZA8l0wTTDkDiGDoA8K/R3+dGzyf4scInMBztsybb/L8MBRq9nOI3U12gYZa4 KT1aDbIjVBvpf6NOk09QQMPqozZKqiAMDduk0oKE0PtHhTuFZusr8AjJpSVAJpqBXyjio +jUIZw5TYXWm0N17ZXSZL5lhkJCXrh4I5B84GualLHLA5wSl8BIwQ3SdFHbZUsf0G0xGF w6mKk549YLjC57V4ksLnV6una4ZG1P+Rxt3EYxJdtVuDQazC/JMFNIcVgq8LKZQHmCA== 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=ADfa2vmw; 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 71A50606A31A; Mon, 26 Oct 2026 14:50:17 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 217BB1F01828; Mon, 26 Oct 2026 14:50:11 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793026217; bh=p2Y0ewCR7R8xG92WWc1IJLfHg4RXwgJ2QKJmcFiaHq8=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=ADfa2vmwrHaq6Cw87D7xoZlsX2o0pkNyxKUrI+5+vFM62gAyKxTly3E8ktnrWA+WU NYTqhhfautYQKtvR7P88HhQy9YLndnsoXlLotl0O5mQcYzgddrn6wKpE8jfWW6HInS VE8WGv6JW3tn5X4XRxemxhuCBg8ib4mIbu94Xq9V3SGSNv7hRsHAfICkAeehBVTail 5EDq9DGuYGqS/wivKYYztdku7NIySprHmMJQKDYRMNHNI4Tev4/YdQzMFE49oGJEgJ 1AHoaxq6qGCjkGYnM9IvIQC0zAtsDyuH98eV59fhKGytU+hY4DKSoWVvXmqgtJZRGe ryb3znwlyQTrA== X-Cc: "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>, Pranav Mahesh Phansalkar <pranav.phansalkar@oss.qualcomm.com>, Chris Lew <christopher.lew@oss.qualcomm.com>, Deepak Kumar Singh <deepak.singh@oss.qualcomm.com>, linux-arm-msm@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org 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: <20261019-upstream-qrtr-hello-gate-fix_b4-v1-0-bd420aec171b@oss.qualcomm.com>