From: Sibi Sankar <firstname.lastname@example.org> To: Viresh Kumar <email@example.com> Cc: Ansuel Smith <firstname.lastname@example.org>, email@example.com, firstname.lastname@example.org, Sudeep Holla <email@example.com>, "Rafael J. Wysocki" <firstname.lastname@example.org>, Rob Herring <email@example.com>, firstname.lastname@example.org, email@example.com, firstname.lastname@example.org Subject: Re: [RFC PATCH v3 0/2] Add Krait Cache Scaling support Date: Mon, 31 Aug 2020 11:15:50 +0530 Message-ID: <email@example.com> (raw) In-Reply-To: <20200824104053.kpjpwzl2iw3lpg2m@vireshk-i7> On 2020-08-24 16:10, Viresh Kumar wrote: > +Vincent/Saravana/Sibi > > On 21-08-20, 16:00, Ansuel Smith wrote: >> This adds Krait Cache scaling support using the cpufreq notifier. >> I have some doubt about where this should be actually placed (clk or >> cpufreq)? >> Also the original idea was to create a dedicated cpufreq driver (like >> it's done in >> the codeaurora qcom repo) by copying the cpufreq-dt driver and adding >> the cache >> scaling logic but i still don't know what is better. Have a very >> similar driver or >> add a dedicated driver only for the cache using the cpufreq notifier >> and do the >> scale on every freq transition. >> Thanks to everyone who will review or answer these questions. > > Saravana was doing something with devfreq to solve such issues if I > wasn't mistaken. > > Sibi ? IIRC the final plan was to create a devfreq device and devfreq-cpufreq based governor to scale them, this way one can switch to a different governor if required. (I don't see if ^^ applies well for l2 though). In the interim until such a solution is acked on the list we just scale the resources directly from the cpufreq driver. On SDM845/SC7180 SoCs, L3 is modeled as a interconnect provider and is directly scaled from the cpufreq-hw driver. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.
next prev parent reply index Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-08-21 14:00 Ansuel Smith 2020-08-21 14:00 ` [RFC PATCH v3 1/2] cpufreq: qcom: " Ansuel Smith 2020-08-21 14:00 ` [RFC PATCH v3 2/2] dt-bindings: cpufreq: Document Krait CPU Cache scaling Ansuel Smith 2020-08-24 17:28 ` Rob Herring 2020-08-24 10:40 ` [RFC PATCH v3 0/2] Add Krait Cache Scaling support Viresh Kumar 2020-08-31 5:45 ` Sibi Sankar [this message] 2020-08-31 7:41 ` R: " ansuelsmth 2020-09-03 6:53 ` Viresh Kumar 2020-09-03 7:13 ` Sibi Sankar 2020-09-03 11:00 ` R: " ansuelsmth
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
LKML Archive on lore.kernel.org Archives are clonable: git clone --mirror https://lore.kernel.org/lkml/0 lkml/git/0.git git clone --mirror https://lore.kernel.org/lkml/1 lkml/git/1.git git clone --mirror https://lore.kernel.org/lkml/2 lkml/git/2.git git clone --mirror https://lore.kernel.org/lkml/3 lkml/git/3.git git clone --mirror https://lore.kernel.org/lkml/4 lkml/git/4.git git clone --mirror https://lore.kernel.org/lkml/5 lkml/git/5.git git clone --mirror https://lore.kernel.org/lkml/6 lkml/git/6.git git clone --mirror https://lore.kernel.org/lkml/7 lkml/git/7.git git clone --mirror https://lore.kernel.org/lkml/8 lkml/git/8.git git clone --mirror https://lore.kernel.org/lkml/9 lkml/git/9.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 lkml lkml/ https://lore.kernel.org/lkml \ firstname.lastname@example.org public-inbox-index lkml Example config snippet for mirrors Newsgroup available over NNTP: nntp://nntp.lore.kernel.org/org.kernel.vger.linux-kernel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git