mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
* Follow-up: How to deal with weird SCPI firmware and invalid DVFS frequencies
@ 2017-10-05 20:32 Heiner Kallweit
  2017-10-06 15:33 ` Sudeep Holla
  0 siblings, 1 reply; 2+ messages in thread
From: Heiner Kallweit @ 2017-10-05 20:32 UTC (permalink / raw)
  To: linus-amlogic

Few months ago we discussed how to deal with the Amlogic Meson SCPI
DVFS cpu frequencies. To recap:
SCPI DVFS provides some high frequencies which are usable only if
just one CPU core is used. Else the system will just crash
(even w/o being thermally loaded).

See also:
https://patchwork.kernel.org/patch/9557349/
https://patchwork.kernel.org/patch/9555761/

One idea was to introduce a DT param for the CPU nodes to configure
a max frequency, and all DVFS freq's above this threashold would be
ignored. However we didn't come to an agreement.

Now, when dealing with SCPI again, another idea came to my mind:
Still it would be about introducing such a DT parameter, however
we would not completely ignore higher frequencies but just set
the "turbo" flag of the opp.
This way cpufreq would ignore these frequencies, however we still
had the option to manually enable these frequencies via sysfs and
use them on systems where just one CPU core is used.
(or more general: manually enable the boost frequencies if system
macthes certain criteria)

Does this sound better or would you still consider this to be too
hacky?

Rgds, Heiner

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-06 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-05 20:32 Follow-up: How to deal with weird SCPI firmware and invalid DVFS frequencies Heiner Kallweit
2017-10-06 15:33 ` Sudeep Holla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®