Message ID | 20240207060854.6524-4-lakshmi.sowjanya.d@intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-55996-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp2031270dyb; Tue, 6 Feb 2024 22:11:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IHGxigtZTeQJ4FFXO8IrxP5y5zUBiqAYvIGglGXRdhXLwagbIt2ar8XaHqwIXj2H8ddRIv7 X-Received: by 2002:a17:90a:2ecb:b0:296:84e1:de64 with SMTP id h11-20020a17090a2ecb00b0029684e1de64mr1692579pjs.20.1707286292250; Tue, 06 Feb 2024 22:11:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707286292; cv=pass; d=google.com; s=arc-20160816; b=JD5E7/edz4XmRvWC/afUaNfyBxdVPbzMLOuGNl56ZaTlczSawiI1oy7Y1PGte0KFPT OtseXo/wEDRzlTsNoQvZPYPDn13Bo95RnXYYz8CChY2i3o9nREi9xWUahMSBzL+3oibW 2kKwqFCszgTvsUcXIaULsdT3TRfIDfhlIVYv/1/c0qWEbLK7dZ+bXewrIsAXhuLJU40m 2nYBCHB8Co6FRcJBGkoB36hd4J0DGiVujYboJ/M4p+P/n7qOAVVoVTqAJEsQfCmxOKgd rcR0IMI4Of2qPZoVQang+VkNkNG8yn+jpzKYDuPJWlR8okgpk43WFANqCtpe0oSu6d4q YN+g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Q4FnrLrs9MFBQANCWt/hHLlfiWEcHo3QaAbd3iVCI3Y=; fh=67KiYTQwzQv987pNlY2dj/0p8OQXGrKcNAwX7TVnFxE=; b=XOqfF4E3iMPCkoq5ORzRkblJldEBqjAc3JcJCU/wyPM0TR9QuvB8LL/QAJdAsRy73w rCFECbFGRcvpoUCGyGv2Rx7VcwLHd7yCMCY1aAWbwglIgB1MC8MUjv9SeuXAcaUcxGFs c5h049JrOG4Zg7cK/R13ZfqJNYu11DWCYU8fpAv6MXnR82FN69QHxfhmWgq72/EIdvel tH2QhzO9wepA3FgsUWfxt/JSKCg3r1qxVKuvgOG6re6xXuy8EzsXlsl0RQIhKi3iqoT5 c9qP6/X45yzAjGKK/wgs/3k49UFICEuIZceM5AtiHGvp6ZOAQKC7OLo9uXiMHnAiB05D A4WQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hMmfSPYN; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-55996-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55996-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=2; AJvYcCU5/1oP9Uf0K/lsUSRzTH2UX6hCkUMj4aBApI08TeeVfUMCziWrJq4TjHeVqmi2syvY1MV/jBJe7hGS7OkFbcYm5Sun9A== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id hv19-20020a17090ae41300b00296a47abbc0si724921pjb.0.2024.02.06.22.11.31 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 22:11:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55996-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hMmfSPYN; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-55996-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55996-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 71921B27E50 for <ouuuleilei@gmail.com>; Wed, 7 Feb 2024 06:10:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 55A71200AD; Wed, 7 Feb 2024 06:09:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="hMmfSPYN" Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) (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 E92871E883; Wed, 7 Feb 2024 06:09:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.55.52.88 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707286164; cv=none; b=ZV8uqN95kKEszjAN+tzGZBU3Fzwa+oQ/xB9dgwgeSo883F7mfhQhDdQcsTD5gw4eD8H/M+ZFWr7H2fbEQNkB1Koye4qAUxK16goJ+JtoiFcrgooQq01eKtfV4FtJp7zpC8X6stZyv0m8ehv/J/8PzhDBsPbrxCVgJ3EUAn0X0Sc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707286164; c=relaxed/simple; bh=9bM3pFe73YGrSI7VbFylL5q703Z79WRvHVA5lUksMX4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=rCO5sh60wOyqE4DOvtgTa/XZd0YdnhDCX132f4MPPQngPYluEZuks27AgVyaOna1utmirBHKqb3isGWHaqie9zyyQbCDSrXmaEfJ1KIvi4bi+FxDPzkJ0uL+zP+pUv1PEh1FAcHmK0VzMq3kjm6xSVo0AFNEltlxNVW5wP++jak= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=hMmfSPYN; arc=none smtp.client-ip=192.55.52.88 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707286163; x=1738822163; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=9bM3pFe73YGrSI7VbFylL5q703Z79WRvHVA5lUksMX4=; b=hMmfSPYNj2tJt+IwWSUPD9lj5ZcyZ/N2uA/1pg/Q+ZWXh9R9BMWSXquq K8sjeAZvectoQxu31DVcQ38K7QecgY65XgewFQn7a0SN+r3WfYcVfWzkn W4io4jILZb9/+mbS/bAKVIpPbxPwOYeH4UeizvvMKE39gdTWOeygGpmSA xwr7Xb8S3NvY0ti/u0CwCedDvgLI6YkCQ8tciSYRthPc/6GbPMAB50DbS 00BXo4KgFr8llMc+3VZf28jK3RjYdRNSAZiwGkc5wx4cGy3/RThMN51iZ yyr8q+vQRq5ctkpbALYhn/964oJREleMB2ZhDsKwb67kUbRDYs8mmSxSS A==; X-IronPort-AV: E=McAfee;i="6600,9927,10976"; a="436053970" X-IronPort-AV: E=Sophos;i="6.05,250,1701158400"; d="scan'208";a="436053970" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Feb 2024 22:09:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,250,1701158400"; d="scan'208";a="5849741" Received: from inlubt0316.iind.intel.com ([10.191.20.213]) by fmviesa004.fm.intel.com with ESMTP; 06 Feb 2024 22:09:16 -0800 From: lakshmi.sowjanya.d@intel.com To: tglx@linutronix.de, jstultz@google.com, giometti@enneenne.com, corbet@lwn.net, linux-kernel@vger.kernel.org Cc: x86@kernel.org, netdev@vger.kernel.org, linux-doc@vger.kernel.org, intel-wired-lan@lists.osuosl.org, andriy.shevchenko@linux.intel.com, eddie.dong@intel.com, christopher.s.hall@intel.com, jesse.brandeburg@intel.com, davem@davemloft.net, alexandre.torgue@foss.st.com, joabreu@synopsys.com, mcoquelin.stm32@gmail.com, perex@perex.cz, linux-sound@vger.kernel.org, anthony.l.nguyen@intel.com, peter.hilber@opensynergy.com, pandith.n@intel.com, mallikarjunappa.sangannavar@intel.com, subramanian.mohan@intel.com, thejesh.reddy.t.r@intel.com, lakshmi.sowjanya.d@intel.com Subject: [PATCH v4 03/11] e10002: remove convert_art_to_tsc() Date: Wed, 7 Feb 2024 11:38:46 +0530 Message-Id: <20240207060854.6524-4-lakshmi.sowjanya.d@intel.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20240207060854.6524-1-lakshmi.sowjanya.d@intel.com> References: <20240207060854.6524-1-lakshmi.sowjanya.d@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790219431294837739 X-GMAIL-MSGID: 1790219431294837739 |
Series |
Add support for Intel PPS Generator
|
|
Commit Message
D, Lakshmi Sowjanya
Feb. 7, 2024, 6:08 a.m. UTC
From: Thomas Gleixner <tglx@linutronix.de> Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Lakshmi Sowjanya D <lakshmi.sowjanya.d@intel.com> --- drivers/net/ethernet/intel/e1000e/ptp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/intel/e1000e/ptp.c b/drivers/net/ethernet/intel/e1000e/ptp.c index bbcfd529399b..89d57dd911dc 100644 --- a/drivers/net/ethernet/intel/e1000e/ptp.c +++ b/drivers/net/ethernet/intel/e1000e/ptp.c @@ -124,7 +124,8 @@ static int e1000e_phc_get_syncdevicetime(ktime_t *device, sys_cycles = er32(PLTSTMPH); sys_cycles <<= 32; sys_cycles |= er32(PLTSTMPL); - *system = convert_art_to_tsc(sys_cycles); + system->cycles = sys_cycles; + system->cs_id = CSID_X86_ART; return 0; }