Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp907662lqt; Fri, 7 Jun 2024 02:15:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWdYVNA3Xb3zcfKnNJrt42AkEFxNJx8CRzKoz2T3ynd1uPfq2njRfM9+HWf2nETA9woaiJotWUEG/+rudFsX9EmfMpH/Am72riqQdavbA== X-Google-Smtp-Source: AGHT+IEvQ8ekA0zkVM5CpjiEVw88a0DF6qnLs7Hw8FD59Wzy5/yrLWEqnCK3NT+dm2C8Z8WkXfIL X-Received: by 2002:ac8:7f81:0:b0:43d:f92e:6299 with SMTP id d75a77b69052e-44041c2a348mr24187771cf.4.1717751700365; Fri, 07 Jun 2024 02:15:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717751700; cv=pass; d=google.com; s=arc-20160816; b=bR1ME2VHGHD0C+/ZM0razJEjaowez+/oVkGMOkgRBNCqVDmowIwA8VLTROg+d3dxLD O/bqwV9lWsXMyZrooEI07yWNjD/DU6sIRX+q1lGzAzksUAonFVNelqdUVM+R9QzYkTGY i5vYofid09YqQbfqibBhzgWVB7//EhYtqp0AAUFhE+Q5WfHYGEPQB0Y6olkQag7ICx2O EksJRkrQDbg6d/1ct/S7Bm9RNnlMn7IJExqZFAOrhRSMDIdIGIFrwQGqCfLExR4XzTze rz8PtWugrrBJAt1FGsDpbf8kAe3bCH9nNnHvV7ZzET6Vfrw+J27Y8KS+JDZQUfP5WOY9 a17A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=cH3JNZ+ofwZaBIUkuSYTMJjaGGVzDFJZcT+TVGds2Ik=; fh=Jd2SvQH+M8p1zhg95f+rPFKYTZlwNfm1MQ0j2pCDAAc=; b=j4uw1/eVYRNXymGUo9srMNq5r6hzYauIzBEg6Jf2WoDecPaMO2IJdBlJWXRz0iAU0D 3U1cr4JmLLcqqsOAMRsYBelTp9Qs7udO4DWmSUmdF5MLcBGnNM4iyC4DAmf26c5NKpTm a9pB6+QxPduxSIwOTRBIecS0Jqh7LMx6DQ7TW7S3Q4QTOJqnKYyUUMtf6QLbrIuhk7zc naqKa7QyUEdsur8C08KT/NaesU8FfN+EjaY3U82+u91122IJikeWKjgF8QQ2b+74vdfu 47S1RKEn8BlGx8/C1JEW40m2Yps2knQk8XRTthJmtLFBL4nWLBKAmV+qVK6atPxqkD5G L2AQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@prolan.hu header.s=mail header.b=JLHm3qN6; arc=pass (i=1 spf=pass spfdomain=prolan.hu dkim=pass dkdomain=prolan.hu dmarc=pass fromdomain=prolan.hu); spf=pass (google.com: domain of linux-kernel+bounces-205696-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205696-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=prolan.hu Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-4404ba0f84asi3240191cf.564.2024.06.07.02.15.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 02:15:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-205696-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@prolan.hu header.s=mail header.b=JLHm3qN6; arc=pass (i=1 spf=pass spfdomain=prolan.hu dkim=pass dkdomain=prolan.hu dmarc=pass fromdomain=prolan.hu); spf=pass (google.com: domain of linux-kernel+bounces-205696-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205696-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=prolan.hu 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id D9E9F1C21037 for ; Fri, 7 Jun 2024 09:14:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7288C15ECDA; Fri, 7 Jun 2024 09:13:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=prolan.hu header.i=@prolan.hu header.b="JLHm3qN6" Received: from fw2.prolan.hu (fw2.prolan.hu [193.68.50.107]) (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 2786715E5BB; Fri, 7 Jun 2024 09:12:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.68.50.107 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717751582; cv=none; b=U4JHtzZOMyLO2+w8ClWbO2SXK2BFrweVwxKOB5NNoQsyoHnx9Paw29IPVqJE0dMhIUtyG7DPZ2yfvdTZDPYbK1HNab3G+Q1G7Yf4HEU8in7Rh2jM/6ugpnuYVR1KpscG2Ll66gXoMDMJ56NOlLnwURZygOX04q5YUcKt+drkfKs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717751582; c=relaxed/simple; bh=CpoWk9tqECkn4nbQhMbf4yMd845I5p9Btv2YBKK6sMU=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=ovxoxl9wAnmsAo7HG+Ydlck71sC1oIQD6TJ2+5m7+swJ7syQ/9syZsNAKD99zsNxfeMJfb2x/My2ZOR6vPr/GcXvY20s0jCtse9ma6Bd0UJVaSiJuWK+aJkBiOW3+3z6xlWKv3xHXXlwOCH9aCifmA+QLKwRumLjHdJonnxwmRY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=prolan.hu; spf=pass smtp.mailfrom=prolan.hu; dkim=pass (4096-bit key) header.d=prolan.hu header.i=@prolan.hu header.b=JLHm3qN6; arc=none smtp.client-ip=193.68.50.107 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=prolan.hu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=prolan.hu Received: from proxmox-mailgw.intranet.prolan.hu (localhost.localdomain [127.0.0.1]) by proxmox-mailgw.intranet.prolan.hu (Proxmox) with ESMTP id 03306A03B1; Fri, 7 Jun 2024 11:12:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prolan.hu; h=cc :cc:content-transfer-encoding:content-type:content-type:date :from:from:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=mail; bh=cH3JNZ+ofwZaBIUkuSYT MJjaGGVzDFJZcT+TVGds2Ik=; b=JLHm3qN68bCyKXUsP5w0jTBP0MxLRvTRsqPQ hUtL+ZBZENRQwfwtxXvV8qHm97t09Ae3c9iN58LavCrXU4rrxzg8gu8RhS14hhtN tLgAzJmrSa7lh0gSbb7fu9Z+DDb50icbhSG6lSxYdf+OHAPO3ulCaU57p6pZL0LH FL/m7YK3yMzPZeMMq/vOhNJ5we/t/sgSc9cAfUKF7D+RuASp7xxnKFJCs3ALG92E FQNT52quraKXwRgJ7fPFtRIoquB6O+pEgxJhKy94N4B1RlXRNzwGSNmVfiyOjfep cZGta+0QVbZokmsR6FZVDDUMKN8KuBu2XskY04YCT0tqxNBJaK21nfoB29ruRa6J IEJyGrNkCL/iIyhOKuGg3cErdg+thzA0lcO434HUW682wapQCkNCgIEgoMbBmB8M TIAU5fCZXVmtstkerrUOFQtTUe4aDu6TGmjhOLP+QlSPS9UPe6ZDn1wYeNvZy8om LXmigJly3R8Mklt5zJyXNwAzpLbBLdhs/Zi9Vo0fJMH276xonCx4uMAtF8VfQYo4 CU80fgaQ6rbJrLE51OCy8qLSuGuwNrQXSYbj85X+TbCX4OIxmpbwExNa0Z1ajRDR EQ8cDsC6EH7x4Ya/Cd5+c60NY3uaYOsZ/PDk9S/7gSAyWSxOXWjh3daOLBVz+hFG wMCMzZ0= Message-ID: <8be22ec7-0d91-46ba-b45e-4499b547a8d3@prolan.hu> Date: Fri, 7 Jun 2024 11:12:56 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] net: fec: Add ECR bit macros, fix FEC_ECR_EN1588 being cleared on link-down To: Hariprasad Kelam , "imx@lists.linux.dev" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: Wei Fang , Shenwei Wang , "Clark Wang" , "David S. Miller" , "Eric Dumazet" , Jakub Kicinski , Paolo Abeni References: <20240607081855.132741-1-csokas.bence@prolan.hu> Content-Language: en-US From: =?UTF-8?B?Q3PDs2vDoXMgQmVuY2U=?= In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: ATLAS.intranet.prolan.hu (10.254.0.229) To ATLAS.intranet.prolan.hu (10.254.0.229) X-EsetResult: clean, is OK X-EsetId: 37303A2945A12957627061 Hi! On 6/7/24 10:32, Hariprasad Kelam wrote: >> FEC_ECR_EN1588 bit gets cleared after MAC reset in `fec_stop()`, which makes >> all 1588 functionality shut down on link-down. However, some functionality >> needs to be retained (e.g. PPS) even without link. >> > > > Since this patch is targeted for net, please add fixes tag. This issue has existed for "practically all time". I guess if I had to pick one commit, it would be: Fixes: 6605b730c061 FEC: Add time stamping code and a PTP hardware clock I don't know if it makes sense to add this ancient commit from 22 years ago, but if so, then so be it. Bence