Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp885405rwd; Thu, 15 Jun 2023 03:33:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4ar0TWRX9s1dXOyZoPEuzCtQcwTss3masRzHb2xPp23dCf9Qh4zpYvIlZz/91lfUYVX/o/ X-Received: by 2002:a17:907:9307:b0:973:ebbc:1d6a with SMTP id bu7-20020a170907930700b00973ebbc1d6amr17363610ejc.33.1686825180044; Thu, 15 Jun 2023 03:33:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686825180; cv=none; d=google.com; s=arc-20160816; b=LIelvbXs3fgWRxMFG75Waaj0+uBBerK0+6CFXQg6HNSWmKiLG8WWkEvdtcxZEow78m xLuWAgQLQrrFFuCbP4G4joF8qUTosR5GevSTbY9Dro5+LOCGvZ/tLkaUwcxOKcPYu2+g JK6jdYqLwo5nkrNd+gPXiJGgRtlX2LZ4rh6ZYemYvhzkJjR/N0ES1UK/ZZr3qFo0aTec NMhQGUSgBI/m8aWw0cPkog5CXXIjhZTLNhKKlpTHIAaiEZa8ocsiLDyKRn2dRl6easQG yLaIx+eMj5Qe3tqwaLjssVysMZxeeMkrqA9jXX9SmKuTY80/CRpzzDkHnYGxIupuXF2K ZFEg== 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=Ap56JKyLvPpMQr70iQfAfA8ozIFkekLl2MWDnBSTZaU=; b=S6NJWmjSbmy+7dqDDHFv93d/pVuZGQeCOUA6EXO+dlk25jD7mqatuMqkfYsOgborkw 20JyKqWJZoM9ic9s+d94AQQLb+3nO5B5e8Unagdd5p9jXvUosyziYjpoVYWA3Gw+QBM2 r0z3eKjRxX1K11Xfi2TBkw3pOLFueUXotj8WQLkZtx/NW36mg8yqf/0EHgsHwzAj7mV8 XMGKmBjPFfN6nKb1zvOSDnLxPXEYBECiXgIkeszb7sN5zo1PWgdNh+u8iKdMitj3AB2r 2+etGZYTpozLTSetmfPf28UuKEelx9QliSnwaXv2zGRG2QStab3oyBQuLIrQR3p5rosL stsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20221208.gappssmtp.com header.s=20221208 header.b=G7hdmIzB; 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 qt21-20020a170906ecf500b0098288d36168si559725ejb.76.2023.06.15.03.32.35; Thu, 15 Jun 2023 03:33:00 -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=G7hdmIzB; 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 S1343524AbjFOKS7 (ORCPT + 99 others); Thu, 15 Jun 2023 06:18:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343514AbjFOKSf (ORCPT ); Thu, 15 Jun 2023 06:18:35 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 460832719 for ; Thu, 15 Jun 2023 03:18:32 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-4f640e48bc3so10060476e87.2 for ; Thu, 15 Jun 2023 03:18:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20221208.gappssmtp.com; s=20221208; t=1686824310; x=1689416310; 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=Ap56JKyLvPpMQr70iQfAfA8ozIFkekLl2MWDnBSTZaU=; b=G7hdmIzBDETiEE5iMiHb3AGQB0YjHcndkZpI2wORxM972znVrv9oRL68b7oJ3paSIL M0CfSVHPU/dQGd3Zbs8iOIHbqceKMXPH6sd1qg0tvO9l6+ZEs9RbohLc8TkXSCkcJcWP LWw0Fi37tmlaeLzfgDnd49ozjgOE+6Yu1v56s6fn00KqlK4XeHUFOEZsPKcTXP2ttIAS PbrQhhj9P4fQ6zYIN7UF75Waa78doFwEnrLiOOrDV3Az2YCLA4rV7XLkhBN+9+QPyLZD abvxr6mklhO6N4Bo8a+9vOujXj/KQGy5p7DH22a+qo2ebd2tL5uun6hsdjuafKjIuGMf yRKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686824310; x=1689416310; 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=Ap56JKyLvPpMQr70iQfAfA8ozIFkekLl2MWDnBSTZaU=; b=crYPbEx7b0UPV6Sryhqm7zT19rviSOF/8s/+zLMPj8IkjgKWbWTT20vfYeN1oRQabn w/OY3GlkiM47J6IjEtngJ1matuzD7qMVnfI0JBliRvOI66yVav3b8La8hayPTJ4DnGj+ wAqSPOXNpRpjJw4OCaEgdS2kHMDRkeE8QAeP/UmVamI51WM3qawHdFoayHkBE4k/byMQ qdSvc34VWWNSvngl5DylXJ9e80l7gQDXoccuW5+LPN8v6JBgS/jFuAEDpTwlMAB+4mYV VQ5XkeGCpgg4G/zw1iLyBomrP8OUuAw+0f7s1fJVzdmsE2HnDmYXuDTp2Twoxp3XxKYb Mvxg== X-Gm-Message-State: AC+VfDw0SVodZ7i6pXldi6lw2AnJ1tJAKNAGsjn7B6y3cSExKhpafUHM l25lOKJlzRh5mn/gdErnlY4YqA== X-Received: by 2002:a05:6512:329c:b0:4f6:3c67:ddfc with SMTP id p28-20020a056512329c00b004f63c67ddfcmr9899222lfe.23.1686824310334; Thu, 15 Jun 2023 03:18:30 -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 i17-20020a5d6311000000b0030fae360f14sm15218538wru.68.2023.06.15.03.18.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jun 2023 03:18:29 -0700 (PDT) Date: Thu, 15 Jun 2023 12:18:28 +0200 From: Jiri Pirko To: Jakub Kicinski Cc: "Kubalewski, Arkadiusz" , "vadfed@meta.com" , "jonathan.lemon@gmail.com" , "pabeni@redhat.com" , "corbet@lwn.net" , "davem@davemloft.net" , "edumazet@google.com" , "vadfed@fb.com" , "Brandeburg, Jesse" , "Nguyen, Anthony L" , "M, Saeed" , "leon@kernel.org" , "richardcochran@gmail.com" , "sj@kernel.org" , "javierm@redhat.com" , "ricardo.canuelo@collabora.com" , "mst@redhat.com" , "tzimmermann@suse.de" , "Michalik, Michal" , "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" , "Olech, Milena" , "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 , mschmidt , "linux-clk@vger.kernel.org" , "vadim.fedorenko@linux.dev" Subject: Re: [RFC PATCH v8 01/10] dpll: documentation on DPLL subsystem interface Message-ID: References: <20230609121853.3607724-1-arkadiusz.kubalewski@intel.com> <20230609121853.3607724-2-arkadiusz.kubalewski@intel.com> <20230612154329.7bd2d52f@kernel.org> <20230613093801.735cd341@kernel.org> <20230614121514.0d038aa3@kernel.org> <20230614122348.3e9b7e42@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230614122348.3e9b7e42@kernel.org> 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 Wed, Jun 14, 2023 at 09:23:48PM CEST, kuba@kernel.org wrote: >On Wed, 14 Jun 2023 12:15:14 -0700 Jakub Kicinski wrote: >> On Wed, 14 Jun 2023 12:21:29 +0000 Kubalewski, Arkadiusz wrote: >> > Surely, we can skip this discussion and split the nest attr into something like: >> > - PIN_A_PIN_PARENT_DEVICE, >> > - PIN_A_PIN_PARENT_PIN. >> >> Yup, exactly. Should a fairly change code wise, if I'm looking right. > ^ small Yeah, that is what we had originally. This just pushes out the different attr selection from the nest one level up to the actualy nesting attribute. One downside of this is you will have 2 arrays of parent objects, one per parent type. Current code neatly groups them into a single array. I guess this is a matter of personal preference, I'm fine either way.