From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=54.38.221.178 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796080640; b=PVh8bGwYUl70fGb1tV8GNawiGS0cKJzXhOLkHMSDw4C14Fhr/RGXbg+vV1CZJ48nK1PK ZI98cgU4OKld1QuWTDxK+bmkQY8igZEkokTsMwBRJsABQr9ZOa2p5LogAEOgLan6FWD4X f4E4gTfwmNr6tHo6tw9rL2vFT6uGP9CxRyOtO6Na4TyP0zS7f+bUb2vHMIZc8ylIwL1Jm zLd1IUfkgiNMdiyYmAF7RPAB4WAI519600XGEO/ZXFK4yiV9x/804XQGAlITVge6OpLjt R7roe7LvOWkidNb/nGkdv+kIQVazkFMS/uH5X2pqSjXG0qjqCCjcj4PEBirrcf0Qoag== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796080640; h=DMARC-Filter:DKIM-Signature:Received:From:To:Cc:Cc:Cc:Cc:Subject: Date:Message-Id:In-Reply-To:References:MIME-Version:Content-Type; bh=oZWWSXO9BRjXFl6Sw8TxgM54biWBdFhDZwrfA63OiKQ=; b=Vp8yAbqCDJ7AFDe2ioNjtZ3sidQDdHXSo0Gvc6nFe37mRGroaHUdqyUT44A6G+azN1wL 35YYN2WnLnou05wWhivCEuT8tJqZuomdSwKhC1UhDhslDPMQW+3uhjMu39dQZS8TbjfxY /Yi6guqA2FDaKXPOZ6uaJGfh1Gr8tJv3vKZkWcL+M8tE243p7e78qs68/qsFhfwyhOdr1 66P2w4IGOu6DjF7G+cFtvPYeGhiB6/On3C6MRHwatqE8od/MW15+DOgBdhMk1i+X9kANi HftJ5+ZYwcc6yxWR6RyLPUgF71UYOqsJI9I3Dca8w6rIY9BQhBWKO6pTfbOGZ0Y8xuQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=loljews.com; spf=pass smtp.mailfrom=loljews.com; dkim=pass header.d=loljews.com header.i=@loljews.com header.a=rsa-sha256 header.s=mail header.b=usdanaWx; arc=none smtp.remote-ip=54.38.221.178 Received: from mnc015mcc432.ss7-reroute.local (unknown [54.38.221.178]) (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 CCBA6606A325; Mon, 30 Nov 2026 23:17:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org CCBA6606A325 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=loljews.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=loljews.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=loljews.com header.i=@loljews.com header.a=rsa-sha256 header.s=mail header.b=usdanaWx DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=loljews.com; s=mail; t=1796080628; bh=oZWWSXO9BRjXFl6Sw8TxgM54biWBdFhDZwrfA63OiKQ=; h=From:To:Cc:Cc:Cc:Cc:Subject:Date:In-Reply-To:References; b=usdanaWxXavxjazWjsRuq/X1s11ZjQX9PqPODF6kEww37s/rKFIdlJqfsK4WT7US1 SlpHbfATOABZldX8nvb1U+R39G9NSmNtieOyzeS+C2M+arlfcd9iUuu4kA2OlUzF09 NYVlCefztwH9mFeXR7IVhiDySUp7IM89LRn9eRcLfN14JBWU7M/K5b0JQbhW+E19jK mdq8x+gZ5ZdIcxi7p7GXX9V/H1oQtXBkhQ0090DGiS3XN9fAlA72r69Lz4keUno23r 9bQtqsrkK1YDRbTQLkqaXYkry/Mr0duaEwJjrkKsqN2oD9Y23DvAQ2yiK38jt7qL/q gdFVtBum/cpZA== Received: from loljews.com (localhost [127.0.0.1]) by postfix (Postfix) with ESMTP id 65A5427A3667; Tue, 01 Dec 2026 01:17:08 +0200 (EET) From: Sandeep Haemoon To: Eugene Markus Cc: netdev@vger.kernel.org Cc: linux-mediatek@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v7 1/3] net: ethernet: mtk_eth_soc: fix the RX Date: Tue, 01 Dec 2026 01:16:48 +0200 Message-Id: In-Reply-To: <17e86b6f-25af-43fc-b0ca-a0eb982e6cf4@fiftyone-percent.net> References: <17e86b6f-25af-43fc-b0ca-a0eb982e6cf4@fiftyone-percent.net> X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 On Sat, Nov 28, 2026 at 07:34:01PM +1100, Eugene Markus wrote: > This bug is not theoretical: it has been corrupting memory in the field > on a BPI-R4 Pro 8X (MT7988A, 8 GiB) running OpenWrt main (r38441, > kernel 6.18.60) as a home router with a Bitcoin node behind it. Thank you for the detailed report and the bench data - that is much stronger evidence than the series had. Your mechanism matches the analysis: every path that reaches release_desc without a fresh mapping relies on dma_addr being DMA_MAPPING_ERROR, and before this change the sentinel was only still true before the first successful mapping in a poll. The comparison between the old handling and this patch is exactly the test that was missing. I have sent the fix to net on its own, with Cc: stable, your Tested-by and a Reported-by, and a Link to your report: https://lore.kernel.org/all/patch-d7f0fb2678768cc97f1e9fb7ff0a27b5@loljews.com/ The jumbo work continues on net-next as v9, without the fix, so it is not submitted twice: https://lore.kernel.org/all/patch-957a473dc4caca415acb95d2d6cfa1ab@loljews.com/ The v8 cover said the 36-bit fix had not been triggered at runtime; that was wrong and v9 corrects it. If you would rather not have the Reported-by, say so and I will drop it.