From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 96197C47DD9 for ; Sat, 30 Mar 2024 03:43:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:References:Cc:To:Subject:From: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=p62Nkwpu4XCv3yS1DFFvkYKWFk+2uekNj/s/cRSs73o=; b=k0moq9z63jK5c+ RSlUwOG5wILNupg1CI7o+uLdFMA8Tz6YdZcCrSiv4Sxj0hoxJwGN5L2jP9D9zC7b+/TAedMKMHQPF GimYd+4rxt5TfXgIp4TjAaV6ZB+qtsWlcdFS67HOe1hd1QysYP6MPM4mBkQHw7NupxyGgmWTGpzAH rYm2BU9xhJokXcWhSlR+el/QzvVQpfSfuL6uyvmR9u1Rgl1rTYgnXCSU3FlMmGrnVbGy0dt+Yy8bU DugG5DnIJz6Ct/Zu23Qq9nkcrxHr9kdicGpqwyX/1p3w/tuxjjf9GX+2HMNB7xqYZvaUFBJbrCmf+ 1ZdWDr2FS9ztaJ3wlM5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqPcV-00000002fpq-24Qe; Sat, 30 Mar 2024 03:43:03 +0000 Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqPcR-00000002fp8-2pl7 for linux-arm-kernel@lists.infradead.org; Sat, 30 Mar 2024 03:43:02 +0000 Received: by mail-pg1-x52d.google.com with SMTP id 41be03b00d2f7-5c6bd3100fcso1646079a12.3 for ; Fri, 29 Mar 2024 20:42:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711770172; x=1712374972; darn=lists.infradead.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=7eK8Zgv2EhfHCDXrRMiPvvB5f0GCwGnM8ahhB988ODM=; b=FYcugTe4ZwbLIs/Tj2eA6y1vp2GfCffl8JXYYEmn30eKtd6xjOKEbnkXTVLqvqdjcS L/xMPcJC/yPDo4fQar4jmLzsu2ecHsRPLDByOQoLTdz5InokK7ygKbRtHGk6iKPVQWCr TCsRE+ptv2c5VpRkTPjm/4s4aXX+8QPqxSKnAZyw8Iv8pFzocNq++z4PKzXvXvBKOBkg ZAlgmwa00dG3aFW5Sn3CKq3rr6R4sFJdSkz+a7iRjC2jOjazCD41vNGFHLSVEigtpVm1 CwzjJIUpkDHp3nWm8l/Ar0szqk6NixiaeZDtNYQxMNh9kBvmPNcY/OjVUDhAsbVdUPkk SItA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711770172; x=1712374972; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7eK8Zgv2EhfHCDXrRMiPvvB5f0GCwGnM8ahhB988ODM=; b=v0cbDdtUPoqSnMBSI6Uy4R+/6M5tgpM05IBbXf/7xs1KfibZqTDzv7ezi2YYlUHacF lE9yUzsSbtA78T0BFUkrgCXa47h0Ej4ffl8pC17fRTlStwbKrvJU0TNxfHMj9WoZs1UQ xJQUN96wC44iZPD4UKpnORzEcxRRR1fDq0/eAK/Ps6pYdQGzHvSYrSileO+BHPQYMw22 7JxgWGZmMDYVPUZ685aR5RhkHcMca/5DgyrVLwnNNFUNM0OOmkdzdR0mhF8ERpJsz+aC yZa4+NT0sqlLmWWdVhFjmvv5YfIEIxF/Sv/7YsB9Jqa2H0hoykXbaJpbzlRMDHQrO+Gg Ewug== X-Forwarded-Encrypted: i=1; AJvYcCVEyv1Ri2fc8iQG+c6MaxS6lyQUNyHx57mEvLKHey4qg4vze4njHuC4gE63ECBXE7xfAUwn5vNIbbcUZzUbIe1518e2TLmSQaxT4oYG5y4v/yVwPuk= X-Gm-Message-State: AOJu0YzbUTY4PgSbb3OI660wArj8cOw4udBOz42dUbmnEinXgWVtPh7J 3FsJzSVqgAGCIvMQN1+UWFaMkalTc9hiOoyhpQoVRVf5L1BE3U0n X-Google-Smtp-Source: AGHT+IHAXoLb+nPFUDEvaW5M8v4dfY8CJEkYn86kGpRDeawOoSSXbCym4HLbLuSb9Du35p3GP0Fb7A== X-Received: by 2002:a05:6a20:549f:b0:1a6:f8cf:1e23 with SMTP id i31-20020a056a20549f00b001a6f8cf1e23mr3351963pzk.41.1711770172099; Fri, 29 Mar 2024 20:42:52 -0700 (PDT) Received: from ?IPV6:2600:8802:b00:ba1:cc2b:c45f:1699:a1c3? ([2600:8802:b00:ba1:cc2b:c45f:1699:a1c3]) by smtp.gmail.com with ESMTPSA id ev9-20020a17090aeac900b002a03d13fef5sm5849162pjb.7.2024.03.29.20.42.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 Mar 2024 20:42:51 -0700 (PDT) Message-ID: <4e014c33-44d7-483c-a9be-b24bb82cd1aa@gmail.com> Date: Fri, 29 Mar 2024 20:42:49 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Florian Fainelli Subject: Re: [PATCH v2 1/5] clk: scmi: Allocate CLK operations dynamically To: Cristian Marussi , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Cc: sudeep.holla@arm.com, james.quinlan@broadcom.com, vincent.guittot@linaro.org, peng.fan@oss.nxp.com, michal.simek@amd.com, quic_sibis@quicinc.com, quic_nkela@quicinc.com, souvik.chakravarty@arm.com, mturquette@baylibre.com, sboyd@kernel.org References: <20240325210025.1448717-1-cristian.marussi@arm.com> <20240325210025.1448717-2-cristian.marussi@arm.com> Content-Language: en-US In-Reply-To: <20240325210025.1448717-2-cristian.marussi@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240329_204259_755758_F47AEEFB X-CRM114-Status: UNSURE ( 9.68 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 25/03/2024 14:00, Cristian Marussi wrote: > SCMI Clocks descriptors expose an increasing number of properties, thing > which, in turn, leads to a varying set of supported CLK operations to be > associated with each clock. > > Providing statically pre-defined CLK operations structs for all the > possible combinations of allowed clock features is becoming cumbersome and > error-prone. > > Allocate the per-clock operations descriptors dynamically and populate it > with the strictly needed set of operations depending on the advertised > clock properties: one descriptor is created for each distinct combination > of clock operations, so minimizing the number of clk_ops structures to the > strictly minimum needed. > > CC: Michael Turquette > CC: Stephen Boyd > CC: linux-clk@vger.kernel.org > Signed-off-by: Cristian Marussi Reviewed-by: Florian Fainelli -- Florian _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel