From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 335FC34D4CE for ; Fri, 19 Jun 2026 07:14:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781853262; cv=none; b=nPv7VoJXuZ9DblhWPbV4H0hiQ7IQcmaGfaXZkx0nIx7YKyPKR8C9TAsf8KTE79CYrMNaLLrECcQRxZQFlCFGrsDVwBSKrqK6U0SuJnjrEHO1vC3Z8rAbvKrk0J3kAnfYUbLUYPlDKEom+hvPP2c1Q7pLxQEaTUEJ2cppxuJnTXU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781853262; c=relaxed/simple; bh=5g5YGofPTDcKTTBlyH2UVXlBM4H480Pv5JkBfDsZK2c=; h=From:Date:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pBrWRdTDQ19t4HLq7I44G5zrYkiLLHixYqoa53b8d5qLWXqVHNH96wb97Ief6SydzRHZKEi43C3X56kxtjR6gy1k8mfkBsv2xh4VRXwuwNeJ1CdHcViCTul6B2eW8jnPjbrkGq9929o7wgSr0cHEbywCuY8xX80NEfEpfIr4Eao= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=hCAbBPit; arc=none smtp.client-ip=209.85.221.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="hCAbBPit" Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-45f3cf907ceso898903f8f.2 for ; Fri, 19 Jun 2026 00:14:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1781853260; x=1782458060; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:date:from:from:to :cc:subject:date:message-id:reply-to; bh=dO+UhVuzDjOR9Xal9erNoYHD+4hYeE1itAO+Ot7PglQ=; b=hCAbBPitM5hEMx855/8V8v3d9yJ6DNZ9TbIGYFPfc9nn02JUi1Ds+tXMIF3hkz99k6 yEIzFaBEi8lpX3Nhz/5oh50u2bx6YTZB/P/PCd1uNrjFdbXkX+cOWgGQ27TJ17DFr4wp 9BGlisO94IY7qNGbgEH4axoBJTvsKu3Rb1hw6N7dtXcmrhImUE/0dj+d3QLSQUJpCsZb phXJ3F5GbKlb6x6Gyi4//GT5mWQpms4YCW3xqXq60nwb8O3Lef0MpUdnPuqo+Bw/8pFE qV/R4WQGzDkAmTNWWKPYwA9I5BoX7Tcuka9CVsEeflZRBkkhFEWb+caXMbgfmif1Jc9v MCrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781853260; x=1782458060; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dO+UhVuzDjOR9Xal9erNoYHD+4hYeE1itAO+Ot7PglQ=; b=NlCeJAHL6OSs3piM7U5mLHO9SXNYSN+TmwNtKlmoQ4FwX+7Rh9wrdwJl/JQoTpkPLr gABB1A1wQFq++FEiysh5UoBCjM0w5c0OIg5ZIhUl//v+QEI8268BP4WQ+CaGZnagOpIR fynWv3j3tqfYAd6N7bTNEg9IKd6FaL5M8REkkrlEIc2efdJP+0vw3jy0w/VnZdxA47YE QfEwJUrbBuw5qquuChnwq9MEJflf8ltJRtWnmMpOMKh/Gn09WVayHdWq+MvjxK5EjDmY 3N+9Z4mjFDNN7gTAPEtU4C/ial8S6FmF6ra6qxsZDWXprpjwJCU/+6UZrJaD6mslUsr9 zmhg== X-Forwarded-Encrypted: i=1; AFNElJ//1eMN50cclJI3fETju2B2H7Sd19jmMzPFnZDyVXzeHg6AR9kHWlpd2hASk0uMcLv6jXKn3GTUSpnpGwc=@vger.kernel.org X-Gm-Message-State: AOJu0YzF+9OXII6empXAwjQdRmumQPctU/ey63KmfBWIgGwfJPD2d2Or mxtRwQMTNP7JKsaGFw3GC1FRBmd5LVcrJfUGXs2/Xxran2AhK4y2EYbCDZhiWG70GrY= X-Gm-Gg: AfdE7cnRw4phaJBqpKwjY6CVnS/z6QovEUA5dA1Xn/EgdxFT0qTyRzf+7230cly3Y6J vd7eZNyksGPwuZSrmDeWtkFYMtZ5WzE927F5sbqWsEpo2l5RZimaC1biy2bAimO8C+QbL7LcC4f noKXJ1MlegynNBiy5+PCFc5a6NE64jC2Utzf6gSWv6nB3QBiBkCQkP5dIT64D7njJqV/1O7PuZv I7OVgE/GScoFKCsusTNskkZSj8AA3KD+/FUjLYapvrm1YubgY2F6k1dROLOcKC+zg8EepStBsAC l3ZNV6iTubac0T8aVtB65/kfRXWKuVyEzyYoiyu6/OcuRv8DVqUp4tq5gQltXu2Z5tFS+VzNbcp pqBLOYfajL+7mpGE2Pr6C1M3hlRyYai+DT7wykYUqsPKPiC+/d3fEOKrQKyqBVc33+84m8lKPii xOXwVBOPdZ4w== X-Received: by 2002:a05:600c:8b24:b0:48a:93f8:dd02 with SMTP id 5b1f17b1804b1-4923f439be6mr49271215e9.14.1781853259707; Fri, 19 Jun 2026 00:14:19 -0700 (PDT) Received: from localhost ([195.94.150.2]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4923fce9590sm46202215e9.4.2026.06.19.00.14.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2026 00:14:19 -0700 (PDT) From: Andrea della Porta X-Google-Original-From: Andrea della Porta Date: Fri, 19 Jun 2026 09:17:43 +0200 To: =?iso-8859-1?Q?Th=E9o?= Lebrun Cc: Andrea della Porta , netdev@vger.kernel.org, Nicolas Ferre , Claudiu Beznea , Andrew Lunn , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, Nicolai Buchwitz , Lukasz Raczylo , Steffen Jaeckel Subject: Re: [PATCH v2] net: macb: add TX stall timeout callback to recover from lost TSTART write Message-ID: References: <468f480454a314303bac6a54780b153f689f2267.1781598350.git.andrea.porta@suse.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Hi Theo, On 17:07 Tue 16 Jun , Théo Lebrun wrote: > Hello Andrea, > > On Tue Jun 16, 2026 at 3:23 PM CEST, Andrea della Porta wrote: > > From: Lukasz Raczylo > > > > The MACB found in the Raspberry Pi RP1 suffers from sporadic stalls on > > the TX queue. > > While the exact root cause is not yet fully understood, it is likely > > related to a hardware issue where a TSTART write to the NCR register > > is missed, preventing the transmission from being kicked off. > > > > Implement a timeout callback to handle TX queue stalls, triggering the > > existing restart mechanism to recover. > > > > Link: https://lore.kernel.org/all/20260514215459.36109-1-lukasz@raczylo.com/ > > Fixes: dc110d1b23564 ("net: cadence: macb: Add support for Raspberry Pi RP1 ethernet controller") > > Signed-off-by: Lukasz Raczylo > > Co-developed-by: Steffen Jaeckel > > Signed-off-by: Steffen Jaeckel > > Co-developed-by: Andrea della Porta > > Signed-off-by: Andrea della Porta > > Thanks for this V2. > > Reviewed-by: Théo Lebrun > > Any news from the Raspberry Pi community about this bug investigation? Not from my side, unfortunately. Regards, Andrea > > Thanks, > > -- > Théo Lebrun, Bootlin > Embedded Linux and Kernel engineering > https://bootlin.com >