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 513F6C433F5 for ; Wed, 4 May 2022 16:01:54 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ZAmIrc58v+jgXnxoyQ7zkM33xJiPF2o3oldoNN/Avsw=; b=g4QPjWxlVVKgqA jgUD87alsc2QtgjRSfcDa6maNvZSqhlliWFdZ3q3wHA4ppgxxdSvAu1qWw094tDVJSbze0wk6PFLa vt22vIa/jp0RLAhsN8ESlR5A+1iU4e6kJpHaf4XVf8iUQOJHOlmopx/YC0Rf81tjRTA7qbYlbgMJ7 EB6KLsJB2cCpIDuIqWLuIaBY5PxV2TAaUv3w6Pqi+pyXK0hOIRkuVg1YE2yjfO4QaUnmaqLRAFXP/ q3Ykk7CXUOYaaTcUPnupICDfRr572WrRM/lx53KkzIeHwbVlrzkxxp6iyVqDpp36dL8NSEtCw5D0g WzySffG54qKRBJD6GXTg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmHQV-00BZEu-NE; Wed, 04 May 2022 16:00:31 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmHQR-00BZEB-Rw for linux-arm-kernel@lists.infradead.org; Wed, 04 May 2022 16:00:29 +0000 Received: by mail-pf1-x431.google.com with SMTP id p8so1468832pfh.8 for ; Wed, 04 May 2022 09:00:26 -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; bh=TkWAh/zEKnD9qRinAOAqcRHDKnyhx2C9kbdq3Vzq1JU=; b=ewE0aA6uLeto/nVe/PJGDnD5Zb6f5fg9VvE+LN/Ks9woM1TP5xCQCC3v05q+On3t60 XHP2UQSObCPMbVOFXr5nELPeB+f06tSvBK1d1RvfXEumgOTQa7eLJzIBgDcXhehLjUJJ HVyVzMi+3plLFQRKAKXVJruM7qnNIvyKe7sbgKaeg1lK/18b2D4hruZr8O4w/5qIJ16U fRPi5vo1SGiNrNPUgYx4WE3O7kE/x5WNqCBFx8dUgwUL4GYu2RrSMNr5T6fyFaOVNg5z gT4vuRIuXSQ3zXvaHLXUNjF0m20ZfUEE4/Lb0p5e072jD7XhxteMcS3mjSrtFVg6ZWla Psnw== 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; bh=TkWAh/zEKnD9qRinAOAqcRHDKnyhx2C9kbdq3Vzq1JU=; b=MnoHMbE+dBa5ZXkQ7GSm5ToQ6wKP5NTbXOPeUmAZ+uXXp+YGAGGiKnrWmtoZgbSwfV 0LYlrSDNkLQ2wosb+41GDa6IwP8aY8Xn4bA12xY22at6jEUaj3jV90okr41CU/9QCHx7 fMCL+5TXeveYVsm3Nhjc2csDfZMNyn2AAyr4fm56nrgC/jHIcZiX/SsadSYk5NRVNMih 0ewEsjebfr67pE9n3LjvtSj9cmky29eJLWNBAIXrV6hBO48GGLukibLhsHSKK4QCq9eV buPdjhIN9JrnjJ2TuxDX7QA9i54HAl26JEfTeCl/Kb4cdZJAjQ1WB+4I60w1QGK51/sL IJgQ== X-Gm-Message-State: AOAM531hwhnJljSj+opD7GjZJEXyphHnRG6aKpQaX2ojT65AxWHKi62v zolu2FRosa7P/RPLo2Ww3H2NkgyMc0Z4 X-Google-Smtp-Source: ABdhPJy9JetOr3XHoQXjint5jAscYPRn3DBeO/Mgpg4CnjM2dLrUuvZsZP/4GJjz1y6YrYXVCUiJDg== X-Received: by 2002:a63:90ca:0:b0:3aa:fff3:6f76 with SMTP id a193-20020a6390ca000000b003aafff36f76mr18287435pge.206.1651680026330; Wed, 04 May 2022 09:00:26 -0700 (PDT) Received: from thinkpad ([117.207.25.57]) by smtp.gmail.com with ESMTPSA id v15-20020a62a50f000000b0050dc76281bdsm8383185pfm.151.2022.05.04.09.00.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 May 2022 09:00:26 -0700 (PDT) Date: Wed, 4 May 2022 21:30:19 +0530 From: Manivannan Sadhasivam To: Viresh Kumar Cc: Hector Martin , "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: <20220504160019.GB3507@thinkpad> References: <20220504075153.185208-1-marcan@marcan.st> <20220504102745.fv5bl2cphq7ft4lm@vireshk-i7> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220504102745.fv5bl2cphq7ft4lm@vireshk-i7> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220504_090027_944587_AF1F8AA3 X-CRM114-Status: GOOD ( 28.73 ) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Viresh, On Wed, May 04, 2022 at 03:57:45PM +0530, Viresh Kumar wrote: > 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/ > Oops. Looks like that one slipped through the cracks. I did add it to my todo list for qcom-cpufreq but missed it completely. I will look into it. Thanks, Mani > -- > viresh _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel