Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2137584rdb; Mon, 9 Oct 2023 14:03:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGfiRkfPLmMzHtAp235+CVwBFF3DVrFwdLh95HJ9qRTBK4FcLtuR+/1Sw8/FanBgTfHxhwa X-Received: by 2002:a17:90b:4c92:b0:268:93d:b936 with SMTP id my18-20020a17090b4c9200b00268093db936mr12560524pjb.18.1696885402893; Mon, 09 Oct 2023 14:03:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696885402; cv=none; d=google.com; s=arc-20160816; b=1DllF/sxicHD3Agw9O2tk4llTzisCcMvjWAjGAAMu097oEab9cCdTRuSNAwS5QGNZl XAJNq2qjY6bgEHvHoSZ48cM1jJweN/RiKu9kdy8fLOSyRT//2N2M9RmTy5njtdeNAB6/ 0sHDgc+lI+v5aLvleo5eYGaqWYrpTSmTNcOBSSTC5dfoqog2plZ/X1I5xWX4TxhDaqaZ NzwiIOKt4CXK8vRSqk+VV0bxpIHy1KzA0BqQrcZVp8xkDaNKz5A+Sj11I11i2PujTIBa mUjkoavVgJIgg1kRVmnFpga3swG3ZsJQBBRjnpuYJDi7KI3z0g5H7iQAGWsmH+PcYDvH v07Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=os7QhAKub4KIthm7Pb05vmG1pc3XAljYVBVgNXJPWvs=; fh=hUBzOvYhukvOC/sbKg3LKCPw7tr1DL9hAv85Ll2pv8c=; b=tn7sR+eYt9+4qzN5gdCga0UV3dtRglHahJfbaAWRdMU5ErfjoXbgAc6Wkvz7HbKNq2 U4uj/vDprMUNFaa9N/5cxc0nuCs6h2dHeq4FoftjFlCT50dF967fZp6kKLK500I1eas6 U4qvA2Lk4LzzaZrhi8L/tZdszGx5DuJ8sq+8/8JXs7n7JxKbcj3oYVjtcfBGkDdwIsfU vDI6E8HrPKWJE8Tk8TTqeCpikw9m59mqjtPDXgZjPlInK6AEJ3Yj1wKqYZmtLWueW1F0 lWYuPdztHzT6E/+aPDsL/tC/YOjiyd9BLGSyT6CeZW4VuHpibGFWUgQNYNcf23gJL96c 6V1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bwH7MeQH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id l4-20020a17090ac58400b00278f2f6b412si12302912pjt.164.2023.10.09.14.03.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 14:03:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bwH7MeQH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 0A70B807C86A; Mon, 9 Oct 2023 14:03:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378163AbjJIVDK (ORCPT + 99 others); Mon, 9 Oct 2023 17:03:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378151AbjJIVDI (ORCPT ); Mon, 9 Oct 2023 17:03:08 -0400 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19F50EB; Mon, 9 Oct 2023 14:03:04 -0700 (PDT) Received: by mail-pg1-x529.google.com with SMTP id 41be03b00d2f7-584bfb14c59so3058625a12.0; Mon, 09 Oct 2023 14:03:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696885383; x=1697490183; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=os7QhAKub4KIthm7Pb05vmG1pc3XAljYVBVgNXJPWvs=; b=bwH7MeQHRw1XFbkokWtrNqX3zzyQ1eHixqM66/wVMpaE+apb29VZdCCn38ITlKSxmr VPmRqXTHo3QTrrK67zJxtXQ5mopESqwzyKuYWSyiCcwUJkZNLs1neFQIJnNHS2gOndYr wilrgzcerO0pgthQi7DrOmXhSn7LEpcZzcngXy7hjAc/D2JK8eq82AnkY277kEkHAfau VnwdS3xHO+MukOlFPsUS2Mpv7XzOSsg9dbWkQZdtYsjnwQQWeVF/blvIiD/bPJ2yaa5s Z3lG351t4/YWaUnV4YwrgNOs5jytNnVktO0OijqLrvVr8A0+IVMeg/Ro9ROZwSLYIyX7 SqJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696885383; x=1697490183; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=os7QhAKub4KIthm7Pb05vmG1pc3XAljYVBVgNXJPWvs=; b=L2g5Et6IsYKNXHfdJELQXvj8/W66DxeV6VVg4KItb+m1qaY2528B8ypf9C1hwKqIvK Re5BYZGWaggZU393+JS6H/f0/yAyvKfo1zfeOMDLPQtZ1BzfBo1K5E0vzpSKfuRx0UEz avZL3mn5L5W1ZJW94bTIM2reVXtqmxubxJuDYL2zIzr46aX+mqY22Qz3jMzx6pYblt3A X4bdufVJnHZKqpvNkJOgDFYccb8rZ0H68wcjYn1ZsP1QzL1pkoFQ9Y7ItUkAOMGJZPV1 FD7v8QsBVrmVCZRyQMySulv4NtLway8j+rM2SWmIXi30+TaK6lasfZvvQW9y49zQzp+x yoHQ== X-Gm-Message-State: AOJu0YwfULdHclwXyuvmJx9eafGC+/oaXH70qEm71Y5bVRZQfZjcJFyh CJgA0Q7stTD0p9OhTdl3wLk= X-Received: by 2002:a17:90b:4f46:b0:267:f9c4:c0a8 with SMTP id pj6-20020a17090b4f4600b00267f9c4c0a8mr13248485pjb.4.1696885383485; Mon, 09 Oct 2023 14:03:03 -0700 (PDT) Received: from [10.67.48.245] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id e2-20020a17090a630200b00277337818afsm6484585pjj.0.2023.10.09.14.03.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Oct 2023 14:03:02 -0700 (PDT) Message-ID: Date: Mon, 9 Oct 2023 14:02:58 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v5 01/16] net: Convert PHYs hwtstamp callback to use kernel_hwtstamp_config Content-Language: en-US To: =?UTF-8?Q?K=C3=B6ry_Maincent?= , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Cc: Thomas Petazzoni , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , Jay Vosburgh , Andy Gospodarek , Nicolas Ferre , Claudiu Beznea , Horatiu Vultur , UNGLinuxDriver@microchip.com, Florian Fainelli , Broadcom internal kernel review list , Andrew Lunn , Heiner Kallweit , Russell King , Richard Cochran , Radu Pirea , Willem de Bruijn , Vladimir Oltean , Michael Walle , Jacob Keller , Maxime Chevallier References: <20231009155138.86458-1-kory.maincent@bootlin.com> <20231009155138.86458-2-kory.maincent@bootlin.com> From: Florian Fainelli In-Reply-To: <20231009155138.86458-2-kory.maincent@bootlin.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=3.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 09 Oct 2023 14:03:20 -0700 (PDT) X-Spam-Level: ** On 10/9/23 08:51, Köry Maincent wrote: > From: Kory Maincent > > The PHYs hwtstamp callback are still getting the timestamp config from > ifreq and using copy_from/to_user. > Get rid of these functions by using timestamp configuration in parameter. > This also allow to move on to kernel_hwtstamp_config and be similar to > net devices using the new ndo_hwstamp_get/set. > > This adds the possibility to manipulate the timestamp configuration > from the kernel which was not possible with the copy_from/to_user. > > Signed-off-by: Kory Maincent Reviewed-by: Florian Fainelli -- Florian