Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3578026rwd; Sat, 10 Jun 2023 10:09:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ55zpXiEewMjV6DseDYPXpXhwM7Owr6GFaavifiTQ2dDm+K+z9AgdGVxVUak954TrS1KM7N X-Received: by 2002:a17:902:d887:b0:1b0:6541:91c2 with SMTP id b7-20020a170902d88700b001b0654191c2mr2194992plz.63.1686416973935; Sat, 10 Jun 2023 10:09:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686416973; cv=none; d=google.com; s=arc-20160816; b=rWQnWP0KlVEfpt3Nv0xFcHDzBDaJYzc4BASKFYXyvOfcFc9rUj8ggLqrxVcy/+Wn8w xS41xhrhNGEcPcHwACVlE9j9TCq87IJ89OjA5n3TQcLr/WJFNlSVqOltAJ44rHyKwmuZ +6psNSpTtgoWx34P+lHRNIc/bAM6IdqiaVdsdBJ2hu1Hy6RK4yCSEj99ZbVwANA2k1bj uLGyM9vVm0QTX+L+rPZDhOjYEMT8LZ0fL42nOKEOLg03XheEuDNDKbcHXQb3lXDatkax RC0QW7VmMvOpxj9bJTXZgWMWDErENEHkxktxTNTxmd08cUuNK4z2d31TruBEihqHousO +61w== 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=X8VbRFbQOuqhFAPglq3rUuEFETDHIQvOfBEZigyYE00=; b=b1jRwqEJOS43NILHJDZFNLzxO3I8VNlvxr6OEDj5ac/O2GsJWhuBfyONZHLZn8KLBE CGeeussDXlbMKgrQWCBfPiVVv7bshb9wyRqX+4gronvX0xwPaleBb5zn/XTTa7l7BsCo DQ9UHKiCO6lUCZeJFRks+pCvE3AvXj/gPRMEZCmRvYamPbZdS37BvIioNIJ8t9g0Vwbu 0u4EFfQpC60ADOQjZkoBtKGrKoyPtnraZ72GvJs0AAZU7rjJU0G38nmlV5vE0EdBpGD5 D67CW66FuLk3zhfszwHXfMNLds5cqQJo5M2z4fAAgNRn1Yb0vMeTcjjHOYBIt44imx1Z musQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20221208.gappssmtp.com header.s=20221208 header.b=fcZwhYQX; 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 jx5-20020a170903138500b001afd1a40242si1024443plb.637.2023.06.10.10.09.21; Sat, 10 Jun 2023 10:09:33 -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=fcZwhYQX; 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 S229949AbjFJQgu (ORCPT + 99 others); Sat, 10 Jun 2023 12:36:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229746AbjFJQgr (ORCPT ); Sat, 10 Jun 2023 12:36:47 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 343D33A85 for ; Sat, 10 Jun 2023 09:36:44 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-974638ed5c5so592853166b.1 for ; Sat, 10 Jun 2023 09:36:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20221208.gappssmtp.com; s=20221208; t=1686415002; x=1689007002; 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=X8VbRFbQOuqhFAPglq3rUuEFETDHIQvOfBEZigyYE00=; b=fcZwhYQXbZrGUCxD2cxWjeGu7RFEU0ScoH6Fu1j8oZlTPWxdTpxZpMcmjp2EzDf/9d FfZHTb9Jegul55u7V0zCjPzL5GRZCoYWPuup8y0FgDEX/VE4abtLSaelCPLmqGhOFvXf 0hiMFMG0SHOUJHmTFAtrpSUozKDhB5uBNbxOAm1l9CSRT6MqowUWZKvUTc/wZ1A942wY p8bL7na2XtF6nwgC4GwchfUxPf/wCWr8c/90iLSEeM82o53tpfNniHl2LweqNqiJTqEo 8La/4VPf8P1Wsh/9IK2QftfK8rl0/botcKtufVlRAOULG+cZ15IapPXlNaqykMscXVUg hfOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686415002; x=1689007002; 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=X8VbRFbQOuqhFAPglq3rUuEFETDHIQvOfBEZigyYE00=; b=MJ6IRWyEA210WPrcq5NvVwn6fT69/TIlS+rctwuuaHCekIL2fP8QcQm9nyrNasWTCW tq4dAkXzetUGszZAtwAvTo7Yd5OiJrSxU63Eca+6fl5ZYgl87PTDEKrWuVE9cOTL7mrg e03jl/FG7eBiSWMDAg16eivuRZfRtA0wli1O3E0FaQL8r7CFMUOR3vdqANjWqGtuGjwk ZCu3nZOgNjheUWQT8E5yqiWJm2h5T9kRyDM1acWELEnpTpRuAzQovAWtgFcIlfnaF8qy x3N/KlsnCp9MY4hu3VV+H5YRGcfOQ/FIcN0wjJn56ZZsVB3SCttp+TfrQfpao8Fh1L5y pjOg== X-Gm-Message-State: AC+VfDyzYsbr0trxkZTmUJHC0ERzeASgVJDAR89hQ6z719wSkXeDBrcW pNKHmGNLVrxDsXDn7QGmSo7bXA== X-Received: by 2002:a17:906:58c5:b0:974:5e8b:fc28 with SMTP id e5-20020a17090658c500b009745e8bfc28mr5052733ejs.9.1686415002366; Sat, 10 Jun 2023 09:36:42 -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 t16-20020a1709064f1000b0096f89fd4bf8sm2728669eju.122.2023.06.10.09.36.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jun 2023 09:36:41 -0700 (PDT) Date: Sat, 10 Jun 2023 18:36:40 +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 08/10] ice: implement dpll interface to control cgu Message-ID: References: <20230609121853.3607724-1-arkadiusz.kubalewski@intel.com> <20230609121853.3607724-9-arkadiusz.kubalewski@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230609121853.3607724-9-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=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 Fri, Jun 09, 2023 at 02:18:51PM CEST, arkadiusz.kubalewski@intel.com wrote: [...] >+static int ice_dpll_mode_get(const struct dpll_device *dpll, void *priv, >+ enum dpll_mode *mode, >+ struct netlink_ext_ack *extack) >+{ >+ *mode = DPLL_MODE_AUTOMATIC; I don't understand how the automatic mode could work with SyncE. The There is one pin exposed for one netdev. The SyncE daemon should select exacly one pin. How do you achieve that? Is is by setting DPLL_PIN_STATE_SELECTABLE on the pin-netdev you want to select and DPLL_PIN_STATE_DISCONNECTED on the rest? [...]