From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj2-f43.google.com (mail-pj2-f43.google.com [74.125.227.171]) (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 9627E4D7D5D for ; Mon, 5 Oct 2026 17:38:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.227.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791221898; cv=none; b=lINf//n/Ip3lG1f9skqDABlNfueGijcH4GW+bKCpYDey01htUOe0bO3eQG7TujTnTr7pRkhaYgoNqwwPByy9qd0puyzk1H6jW/7ubu/ubuGVcXDdZfV2H4kGCkfxTICN3h7iK9kQXNL1UdjZFW7TxyU+D+73n+oLBmHV+5cL5HU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791221898; c=relaxed/simple; bh=56cPUhnYKFpPjDZdkQQvRj7byuhsc5ATQUH3g9x7yko=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZU8w3k3Yp4v8jUnCEsLty33YUUcLffLisTC+uSBpLpwwo9svodb08sPwJjZsgxHacodYDR9G4g7XMw4NgAedUu+a77uu9B1SOMFFMywUyYlBqg5LwOXPd78hXaXwMc492EH9BunSnmlDcekv58fUWINt7Ta/R0I/8yuTcpqoVUI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dama.to; spf=none smtp.mailfrom=dama.to; dkim=pass (2048-bit key) header.d=dama-to.20251104.gappssmtp.com header.i=@dama-to.20251104.gappssmtp.com header.b=zXcudfo/; arc=none smtp.client-ip=74.125.227.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dama.to Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=dama.to Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dama-to.20251104.gappssmtp.com header.i=@dama-to.20251104.gappssmtp.com header.b="zXcudfo/" Received: by mail-pj2-f43.google.com with SMTP id 98e67ed59e1d1-3a49573b8bdso1389329a91.2 for ; Mon, 05 Oct 2026 10:38:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dama-to.20251104.gappssmtp.com; s=20251104; t=1791221896; x=1791826696; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date:from :to:cc:subject:date:message-id:reply-to:content-type; bh=TGZol1/fhURXbJL0Orn0Yq+qAJxRjq98rgjNeuFqBTY=; b=zXcudfo/D469zyJUkvs59A92/v2vR3LqCiaJbZ8B9L+m97WPNoTvt1pHKRvkZ95UXP Tm5pSrCrB+e6fkj5iY8B1hg1btrw7hKSQeDPVoSGFu6YbjymDTQwo5l5tM60UOmLiIZ4 8gbb8L0E0xnoohTEwvlK27W/rnCtkuoMKffLUBui+DRPe20W9Oa/yIBTU14VaGZzq4jm wTjJqcd8SmL2zzsw1zU5/xm5KIQF1/KD7r6oa4WMdD4DZABYrN0HjKUYeEJ/+UJFPz0C 0g4N0ILi6MFfsEnL9WEfKC04SEaWkLOUK0mQeBNeet2RM56mnWhk72htO1KA01Qi+t2E Rivg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791221896; x=1791826696; h=in-reply-to:content-disposition:content-type:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=TGZol1/fhURXbJL0Orn0Yq+qAJxRjq98rgjNeuFqBTY=; b=1dnXEkXAcxr5BtFWwdnLWG9DGVGckupnNRHtDU8X5oPXwWGKCLhtBiIW6jylek58qM f6O1oxDEEpTPC3B54QJvqgU5niQiqIEQbszC3y9LLnA8WvL6R4ta6WiPpmswtYGT3djf /Dgqtqti44H29/3jVBYDYlZoKHnpi+KO1GT45XFszMiwQ+P+8UANT53mXO6TlDkBHpPI M73+9vBnyM9au1DFh29euCQWUMkEIHY7cLrsXOmCZ0SqyVjZ6lN5AKPbde4d2xtexXbj G6GCc+39jt8fHix0AIPHnrp1g3cUc2cd0R/k7xfA/D76nTG889WprA4VOKKh21/aldhH qrNg== X-Forwarded-Encrypted: i=1; AKwUvBwlgae+68YsQzBAesOxUEU9BHlEsgCjTNINPnpLriF3YapL93Mjmb4ZuxEsyM31v8XGIfFuI98=@vger.kernel.org X-Gm-Message-State: AFq9FYJJzrpu0GjUEnKsFw/w8EhRhD9IXmphSdabU7Gb79aE+iLOmn6J bbucbNrxIHhuZm4erTwDdqHsAIE2449qxQ7keImzVag12G0pxdnfqAO4DAi6exsbbng= X-Gm-Gg: AYBFou1c3EO6RL+9yH1xXh8YPKN56hFkroL9NeoiZ/g/wKZv/3GyrDPaTvno6T02QRe PXYY6HSjKtjqu0T6bMktcYBBI7S1tsqOaDx6yMJm8N1T9s9bm9wFbdW+4REZQ1LHpBVJzg5htfu qOp9Fwy8AhGn2gh69cdn4+P3lDDw5F16qVXPdDP3zSDQjNaPqx8o3KgBC1YphSVjTUatvHl8Rwv 67/8w8Dllr0NZhn2feqL+9aMfPw8Iwgs3Q0m7QX67xag1oAKlb4iLPEpcr9HTe9/s8iXPyXS4BB ZLjdciPksPy5lrKjtqPF6frbFpbFeGPfxvfi1TXciG7BV7HN8NVGI4I9jO3kVd31Q85d9iHoN4b zY9nx7xFEMeu6jLwBE5X0TbHgMrYoE42Js4hqNOKSp+TBF3+a2ASC+ae98rrnd0pneMEP20QTws M1vRxnPE35/8f2TsW+OdFhWOOm4bo4uCVht7s1FA319hfzfqd6pWBn6K4wADczP1NbgLbJgKtrA 86JEE7wzhjpgIjfNUO16Lk= X-Received: by 2002:a17:90b:3849:b0:3a0:8050:2ed1 with SMTP id 98e67ed59e1d1-3a6ced936bfmr10618539a91.63.1791221895412; Mon, 05 Oct 2026 10:38:15 -0700 (PDT) Received: from localhost ([2a03:2880:2ff:53::]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3a8543e8478sm462854a91.17.2026.10.05.10.38.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Oct 2026 10:38:14 -0700 (PDT) Date: Mon, 5 Oct 2026 10:38:13 -0700 From: Joe Damato To: Eric Dumazet Cc: Stefan Fleischmann , netdev@vger.kernel.org, stable@vger.kernel.org, Michael Chan , Pavan Chebbi , regressions@lists.linux.dev Subject: Re: [REGRESSION] Commit 447cbe95ebb9 causes IOMMU DMA faults on macvlan/vlan with bnxt_en Message-ID: Mail-Followup-To: Joe Damato , Eric Dumazet , Stefan Fleischmann , netdev@vger.kernel.org, stable@vger.kernel.org, Michael Chan , Pavan Chebbi , regressions@lists.linux.dev References: <20261004122616.56714cbd@nargothrond> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Sun, Oct 04, 2026 at 01:46:08PM +0200, Eric Dumazet wrote: > > > On 10/4/26 12:26, Stefan Fleischmann wrote: > > Hi, > > > > I have bisected a regression introduced in kernel 6.18.51 (and 7.2.3). > > The issue is still present in 6.18.55 and 7.2.9. Verified by reverting > > 1517d1996b52 (the equivalent of 447cbe95ebb9 in the 6.18 branch) on top > > of 6.18.51 and 6.18.55. > > > > The hardware is a Dell R640 server with Intel Xeon Silver 4210 and > > Broadcom BCM57412 NetXtreme-E NIC. > > > > The network interface is configured as an untagged interface and has a > > couple of tagged VLAN interfaces configured on top. All of these are > > used by LXC containers with Macvlan. > > > > The interface comes up fine after boot, but after some time (anywhere > > between 2 to 40 minutes) I see a DMA error in the kernel log (attached), > > and the driver ends up tearing down the interface. It can be brought up > > again after that, but it will hit a DMA error again after a while and > > the interface goes down again. > > > > I'm happy to provide more debug info if needed, or test patches. > > Hi Stefan, > > Thanks for the bisect and detailed report. > > Notice that 0xfc499000 is on an exact 4KB page boundary. This points to a > DMA read overrun where the Broadcom DMA engine reads past the end of a > buffer mapped in page 0xfc498xxx into the adjacent unmapped page 0xfc499000. > > Have you tried a recent net kernel ? > > Could you please test whether disabling TSO or hardware VLAN offload > prevents the crash? (maybe adding one option at a time) > > # ethtool -K eno1np0 tso off > > # ethtool -K eno1np0 tx-vlan-offload off > > Adding Joe to this thread, because some parts in > tso_dma_map_init() or tso_start() might have bugs. Thanks for adding me and debugging this. We've been hitting a similar read fault for a very long time I've had trouble tracking down (it's been reproducing since at least kernel 6.9, long before my SW USO changes). In the case I am tracking, it seems to reproduce (fairly rarely) and seems to be caused by a tcpv6 TSO packet with a read fault in the last page of a 32k frag. I have yet to find a reproducer for my issue, though :( I'll try this patch, but IIUC padding only applies to frames under 52 bytes, so I'm not sure if it's the same bug I have been searching for.