linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: hkallweit1@gmail.com (Heiner Kallweit)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/2] scpi: RfC - Allow to ignore invalid SCPI DVFS clock rates
Date: Sat, 4 Feb 2017 22:03:34 +0100	[thread overview]
Message-ID: <a4c725a9-2f79-a48b-b732-61e1fe31aba8@gmail.com> (raw)

On the Odroid C2 (Amlogic S905GXBB) the firmware defines SCPI DVFS cpu
clock rates which make the system crash or at least unstable.
Therefore cpufreq can't be used on this system as of today.
Other systems might face similar issues with too optimistic SCPI SVFS
clock rates.

This RfC patch series addresses this by allowing to define a max
frequency per clock via DT. All frequencies for the respective clock
exceeding this threshold will be ignored.

Heiner Kallweit (2):
  clk: scpi: RfC - Allow to ignore invalid SCPI DVFS clock rates
  cpufreq: scpi: RfC - Allow to ignore invalid SCPI DVFS clock rates

 Documentation/devicetree/bindings/arm/arm,scpi.txt |  7 +++++++
 drivers/clk/clk-scpi.c                             | 15 ++++++++++++++-
 drivers/cpufreq/scpi-cpufreq.c                     | 22 ++++++++++++++++++++++
 3 files changed, 43 insertions(+), 1 deletion(-)

-- 
2.11.0

             reply	other threads:[~2017-02-04 21:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-04 21:03 Heiner Kallweit [this message]
2017-02-06  9:27 ` [PATCH 0/2] scpi: RfC - Allow to ignore invalid SCPI DVFS clock rates Neil Armstrong
2017-02-06 18:17   ` Heiner Kallweit

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 \
    --in-reply-to=a4c725a9-2f79-a48b-b732-61e1fe31aba8@gmail.com \
    --to=hkallweit1@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).