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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D15B4C433EF for ; Wed, 4 May 2022 10:27:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348074AbiEDKba (ORCPT ); Wed, 4 May 2022 06:31:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348069AbiEDKb1 (ORCPT ); Wed, 4 May 2022 06:31:27 -0400 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 291BE26AF0 for ; Wed, 4 May 2022 03:27:48 -0700 (PDT) Received: by mail-pf1-x433.google.com with SMTP id bo5so799899pfb.4 for ; Wed, 04 May 2022 03:27:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=n8vzoy3N7pBPE7Pl8WE2bInrudsdOONjhf3PaHQ1svY=; b=HVmmccbsvIcZmOYCJcgcjO7yILm1zErYVEIzfrg8InamWDpIjN+6Q9P2ZLPFZ//sw+ rOpmzpn4Tlpqgo5nIDx+9pvHbfvCvraETJu579UZDLCnABxGO4c0KDol8D43LNEKyXSd gv3Bl1JkxIdyijkF6B5xOOn/SHngzh+Ay7+mOkrrkSTERY8GV2w6Ympu0obKQdZcMk5z pfJglh8xBl3kfsZGwGSz2nwmAeVa0vD+OFeyK8j1Y0LBwGWajIWPQIjoaVqlaBmgEsJb 9EkTQCYVkIFDmF2djn0cKTFoGIv5UFdE0TG8IR1kjrTsgsw+hG5SLZWJAM7SzARdpyIi fEKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=n8vzoy3N7pBPE7Pl8WE2bInrudsdOONjhf3PaHQ1svY=; b=JimaE7sUg8/4kJmV2q9RpgBrTggxraN/sHCJpUfPhm7fMJuyP11Q5OR4O4e9aHYDBq Whw1HMRlJQtz3y7FXCyOdYKYsCEat+bOyF9v7rbXUsPfP8I4Yci3Q1MtmQ2XBkHAJvWG yxswxPnjp6YwdWsNhB6M8RUVOXS9+S/Sqpo04KrcUHcL3+3GuMnUb4Dyyi759UR/uNjM dSktJ0V+0ybAVqtUfaNYselUsnxgeiYPdq/+hFR3A7/O2/uYWIHRLyVLdX+bRQp39ya2 /Tvkz9GPtR8bkwG+0Rtdz4ipcH972vLX+js3QIZhJ5FZSwx/RXbizkdchG/zyBl60OzC kk2Q== X-Gm-Message-State: AOAM530TelWDw6WSbzJpxCxnoBMLAvlpdeYBe67ooYHCXrSsQz0WLQv1 OveykfyHb81JgZLQEfhon4PPEA== X-Google-Smtp-Source: ABdhPJxs5soROkk0kpKdyut/L8JDvItaFHJCeyHzhAOimp8VW+AG5fW4x5mr5jTnFDiY9DbdDgbONA== X-Received: by 2002:a63:6bca:0:b0:3c2:13bc:2706 with SMTP id g193-20020a636bca000000b003c213bc2706mr11867564pgc.464.1651660067671; Wed, 04 May 2022 03:27:47 -0700 (PDT) Received: from localhost ([122.162.207.161]) by smtp.gmail.com with ESMTPSA id e2-20020a17090a630200b001d5c571f487sm2938789pjj.25.2022.05.04.03.27.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 May 2022 03:27:47 -0700 (PDT) Date: Wed, 4 May 2022 15:57:45 +0530 From: Viresh Kumar To: Hector Martin , manivannan.sadhasivam@linaro.org Cc: "Rafael J. Wysocki" , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , Ulf Hansson , Marc Zyngier , Mark Kettenis , linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/4] Apple SoC cpufreq driver Message-ID: <20220504102745.fv5bl2cphq7ft4lm@vireshk-i7> References: <20220504075153.185208-1-marcan@marcan.st> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220504075153.185208-1-marcan@marcan.st> User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04-05-22, 16:51, Hector Martin wrote: > Hi folks, > > Here's a second take on the cpufreq driver for Apple SoCs. This is a > complete rewrite using a stand-alone cpufreq driver instead of using the > cpufreq-dt infrastructure. > > Since v1 we ran some experiments on the memory controller performance > switching and it turns out it doesn't make a huge difference, so it > makes sense to punt that feature to the future (perhaps once a proper > memory controller driver exists for other reasons, e.g. for error > handling). > > One advantage of having a standalone cpufreq driver is that we can > support fast switching. This also means any future interaction with > the memory controller will probably use some bespoke mechanism instead > of the genpd infrastructure, so we can keep the fast path without > allowing sleeps/etc. > > The driver is based on scpi-cpufreq.c, with some bits (e.g. the > apple,freq-domain stuff) inspired by how cpufreq-qcom-hw does it. > I'm not sure if that particular property should be described > in a binding, since it goes in the cpu nodes (qcom doesn't have it > anywhere...). Hi Mani, I can see that Rob asked you to add this somewhere, maybe in arm/cpu stuff, but I don't think you ever sent a patch with that. What happened ? https://lore.kernel.org/lkml/20201013171800.GA3716411@bogus/ -- viresh