Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3072180rwd; Sat, 10 Jun 2023 00:35:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4nfOEDzg7MfLBj4MwaCtGh7gcbyjSCKzQu05aaCa55gPVBBzfNbJeBq+T1lLR5vsuMkArb X-Received: by 2002:a17:903:2349:b0:1ae:5fb0:4256 with SMTP id c9-20020a170903234900b001ae5fb04256mr1440216plh.57.1686382543141; Sat, 10 Jun 2023 00:35:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686382543; cv=none; d=google.com; s=arc-20160816; b=ALLsLtfw4R4JdGh2+33uTrNF3HhN994EOSK4/2LwHBx8sJgQ5RFgoM2RxEPyxZAovA joRe9wmQFKpT8JHNKblf1juWztYcdnsUxqvfpAxZvqM5HOYI2oiD9Hb2FflL1Yq5G29N dpDCdnT/+kcDerKHBkSCaHm2bYp8QovBjoDLVUttJ6nFEpW0BNXKMFSQuSIiKD18Dh+8 m7jFdLYUi6X5/4T5iEp35M+/JYv+y+DrSsQNCL8J1UAUZA5prv0DHozENkFFJxsCyDl/ HDzWyy2e6gxmrvi70QvfpuEUITh3LBYaac+NAEBF6OXHD9QYz7ldB8+WZbcDkhA+CBdK K/gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=l7M0YngHom5+WNuAaqS8ORg1O1Fioma4l8vDyZ5uMCE=; b=lxpebsNtHln0C8taYQR37fSyBMvCxvIIfhbCM7zCgWj5Xp9BDbb7EJeq3TgvLkNJPK Ov89TxKe0lU+5GKREld3yHQZfYd5D/skh8O3ZVXcVrxI19bMEMKRWB/jaS7ucJCBG+Dt oLnRR+b1yKCg/3mems++6IINmsVUWoRSz7oAUTHF9TRbX4JVtRR+aRpsnWy7zWNO8qr2 i6vUs6Tss80sphxTu99SMCqkmIOpg+qpzOY68wZjVhAAizpdfCINDbJWcyMOySu8EtmC /ynBK2t0RK2tBZpZF3P1c4fRioR62NVtfrP9NfqQ8a9AU0wcXkKNkUD3BFE6p8b7WaIV Pv8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20221208.gappssmtp.com header.s=20221208 header.b=FD2ljasm; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l6-20020a170902f68600b001b03bacdc9dsi1038632plg.343.2023.06.10.00.35.29; Sat, 10 Jun 2023 00:35:43 -0700 (PDT) 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=@resnulli-us.20221208.gappssmtp.com header.s=20221208 header.b=FD2ljasm; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230408AbjFJHcp (ORCPT + 99 others); Sat, 10 Jun 2023 03:32:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229926AbjFJHcn (ORCPT ); Sat, 10 Jun 2023 03:32:43 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5176D35B0 for ; Sat, 10 Jun 2023 00:32:41 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-97454836448so370006966b.2 for ; Sat, 10 Jun 2023 00:32:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20221208.gappssmtp.com; s=20221208; t=1686382360; x=1688974360; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=l7M0YngHom5+WNuAaqS8ORg1O1Fioma4l8vDyZ5uMCE=; b=FD2ljasmKR4FCNVKlrbvbiFQif9C0mf2yzEBy4Qx3/P9vPzkYiPKpRpLusAqq+LHU7 WwEwp25JWtWMjVCKxCuTx0YY3fuyrcT2TpwayU1x39KF3SCY/fcG2yn991d4FPSgfhla r0KE1RndWSboXnv9iOkGlNuoupLmUH2YEGQmtcZGgLTcODd51dqFJM+aIHbP7c2tgf71 QGppQ21EIY9jI+eGnPzKAJaT7WZ3veTnSShuNlv/p4ciM6sXWwP8AVd0XK2uW1zlWrVD fcLnhGqEwqo4wbPZy2gc35QP+i9fF+Jg8QnKyIoDm39/3JVCx0GpfJ/G8E4PGnuB3/uE 7LpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686382360; x=1688974360; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=l7M0YngHom5+WNuAaqS8ORg1O1Fioma4l8vDyZ5uMCE=; b=XqEa/dzVIlaowZirezjrhJMHUmnYMrWdEFRJR3U/7q1Tfus69fQ/PGQfHbeNz3d8DN 6p8H+xktCQoZjXeuBUZwyA4+Fsq1fc4VXiF17ryN3MPWeRYevUKYm7Sv5/ssUUnzKxm3 zqkLpjkPwb2MueSQZSATTJxKaOb/LgE28IGKHzRbugaBEUebG8CFx26lOiRsDeujYMVv FUoOA6OCjYjQsIAEucj66+NGIPnZt9kRUMj/ZsbS8woombSEOPpJfAYspDdOxhpUceAU miD4atuMP0gMH+IgsO43i+oWYN7wUbQHLarX8MYVHmMyYoq8wo47cZgoj5SFA/havW1p aqpw== X-Gm-Message-State: AC+VfDx7lJ1ES01bgkORsHYWEVnoGPy3HzKooJwpfC0LXQd3g71W9T8S Gci8AIkcyoD56k2nwtQzKZI5ww== X-Received: by 2002:a17:907:7212:b0:978:8a30:aaf with SMTP id dr18-20020a170907721200b009788a300aafmr3607778ejc.64.1686382359799; Sat, 10 Jun 2023 00:32:39 -0700 (PDT) Received: from localhost (host-213-179-129-39.customer.m-online.net. [213.179.129.39]) by smtp.gmail.com with ESMTPSA id f10-20020a170906824a00b00971433ed5fesm2223482ejx.184.2023.06.10.00.32.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jun 2023 00:32:39 -0700 (PDT) Date: Sat, 10 Jun 2023 09:32:38 +0200 From: Jiri Pirko To: Arkadiusz Kubalewski Cc: kuba@kernel.org, vadfed@meta.com, jonathan.lemon@gmail.com, pabeni@redhat.com, corbet@lwn.net, davem@davemloft.net, edumazet@google.com, vadfed@fb.com, jesse.brandeburg@intel.com, anthony.l.nguyen@intel.com, saeedm@nvidia.com, leon@kernel.org, richardcochran@gmail.com, sj@kernel.org, javierm@redhat.com, ricardo.canuelo@collabora.com, mst@redhat.com, tzimmermann@suse.de, michal.michalik@intel.com, gregkh@linuxfoundation.org, jacek.lawrynowicz@linux.intel.com, airlied@redhat.com, ogabbay@kernel.org, arnd@arndb.de, nipun.gupta@amd.com, axboe@kernel.dk, linux@zary.sk, masahiroy@kernel.org, benjamin.tissoires@redhat.com, geert+renesas@glider.be, milena.olech@intel.com, kuniyu@amazon.com, liuhangbin@gmail.com, hkallweit1@gmail.com, andy.ren@getcruise.com, razor@blackwall.org, idosch@nvidia.com, lucien.xin@gmail.com, nicolas.dichtel@6wind.com, phil@nwl.cc, claudiajkang@gmail.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org, linux-rdma@vger.kernel.org, linux-arm-kernel@lists.infradead.org, poros@redhat.com, mschmidt@redhat.com, linux-clk@vger.kernel.org, vadim.fedorenko@linux.dev Subject: Re: [RFC PATCH v8 05/10] dpll: api header: Add DPLL framework base functions Message-ID: References: <20230609121853.3607724-1-arkadiusz.kubalewski@intel.com> <20230609121853.3607724-6-arkadiusz.kubalewski@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230609121853.3607724-6-arkadiusz.kubalewski@intel.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Fri, Jun 09, 2023 at 02:18:48PM CEST, arkadiusz.kubalewski@intel.com wrote: >From: Vadim Fedorenko [...] >+struct dpll_device_ops { >+ int (*mode_get)(const struct dpll_device *dpll, void *dpll_priv, >+ enum dpll_mode *mode, struct netlink_ext_ack *extack); >+ int (*mode_set)(const struct dpll_device *dpll, void *dpll_priv, >+ const enum dpll_mode mode, >+ struct netlink_ext_ack *extack); >+ bool (*mode_supported)(const struct dpll_device *dpll, void *dpll_priv, >+ const enum dpll_mode mode, >+ struct netlink_ext_ack *extack); >+ int (*source_pin_idx_get)(const struct dpll_device *dpll, >+ void *dpll_priv, >+ u32 *pin_idx, >+ struct netlink_ext_ack *extack); I'm pretty sure I wrote this to the last patchset version as well. You call this op from anywhere, it's a leftover, please remove it. In ptp_ocp remove it as well and implement the state_on_dpll pin op instead. I'm pretty sure no one tested ptp_ocp with this patchset version otherwise this would show-up :/ [...]