From patchwork Sun Sep 1 11:27:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13786394 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2050.outbound.protection.outlook.com [40.107.236.50]) (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 E08F2153800 for ; Sun, 1 Sep 2024 11:29:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.236.50 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190142; cv=fail; b=Xh07CHkJeAI80krV2aKhcWICrBXZg85qkkNVwvrAv9IC+2A3I9EcDDDP6SFwRQR0hh8pVtN92gKGZGYTYhed3FnV3sqMYcN3ewRs4SXazhtZ1ke/mCu36H5wguUf5ocIzT9yBcw0R0S/LRI97dGOsO0nw8ljkTWeqEGvSTST1R8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190142; c=relaxed/simple; bh=9VYc0rgPv/B7kKkKdTACOXXiU++xD9/qmg5xGjV47v8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=GXly3F7diEx92HrMMC8coid+fzjOwki5cE34F/YcVm/1NrBRQ4RGeV6K+p+T98L6UYuqn7ujUH3AOTLJOD987vOVXMMf/1TvmaVxgfczJrdOATqLpYEVrf+elCt4UEmj/DAmOR9OaSojFTwTBs4xfx2F2lyRjRx1hg5trsmJDBQ= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=fLPFeGQP; arc=fail smtp.client-ip=40.107.236.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="fLPFeGQP" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=WL1NJgJnHAQiAY60rq/hv02bJWkEzFXdADqvhcNZ6RzwR5EDEiC7d4oFGRUmD04eImmpzRm3vWB0JJcwX8QdDgSROR03TUIsFE+SwsrH10N+sINDDs7zHSaK5YdTcktlN3G9TCQUhCbVVUIq0MPEPBih4ffD18rM4aQOHpe+udclsgcRPri8+jXFhCmxvuk9GD+uk7b6dbacRRwfQsIPDRZBw0B7SgrHtb93x8LB9W8uGLPLaHKaCDEzFDOvPLs4G7zZqD2qZEtfXT50zmjOVnYMUj8tqIXZZkgEgDJ5pM4b2LhMVOFNXMas++5kkYQnTwCldhRr8EZuv81E7zaYWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=grhUbnkW/WAnofaNMCDFFjHhRkq4iVKuMdR0Ra2x7to=; b=GNCSOjZv6rRTDDA+WOpmD9kXNWwd7K9WqOwnDeixAFrxFPozJvBHZflDVNNXotv897bE9Z1DH1olR+IjAKSw4zEHjdtSiMiu78gjLVSr3KzCgbxDtzX/fUBBGohnJPURmRMJlmgZ2uhj77xVysif8GaxwJgsWW7XU4D8u8BctwSazvI/2tfhkaXJf1UA6whIjhDTiApLSz6GoQ7iQJeWV4NtrmKHSLxtWjqK3jBLY70r7vT1Ulp/0WBa3YJyDsn7JTteb4mwOrh4eYBiF6sxXFwM9p0eIT/VrLNGmM/w8k+9nn81Rvyt5E/6bpETElMEU/dGT7yxozAq7k481ROoEg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=davemloft.net smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=grhUbnkW/WAnofaNMCDFFjHhRkq4iVKuMdR0Ra2x7to=; b=fLPFeGQPuPtlOtFCj0vl6ttdiF+MP9lJMCWe3vcROg+eizriC0r6ke3ffn8diWrbN5s22slLJblQDGylLxZ0unrJ/ZHpVteA7fjUvVaj2wxaZJwarFopk5tDFleG1UYzpra0mN/QjTaFGweRr/Z1OG8P1C905m2cl1qYIXIqtqIcXWoMPUzfL2lqLqkyU/3GZmdBDbvK68Cg8fGpR8oWSGqXP+pUDe5oa+GbNTTEVSmhfGheISKZ4LbeYPLI9M+8cyvo5wzt+QO+u+ZUNFWXFfx+EOmm101v6scDteN5oNXLQJiSJtgka/3Wxy9t4fTptAI7D0t4UZvZKPZOuj0CeQ== Received: from BN9PR03CA0085.namprd03.prod.outlook.com (2603:10b6:408:fc::30) by SJ2PR12MB7917.namprd12.prod.outlook.com (2603:10b6:a03:4c7::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.20; Sun, 1 Sep 2024 11:28:55 +0000 Received: from BN1PEPF00005FFC.namprd05.prod.outlook.com (2603:10b6:408:fc:cafe::a9) by BN9PR03CA0085.outlook.office365.com (2603:10b6:408:fc::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23 via Frontend Transport; Sun, 1 Sep 2024 11:28:55 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by BN1PEPF00005FFC.mail.protection.outlook.com (10.167.243.228) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Sun, 1 Sep 2024 11:28:54 +0000 Received: from rnnvmail204.nvidia.com (10.129.68.6) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Sun, 1 Sep 2024 04:28:53 -0700 Received: from rnnvmail201.nvidia.com (10.129.68.8) by rnnvmail204.nvidia.com (10.129.68.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Sun, 1 Sep 2024 04:28:52 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Sun, 1 Sep 2024 04:28:38 -0700 From: Gal Pressman To: "David S. Miller" , Jakub Kicinski CC: , Jay Vosburgh , Andy Gospodarek , Marc Kleine-Budde , Vincent Mailhol , Shyam Sundar S K , Sudarsana Kalluru , Manish Chopra , Michael Chan , Pavan Chebbi , Nicolas Ferre , Claudiu Beznea , Sunil Goutham , Potnuri Bharat Teja , "Christian Benvenuti" , Satish Kharat , "Claudiu Manoil" , Vladimir Oltean , Wei Fang , Shenwei Wang , Clark Wang , Dimitris Michailidis , "Yisen Zhuang" , Salil Mehta , "Jijie Shao" , Tony Nguyen , Przemek Kitszel , Marcin Wojtas , Russell King , "Geetha sowjanya" , Subbaraya Sundeep , hariprasad , Ido Schimmel , "Petr Machata" , Bryan Whitehead , , Horatiu Vultur , Lars Povlsen , Steen Hegelund , Daniel Machon , Alexandre Belloni , Shannon Nelson , Brett Creeley , Sergey Shtylyov , Yoshihiro Shimoda , =?utf-8?q?Niklas_S?= =?utf-8?q?=C3=B6derlund?= , "Edward Cree" , Martin Habets , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Siddharth Vadapalli , Roger Quadros , MD Danish Anwar , Linus Walleij , "Imre Kaloz" , Richard Cochran , "Willem de Bruijn" , Gal Pressman , Carolina Jubran , Rahul Rameshbabu Subject: [PATCH net-next v2 04/15] can: peak_usb: Remove setting of RX software timestamp Date: Sun, 1 Sep 2024 14:27:52 +0300 Message-ID: <20240901112803.212753-5-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240901112803.212753-1-gal@nvidia.com> References: <20240901112803.212753-1-gal@nvidia.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN1PEPF00005FFC:EE_|SJ2PR12MB7917:EE_ X-MS-Office365-Filtering-Correlation-Id: 456398a6-9d75-4e4e-a608-08dcca79436d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|376014|7416014|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: p5hkDH8o72Z1+HbEmVqUTX18HYYGxniSql41tHctOSVwAzVxsJR4zveHxF2iFx+i7MPy3xFpCs4R1Ao4R2zXNBlZplQrOvM+6W/Mn0dqFaJIKbkud7JDDbiVBmcJPSd0n+1NFRxoOrvPxRAzyqNQ0zqHZwjYUuejlG9tZNQelr+5yPHp5yHKmF9Eme3WKj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9y9drsF/pcmfrBBFmiPs0sNSCUx652C7i+s1BYUzoHU3xz+UrLq1xyNUwMCVW8B/ZEMImYtnv7XH5H9ZXLP5LeS0tjvmkLw2d7xC6VorqfClF59GJF3ONWJVfELE9eVtJ5NpYhcM1XbOrlTGUIgwk5aW6yYvoOp3bVw8USwU8ZeE1x8ISRwbCqBTCwp X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230040)(36860700013)(376014)(7416014)(82310400026)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2024 11:28:54.9005 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 456398a6-9d75-4e4e-a608-08dcca79436d X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN1PEPF00005FFC.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB7917 X-Patchwork-Delegate: kuba@kernel.org The responsibility for reporting of RX software timestamp has moved to the core layer (see __ethtool_get_ts_info()), remove usage from the device drivers. Reviewed-by: Carolina Jubran Reviewed-by: Rahul Rameshbabu Signed-off-by: Gal Pressman Reviewed-by: Marc Kleine-Budde --- drivers/net/can/usb/peak_usb/pcan_usb_core.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/can/usb/peak_usb/pcan_usb_core.c b/drivers/net/can/usb/peak_usb/pcan_usb_core.c index 3d68fef46ded..59f7cd8ceb39 100644 --- a/drivers/net/can/usb/peak_usb/pcan_usb_core.c +++ b/drivers/net/can/usb/peak_usb/pcan_usb_core.c @@ -901,11 +901,8 @@ int pcan_get_ts_info(struct net_device *dev, struct kernel_ethtool_ts_info *info { info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | - SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE | SOF_TIMESTAMPING_RX_HARDWARE | SOF_TIMESTAMPING_RAW_HARDWARE; - info->phc_index = -1; info->tx_types = BIT(HWTSTAMP_TX_OFF); info->rx_filters = BIT(HWTSTAMP_FILTER_ALL);