Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp462933lqp; Wed, 12 Jun 2024 07:01:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWvlx7lC8vdCCsbCJLqBtwSuRrrXy00qa/iR6gLDOQxHjSNZrET7NV52tl8bzlL55STTkKLaNVXoVJQ8hAzMwXu51cHarc9m5J0flLFjQ== X-Google-Smtp-Source: AGHT+IEQ0FWTYik+pNl1+QYRk2J9KFZUeK0NVJ7joNueVwilymWdkze9gSCtw5KhATKe6qoc1Blt X-Received: by 2002:a17:906:c795:b0:a6f:4bc1:2764 with SMTP id a640c23a62f3a-a6f4bc1279fmr90248866b.10.1718200908625; Wed, 12 Jun 2024 07:01:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718200908; cv=pass; d=google.com; s=arc-20160816; b=gmBbXeGvm3GT+TDpD7IdrLuIDgO6NnahtW6xZt/FeCcZe2qBleoUSmj1Db0n+cF5EO 6ueoqrkXxtbD9R222g1qiujk+WJ1w/OBzSasOAotV+S6uF8gWAaaN55C14kCO6nIm5kz F+ALad9Im9Kn2lB2K6kK8/bphNh8q3/L4Eafl0ac5FqqW3GdFoCkz4TRfka6AR/a9f06 1CzZif0nuK60zYnlzlZ8MOSaklJB/ht/OV5Ye70k7ftocbalPzvsKYcp46KtcuemUrVI YyPnpP2Uhpyf4pbZYYi7p7HQ0aMKcRqddP8dMXRsFByU/E4mAiv4sI1M3pN98Wzzz0jX U3Yw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bTPOZgkUYslEZeJs0Vt13TQYEhHvQrsbRPKXQB2es6o=; fh=s22bmBNwi7BoPE+3FVRW74IJUpo4IRxguVuD5xwMat0=; b=yDPwWgMSufBVeIgThNEFqNe6M76eIFFPf+c0wJZkTpM7tg+XGDlAthS1Dv1bXTmWmp HEQESF7L2SXhx/hEiV7AXJsHvGs8/S40TccQCo0I05uJIsPWlptGvGBPG209c2SNiN/F KcVX3DB7cqx8vD5nHC3BCEJlTAu840aDBRTpReN3CJ29YEMwgUK/h4G0+a3R7gBF4KW6 6WxiJG4Uwka75QGj3lzzQixd9VpM00hTfhlrObri59syWC6TqM1kYlU4MB4Ax9G1zpzY qQiR8+eHmlMe8c3tI/zIZ1S+IMJuk3R04AeegaDZNsxsNkPM3lMhBA2I/gywwEeGPLK+ sN8g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KgGObPDa; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-211629-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211629-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6ef8c0152esi501076166b.635.2024.06.12.07.01.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 07:01:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211629-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KgGObPDa; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-211629-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211629-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 577001F24913 for ; Wed, 12 Jun 2024 14:01:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EF60217F395; Wed, 12 Jun 2024 13:58:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="KgGObPDa" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 1BAA517F37C; Wed, 12 Jun 2024 13:58:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718200723; cv=none; b=Mf7l5Gc4nnhEjpodano8t66zmQ9uBafh/Lwj0UQfn1w5+pfYQ/dyQEOpWfbuaR4izr+1tkDxnm8RR7Tw2D081XftUZOFzo11jp8pp4MFkVh2dDSsgfxdcG1GkJXbE3vMs4oThsICsHIIqe4iU4O4gebZypFx4EW8wEv+Q5bdUsI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718200723; c=relaxed/simple; bh=B3wMkmZ7OrCEXcqJWumgkuWRETuK/7tmpwj6d2FUnJk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nyTVNO1+9BIud1RbRWSGw6qZzDkUMDf563VbV7Z09daNiFRdWb7BwPcBphKNS5jyEpw4PD62qsBeTxx1VrlSEH0FLcCwOMMm6AfnSISnNc6wVupRDCbiF0le8vS3mN450Txslfx/FgmyAnD0oEQt1cDKD/F6sk+iGAbfmpK1pTY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KgGObPDa; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CA31C116B1; Wed, 12 Jun 2024 13:58:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718200722; bh=B3wMkmZ7OrCEXcqJWumgkuWRETuK/7tmpwj6d2FUnJk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KgGObPDaAXLSFFl5LJohXuwg2syT6p7JwTpXyKC2dODCSbhI6y90/NWk04DQ0Fcxs yasLlQSJ1ZJJPnfEdhP0ucBMrYsvYak+2HfQpeMVWJCPjvUdW3NQauWM0xlKtqvF6j 1Tr7jqst4yXBgyTWIGXjgUDK19CYXmgNTJvmd6Dc= Date: Wed, 12 Jun 2024 15:58:39 +0200 From: Greg Kroah-Hartman To: Vladimir Oltean Cc: stable@vger.kernel.org, Sasha Levin , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman Subject: Re: [PATCH stable-5.15.y 0/2] Fix PTP received on wrong port with bridged SJA1105 DSA Message-ID: <2024061227-agony-washable-111e@gregkh> References: <20240531165016.3021154-1-vladimir.oltean@nxp.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=us-ascii Content-Disposition: inline In-Reply-To: <20240531165016.3021154-1-vladimir.oltean@nxp.com> On Fri, May 31, 2024 at 07:50:14PM +0300, Vladimir Oltean wrote: > It has been brought to my attention that what had been fixed 1 year ago > here for kernels 5.18 and later: > https://lore.kernel.org/netdev/20230626155112.3155993-1-vladimir.oltean@nxp.com/ > > is still broken on linux-5.15.y. Short summary: PTP boundary clock is > broken for ports under a VLAN-aware bridge. > > The reason is that the Fixes: tags in those patches were wrong. The > issue originated from earlier, but the changes from 5.18 (blamed there), > aka DSA FDB isolation, masked that. > > A straightforward cherry-pick was not possible, due to the conflict with > the aforementioned DSA FDB isolation work from 5.18. So I redid patch > 2/2 and marked what I had to adapt. > > Tested on the NXP LS1021A-TSN board. > > Vladimir Oltean (2): > net: dsa: sja1105: always enable the INCL_SRCPT option > net: dsa: tag_sja1105: always prefer source port information from > INCL_SRCPT > > drivers/net/dsa/sja1105/sja1105_main.c | 9 ++----- > net/dsa/tag_sja1105.c | 34 ++++++++++++++++++++------ > 2 files changed, 28 insertions(+), 15 deletions(-) > --- > > I'm sorry for the people who will want to backport DSA FDB isolation to > linux-5.15.y :( Now queued up, thanks. greg k-h