Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1863756rwb; Tue, 29 Nov 2022 21:38:38 -0800 (PST) X-Google-Smtp-Source: AA0mqf5A49X/9LDAKq/K3Ahcb04Jz4oD+iqrTYaHJUlBKXaTtIELO7UnL+YtFz+CIcMEpl6dWyfD X-Received: by 2002:a17:90a:3d49:b0:213:9458:8a93 with SMTP id o9-20020a17090a3d4900b0021394588a93mr69989512pjf.233.1669786718005; Tue, 29 Nov 2022 21:38:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1669786717; cv=pass; d=google.com; s=arc-20160816; b=mhdQ+SgipUhq3NBcJVQARnsySwSxoHBrMIdiXM+rmwce5fHGgrHh8gEcR+bVI1j3o1 nLzHzCAUPfL8cDCczZ2Rwn7yyIOzyuBKJHQrKmmGV9OqliQDQtQxU++seUUqDDjfc+Gf NsCaO2H1ba0Kxmm6LXVlt2i1/Jc4iatUKMoIxcPjQwsQgexOqAcQiBXrpr0O2/ipi0qw ZnsXu7iyRrfPxfbqfIm9yBZGIBfWkUGKoNWMM9FojbKoQtOFgnSHfou/zbjs3HHgrZyU rHR92Df31xnGts1eKtNLQCJSZ5SKKJQ8Ac9jGv7kSmy4PMDbmbpP488KHdrElAVIehHa gP7w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature:dkim-signature; bh=lcaczI02HsNe1Gv+DvlnKGFbDm0K3dbGH33Q25Bn9XQ=; b=0PvtNfRQ26DYR0epav8z9+aHWYneO7cklSRNUUtjNzrsigZ+5hbCbgLDvQPjVwNDMF 3xaVsASj3AUOGFIVRfkERnYo3u4Qp5ChKYO7cPk7ryFNvQl/2xwoYe+6ogjDWqbPbGKl vHSkQlVcAksd4FquV9BcggUibdOZotrFaEdd7LBpBUPUk+RmDbKs/dru8rVPZ2FvKk0p empRJSq7ywmCYrkqEm2h2szle9MH+f1f1LeVUMrYHVp2vJrnNkUxpwjuceZliWugNg2E mW5lAvSELaQViFDZRGCaal3CR14BLMuDtH6qz3l7TUCo66i8QaDTt91l8IXnR28zROFr 6nYQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=zfSqc9wO; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector2-microchiptechnology-onmicrosoft-com header.b=csbQ+Bh0; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u18-20020a17090341d200b00188ef298718si396870ple.351.2022.11.29.21.38.27; Tue, 29 Nov 2022 21:38:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=zfSqc9wO; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector2-microchiptechnology-onmicrosoft-com header.b=csbQ+Bh0; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233086AbiK3EW7 (ORCPT + 84 others); Tue, 29 Nov 2022 23:22:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230293AbiK3EWz (ORCPT ); Tue, 29 Nov 2022 23:22:55 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E461A18F; Tue, 29 Nov 2022 20:22:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1669782171; x=1701318171; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=lcaczI02HsNe1Gv+DvlnKGFbDm0K3dbGH33Q25Bn9XQ=; b=zfSqc9wOiGYtCLgZe4VuCWurFRl7wQeujgz2eAlA4lW9+RfV3H4aTys9 CK8UJY8xVRmjOi9rF0+8Hkd+gFYrFveou3F+gIe4ETBN7hkmDTQMrQiUf zevG/kZxEoMG5+z7PRzhxjc7mGbWkHmjApteGmH9UAyhVuRrUeDarxTjD 51S26t3ePzqq69IpGzQjgnSBp2slUgEUOZyj61ibMrPyzvM554xpGDT+g BZ/SMgrLw8gHK0CfbASD1XrgYexuvFhi7wGIuLE5Br12CBEjFgHiS26Od lGeMq+NxQvYT7bcTo57LzF25qMHrbF9fVIAVm2NSLDS4O3vxl1Rsw3X13 g==; X-IronPort-AV: E=Sophos;i="5.96,205,1665471600"; d="scan'208";a="201959400" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 29 Nov 2022 21:22:49 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Tue, 29 Nov 2022 21:22:48 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12 via Frontend Transport; Tue, 29 Nov 2022 21:22:48 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iL6zjmHfjkhRcBfdJLVPgYFFXiyyCKdLln9aOMFsi4j1GiaN4UKIl8SO3a6Tpa38wnOSUJofRh2rZbu0NCafCZ6MLZq3/nWC17Ms6eMBU+KWEV6fG7sqMDhf15ZtyiTz/rP0n1SDJnWVtNdzQp56WOvNoFONnQK3oRss/mUqBBm7Kymq4xBg3ags4+kPfndBYOeFw0/LJ2JR4YRKL2s7XLsUPw+xO9l+BeCXluC/Brh2w/mc3Lc76mQ32Pflrp9q8IPoDs4a+YaBFVvMGodChTDfH7fBYOUcRuLWCYGBVnCUCAgiZ2IJ5scH0gdYFujlCjzKhJUvDh/wOEWR5NBWmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lcaczI02HsNe1Gv+DvlnKGFbDm0K3dbGH33Q25Bn9XQ=; b=Izji5jBWmexDddHFhYoW5LqhmKoLIYODLjdYcIg6u5dT5lxjY2a7SbMpucm+7f7aruNhKjDN5npC7XMkpBFt2eTzrXKF+CexNAT+HdEV4aTCEH2Ijg/GjgLP8zVMtps2c/dBQEZbfIYhsnDVxi/2c8eGZS6Z3gTEZBd90gEd0K8F0CWEPbRB7ldgHbkWGu6qwX7quNfCdxvj7/+Yw/GBDBqugEpkpj8m66Tg8geK0yGJ0WhT+fKSW5Zg6E92TEQUz3UF/Bs6+ubK5YYDJm71afmBACnFupZQVwptJoBpI0djUD7zxK5GerNSpm0zRN60+iGikfHfBHtKuwVwRMntsw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector2-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lcaczI02HsNe1Gv+DvlnKGFbDm0K3dbGH33Q25Bn9XQ=; b=csbQ+Bh0GF3st6twCY2cScTdTzfVRJ4tGr6ycpIIMR2dswMtYDRTD4eCulBLf6KTmdGB0YDzyWlCFu61tz7XF5ucInhyJ+isd3P/qAG97cMrR9vwRQ7MHdAQUYLnbrFVM5O4fbwT8nnZQC1KXs5nmWb/VuEfN3wyck8FuKjsIp4= Received: from DM5PR11MB0076.namprd11.prod.outlook.com (2603:10b6:4:6b::28) by MN2PR11MB4615.namprd11.prod.outlook.com (2603:10b6:208:263::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.23; Wed, 30 Nov 2022 04:22:45 +0000 Received: from DM5PR11MB0076.namprd11.prod.outlook.com ([fe80::9b7a:7604:7a30:1953]) by DM5PR11MB0076.namprd11.prod.outlook.com ([fe80::9b7a:7604:7a30:1953%7]) with mapi id 15.20.5857.023; Wed, 30 Nov 2022 04:22:45 +0000 From: To: CC: , , , , , , , , , , , , , , , Subject: Re: [Patch net-next v1 04/12] net: dsa: microchip: ptp: Manipulating absolute time using ptp hw clock Thread-Topic: [Patch net-next v1 04/12] net: dsa: microchip: ptp: Manipulating absolute time using ptp hw clock Thread-Index: AQHZAxTwqsoem8TmskSr7lmTVTJtba5VlyuAgAFJdAA= Date: Wed, 30 Nov 2022 04:22:45 +0000 Message-ID: <743a908be8dcb9a6492a2adeee5f2f9de3eff5a8.camel@microchip.com> References: <20221128103227.23171-1-arun.ramadoss@microchip.com> <20221128103227.23171-5-arun.ramadoss@microchip.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Evolution 3.28.5-0ubuntu0.18.04.2 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microchip.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM5PR11MB0076:EE_|MN2PR11MB4615:EE_ x-ms-office365-filtering-correlation-id: e1f0621f-2d8f-4e3f-9961-08dad28a87e4 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9Y3jxMbTxUXQwN3MPO2ukU+Dk8DWuY4CcLnRLt3yPDBfDPZGpqlkeo0XxPGgReAL+tefdF13gaKUAF8eX/40BrshzcxkVxPbCTCmvZRWZu6+AhZd/XSaKWbPm9LfAeU+yjccglsH08jhUjv/1mF9vt16TLY/wYsioYppV/u7ccPnaL1imut0Okc3YvCfJrvHqOBrBL6aeToikprtLgBpNjKueizA4rdKgyszx5ChNA+we3QFKADfLXHID9K/ivfwlJQtPj6f966ejHRlobiFILTpm1+rj0kdOyhb2zEcHkNNHqHXQIsIq8MkUSKSVLKEXpiP0wL3gBG25WBMC254kednByxtsa1GTcuQjrn3V37OGqkIyDl5Yj8ZAwdOJU6jF+rzdQmqdxmBrXCmXXuejiFCDoqaZaxm/4ok3iO8ypgvlLu78h/PfmoELLkpgFq3DTxERm6b3w9BtWUaQIC6kDYqMLMUOCXkw5g+pE6jRXI+bMZ/PMsc6pmba8NF5IJ9VBltF/pVOft4A9qzplvDbR1jU9mHBlAWf4Y36SwJXSPDU9BqZ58BPKi7NRKcDkudOnNxACOsPBqhOMNV7jCPM2MYOuHjRjekig/5RGlyNyhv+ptYW6OK9mUQR6Av1XcQ46Y1O99xbT+3l2b9uLkIh/i614l5wwA+56IaiIy1WBxQOBwvJ/8d4SLe0bBqdWMRyfUkYgAuevSz/Tc65DpAQ9hSRto6q+q1C9YUgGxOLag= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM5PR11MB0076.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(136003)(346002)(376002)(366004)(39860400002)(396003)(451199015)(86362001)(2616005)(71200400001)(122000001)(41300700001)(6916009)(6506007)(64756008)(54906003)(316002)(26005)(6512007)(38100700002)(4326008)(8676002)(66556008)(66446008)(66946007)(66476007)(53546011)(76116006)(91956017)(36756003)(4001150100001)(2906002)(186003)(83380400001)(38070700005)(5660300002)(6486002)(7416002)(8936002)(478600001)(99106002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?QmtJZFdwd0ZNM3RaT0tFa2VDUmxiTDBrclVzWHU3cTdrYkNwQ1RmdFlhTHN4?= =?utf-8?B?SlFyaWpEUDRpNVRLK1d1YVRyUTYzRWs5eC9jaUJqSVFhVzFzcE01aXRPMUZC?= =?utf-8?B?Qlh4eTQ1WjJndW9TREsycnFOYnNhVWUxbkNoWDNaLzZtOW5iUlhwZG80WUtD?= =?utf-8?B?eUswNkFQUjdUUG1tdzJFZCtUa08vaC9NUWpRS09VSjVRcEllYndFMSsrSEJs?= =?utf-8?B?a3lkWmQybHQrZ2pQZjFKRm9OalBNOGdlbnRjWEtjN1FhV2RkQ3VKQ1JQY2tr?= =?utf-8?B?Z2VFcVg4YkdGOTJTbDVVdTh6RGJpV0ovQVdnWVplbVc3VS9XNUVhUVhmVUNK?= =?utf-8?B?ejZldEZKVzBzZEc2RXFicnZhZksxQ1pydlZmVDFIVzhVa1JscjRBSm9FcXdz?= =?utf-8?B?b1ptT0lXOWpCTUFYMmF4Q0VUTnNscjZvdFdwMmJSenpNZTJqTnJ1M0FTdGNB?= =?utf-8?B?S0t6NmhxcTV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= =?utf-8?B?NjdMMXExSUV4V2J1MDgrSThLbGNmenRvMWc1eE90WTFNWHNxRkxJR2ZIa3Ny?= =?utf-8?B?NVVQRG1QNUNYbThxQTNaQ2dPMXlrMFNJdTVVT3RQWlNpbVZmajNOWTFBbUF2?= =?utf-8?B?TlVpZU9tc0QvdFVSakprOHEyd2NUUTAyb1lxR0xNK0lQS2RWZXZlYWZ5TUJQ?= =?utf-8?B?clFRdUpzUG5oRWVhOExGZ2tpLzE3dmJXekJnRnVpaHl1MWZGUitKRThTaGZK?= =?utf-8?B?VkZNZXp2UlJpSmtxQkxLZW5hR2VPc2JYN3JuWmJRZVk5cFN0cUtnVlVRY1ky?= =?utf-8?B?VkI1LzYySWVFQVNhL0FNK0hzRGJpcUYzM0MveFdsWUNkekxBdlFpNk5XTHNM?= =?utf-8?B?Y2dBSWRNcHV6cUhwR0NZWFBYaFltVTlQbWhQdERrV3Y4K0g1bWI1bXIvbk5O?= =?utf-8?B?UHhZVmp2aGwzS3ZlaFhuUGpzYVEvKzVqUGJEckdqaTFoMmVFRE1jWllTMmll?= =?utf-8?B?WWllQlo0V0xPNGN1SThSVUNJNmpaNDNuK1ozaE4rK3JKQWFuOUlacDAzbjl3?= =?utf-8?B?VjhVREM4b2ptcGtyVlBzWWFxelNPbE1ZeFZPSGZzL2JSUTE1MlZ4eFZkamli?= =?utf-8?B?Wkp0QUgyUjhNS2s1d05vZFZ4TW5DR3YwSUpPR3gzVVdhUmYvb0VaWGR5cWpD?= =?utf-8?B?dXdsWS91Vmg5Mjdrb1NXeGhRUndJZzR4VldwOU14QnZMV2xiNkVtQ2U4YXBz?= =?utf-8?B?c01FcGJJN0N3LythelFYeUNvRFRrZXByalFUS1pHYzJnMGRNYi9rVlFiWHZp?= =?utf-8?Q?sfxGWGvlsV7GGq2yfmDhCcg=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <67286DD0E5A9F242A7D47F9ED82243CB@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM5PR11MB0076.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e1f0621f-2d8f-4e3f-9961-08dad28a87e4 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Nov 2022 04:22:45.3103 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: rcKtiIMPaS0gasVXsZJuvIEtN1oyJ+8hEk45yv0283kJH9ksXXnuFgROyNA6KcUQLB6NhObjNZcnnRNmciVZGNOL4xY1RH4RGylr2ZhOxYI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4615 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgUGF2YW4sDQpUaGFua3MgZm9yIHRoZSByZXZpZXcgY29tbWVudC4NCg0KT24gVHVlLCAyMDIy LTExLTI5IGF0IDE0OjEzICswNTMwLCBQYXZhbiBDaGViYmkgd3JvdGU6DQo+IE9uIE1vbiwgTm92 IDI4LCAyMDIyIGF0IDQ6MDQgUE0gQXJ1biBSYW1hZG9zcw0KPiA8YXJ1bi5yYW1hZG9zc0BtaWNy b2NoaXAuY29tPiB3cm90ZToNCj4gPiArLyogIEZ1bmN0aW9uIGlzIHBvaW50ZXIgdG8gdGhlIGRv X2F1eF93b3JrIGluIHRoZSBwdHBfY2xvY2s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