Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2142870rdb; Mon, 9 Oct 2023 14:14:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHYjVHBhPnLw8rcUyVdPwl3ugEdqLCm98dXc72W15XzAHe4Ccd188ecnhKOwMYWnfmQZdSp X-Received: by 2002:a05:6a20:1a9d:b0:15e:bb88:b771 with SMTP id ci29-20020a056a201a9d00b0015ebb88b771mr11667416pzb.37.1696886097050; Mon, 09 Oct 2023 14:14:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696886097; cv=none; d=google.com; s=arc-20160816; b=NeDt5obZfezlhWFyi6LhpB2uSqjOV2Kj0ooc/dvekqHtKmfbQgL0aTpjPMcYp6ZhmC giNURSr6BYrWGUjj0YFJeo6qwXcIKcEICypIJaXc87jCjEm7mulOSDb2arNYu5ekV4Bs Fc/26j928PtYKxjIB2+8HXkCi670Y8syHlJUvN/F9+SOKCWLICuCpI8/HDdeUltERZm1 Kx0mNEJ/qF71Ff6C1FTiYz+AKYNyxdZdttQMXdHP0H5WadfckHzplK6EcXFmTZ1/v7+q KEb7OW/5LUQxiBVAnLplWGwdJjSxbCbR/cj7q6gSBPaNG2OjXSH2qMLzUFGCxEAZ+Uwj UytA== 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=TcXX7RVBze6PtaEVGPwxBuREbw4pOeYlpdgmI3+Ezos=; fh=hUBzOvYhukvOC/sbKg3LKCPw7tr1DL9hAv85Ll2pv8c=; b=YUl9OqwQYZCPr+I7kuT9rnI5aDGxvrKe9nVq/GQnKDQIBCEeAI4gbPHv+LoX3tecIG axmKEkteJkj1i5bbmHj4Z1hOOyfNjSEmxY8JJKz9Dk+I79248ISA9pPSx9SDJPTsz/rd taF9Ns8lUcZYOZLyvYph0yDHYOotYwbMmj9u6tPMuD2fX/K0QbB3k6joyCXDYW4I0L2O 2h9iqCEKzim2nYUjbRxnWEFKBFz1Zgu35y3b9O0Sl05dqXLh9bJcEagYVv6lHqdKYlMF 8Fe9s/kliD819z3N4Bqudp1pSDjNEzy5Pt3lltDx/RE+l2qAkaOh2rIUvep7VghQA9Gx yklg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=C+jT9QNg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id o3-20020a170903210300b001bc2fd76db1si9768092ple.65.2023.10.09.14.14.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 14:14:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=C+jT9QNg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 41BB680E711A; Mon, 9 Oct 2023 14:14:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378645AbjJIVOm (ORCPT + 99 others); Mon, 9 Oct 2023 17:14:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378666AbjJIVOd (ORCPT ); Mon, 9 Oct 2023 17:14:33 -0400 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB98C118; Mon, 9 Oct 2023 14:14:25 -0700 (PDT) Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-692eed30152so3650575b3a.1; Mon, 09 Oct 2023 14:14:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696886064; x=1697490864; 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=TcXX7RVBze6PtaEVGPwxBuREbw4pOeYlpdgmI3+Ezos=; b=C+jT9QNgXaA3vr3Kt9HKSzgl/vt/Zq46roaYXA7rr2dAdhb5ls9TQlNHWlDAmdkr+Z QGCnyMFfgVUhmjTIlaFGblmugXmIe/MoWICxh7OqYSyKEen8WTjoA6jHMha1CDODpppR j+Mw/5oZojgR2rcsfyQEORxlnWtDcjBBTLXNpExGbGlkyPFWR1/Av3cAq2NiLB2xcCZO 0F1ERwVVvCFoUJHFgfXISqnIPckUiJTGExstjNPdvbVcYfdNZVgidPfdqKGGFGrLna3T IFj3X0efowAwcw2LR5VvWamkutKANhFtDrE3VRh0/8ZNzoagXhem8zwGSvzyzxZ1eyoz 4C1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696886064; x=1697490864; 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=TcXX7RVBze6PtaEVGPwxBuREbw4pOeYlpdgmI3+Ezos=; b=Q78R10VETzgf4PwuCpiCYrsk7LjZtXUyYvsQGp/zkrAyysRcUrOC8HUfsePEguVMQ6 x9cqmoQkADlCWIlFozL4b+MkGLaE2z7Uj7YYlQ+xWQQgV0yGJZ6v3DlDV4nIXKlhQULH WWcEo9aSIPKAnbYtyzB3konKtmaC4beCUM/OErtAEZOgiRBF4EF5xSYMnX+3ut/XzK+Y lRmeqKtLouw1erJOkMaQUOa0yGEUUregkHVjHfCDA5q7RtMhhdMpwzGDWRlNVs3Hujap An6V2SLJpRml3vwGiQBM0M9tSZyXix+JBxmBeaZI6rKi8nv1Ra2KhU34fMuN0N/7R/zf 0AnA== X-Gm-Message-State: AOJu0YypeJ5myUE95H8h9XN+V+uF01iGXaAGpWp/3Fjf3r3yxVcWS7lX ZoGWABfsdzsObswQY7yU0T4= X-Received: by 2002:a05:6a00:2e89:b0:693:3851:bd98 with SMTP id fd9-20020a056a002e8900b006933851bd98mr16553359pfb.2.1696886064624; Mon, 09 Oct 2023 14:14:24 -0700 (PDT) Received: from [10.67.48.245] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id x2-20020a62fb02000000b006889348ba6esm6826794pfm.127.2023.10.09.14.14.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Oct 2023 14:14:23 -0700 (PDT) Message-ID: <1aac2644-af91-4408-b84a-0c92f1202f7c@gmail.com> Date: Mon, 9 Oct 2023 14:14:21 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v5 07/16] net: phy: micrel: fix ts_info value in case of no phc 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-8-kory.maincent@bootlin.com> From: Florian Fainelli In-Reply-To: <20231009155138.86458-8-kory.maincent@bootlin.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 09 Oct 2023 14:14:55 -0700 (PDT) On 10/9/23 08:51, Köry Maincent wrote: > From: Kory Maincent > > In case of no phc we should not return SOFTWARE TIMESTAMPING flags as we do > not know the netdev supports of timestamping. There seems to be a word missing, maybe: as we do not know whether the netdev supports timestamping. > Remove it from the lan8841_ts_info and simply return 0. > > Signed-off-by: Kory Maincent > --- > > This patch is not tested but it seems consistent to me. This does look correct to me as well. -- Florian