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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C5B7AC76195 for ; Sun, 19 Mar 2023 15:20:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230412AbjCSPUe (ORCPT ); Sun, 19 Mar 2023 11:20:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229774AbjCSPUb (ORCPT ); Sun, 19 Mar 2023 11:20:31 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5151222D4 for ; Sun, 19 Mar 2023 08:20:09 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id eg48so37668271edb.13 for ; Sun, 19 Mar 2023 08:20:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679239209; 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=S4xH5bq21f5bGOA7b/uw6GIqRMVe3Lm8zhDWQRo/Dhk=; b=YMgxgzsSk3vPYdBEFF6eY6ZjL7d+XcjboQZ8JhOXlIbptrNLl/qu0atkdBqjaZMkPN W3GcZtsQd4SqfwN93BxPrtdPnwLnbKJ3tFEA+P0sLbn+mx+6cJbaJ+dPc3taLCzK+VVy D1i7CYdpPvB//9f8PoY/Ehc5MsdgGq88EljY0wf2p66nyUQ0YLgECETYSZ42bM3DKzYx ysbFqOTvrQQO+GTX5kUZFGToz4ArPhCSg/gZvKhzbJnNiDQy+kkQL8g9OI7XnUnZILmq Kog4hAGPmKYe9taiPv7txbFP3dEJPykqazTXDeySh5a9GNm8TtXoR6/ISfoQOKBJISc8 VI7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679239209; 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=S4xH5bq21f5bGOA7b/uw6GIqRMVe3Lm8zhDWQRo/Dhk=; b=s1x1vlTYAyxGQkDWjhhEngEZgWkmNzSaWsWX3CRVDHMy6lQT9dQTU5F+ED0klBl8zW +xGi6dduz4I3nmoZiV/lJfQdSuld96MLm3ZkxA0Xbee0U/hQATH3urxwe9Q7ppi2i2lN D8U/PAl9b5T9exK0BqEDhxJapP+UnlZQmxfXrpYTSm+3D8VfR4JegMobJNpgx4DXD/ZP tbK7NkK8J5aPux+yFHHKPvq2g3IYT9M9z23IsXIY0bXfNLlOUGllY6kgTc4gubOeYwuW SR154ZHUjxeH+r8saND0HA1yWC43oGPUWAA3heROz/ZbJ9Tp6c1YNGXAt4KHjNO5aufz 1mRA== X-Gm-Message-State: AO0yUKXxY6zN4APlxRU8gnsIvxNBAZRCLCAJlGqKyrTf14mMKvC5jViX Sfr9BCiQWWnCpJbMBsFg7zdHow== X-Google-Smtp-Source: AK7set8dZVKzsg7dR/UhQ6awWgq4/0aOslkJPhf8bTS923fTkgyvChjFVbabhUek2iL7gD9yAR3vVw== X-Received: by 2002:a17:906:6055:b0:907:183f:328a with SMTP id p21-20020a170906605500b00907183f328amr5995901ejj.65.1679239209266; Sun, 19 Mar 2023 08:20:09 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:5b5f:f22b:a0b:559d? ([2a02:810d:15c0:828:5b5f:f22b:a0b:559d]) by smtp.gmail.com with ESMTPSA id o11-20020a17090608cb00b008d0dbf15b8bsm3363438eje.212.2023.03.19.08.20.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 19 Mar 2023 08:20:08 -0700 (PDT) Message-ID: <5ca081d2-44fa-934b-09b1-01dd89cef096@linaro.org> Date: Sun, 19 Mar 2023 16:20:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [Patch v2 8/9] memory: tegra: make cpu cluster bw request a multiple of mc channels Content-Language: en-US To: Sumit Gupta , treding@nvidia.com, dmitry.osipenko@collabora.com, viresh.kumar@linaro.org, rafael@kernel.org, jonathanh@nvidia.com, robh+dt@kernel.org, lpieralisi@kernel.org Cc: linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-pci@vger.kernel.org, mmaddireddy@nvidia.com, kw@linux.com, bhelgaas@google.com, vidyas@nvidia.com, sanjayc@nvidia.com, ksitaraman@nvidia.com, ishah@nvidia.com, bbasu@nvidia.com References: <20230220140559.28289-1-sumitg@nvidia.com> <20230220140559.28289-9-sumitg@nvidia.com> From: Krzysztof Kozlowski In-Reply-To: <20230220140559.28289-9-sumitg@nvidia.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/02/2023 15:05, Sumit Gupta wrote: > Make CPU cluster's bandwidth (BW) request a multiple of MC channels. > CPU OPP tables have BW info per MC channel. But, the actual BW depends > on the number of MC channels which can change as per the boot config. > Get the number of MC channels which are actually enabled in current > boot configuration and multiply the BW request from a CPU cluster with > the number of enabled MC channels. This is not required to be done for > other MC clients. > Acked-by: Krzysztof Kozlowski Best regards, Krzysztof