public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: mpeg.blue@free•fr (Mason)
To: linux-arm-kernel@lists•infradead.org
Subject: RFC on cpufreq implementation
Date: Thu, 29 Jan 2015 17:43:19 +0100	[thread overview]
Message-ID: <54CA6327.5070707@free.fr> (raw)
In-Reply-To: <54B7F7CD.7030903@free.fr>

On 15/01/2015 18:24, Mason wrote:

> This is a follow-up to my previous thread.
> "How many frequencies would cpufreq optimally like to manage?"
> http://thread.gmane.org/gmane.linux.ports.arm.kernel/373669

OK, so this is my TAKE 2 on the cpufreq driver, trying to remove
some dependencies on machine-specific definitions by getting the
virtual address at init via ioremap. (Is -EFAULT the right error
to return if ioremap fails?)

I'm not sure where machine-specific information is supposed to
be stored though? Such as register definitions, or the physical
addresses/offsets. What if they need to be shared among several
source files? I can't just duplicate them... (I've tentatively
called it temp.h for the time being.)

Regards.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpufreq.c
Type: text/x-csrc
Size: 2567 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150129/ee612bdc/attachment.bin>

  parent reply	other threads:[~2015-01-29 16:43 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-15 17:24 RFC on cpufreq implementation Mason
2015-01-16  9:08 ` Krzysztof Kozlowski
2015-01-16 11:10   ` Mason
2015-01-16 11:43     ` Krzysztof Kozlowski
2015-01-16 12:10     ` Javi Merino
2015-01-16 14:00     ` Mason
2015-01-19  7:52 ` Viresh Kumar
2015-01-19 22:03   ` Mason
2015-01-20  3:55     ` Viresh Kumar
2015-01-19  9:22 ` Amit Kucheria
2015-01-19 22:13   ` Mason
2015-01-29 16:43 ` Mason [this message]
2015-01-30  1:15   ` Viresh Kumar
2015-01-30 23:44     ` Mason
2015-02-02  3:58       ` Viresh Kumar
2015-02-04  0:07         ` Mason
2015-02-04  0:32           ` Måns Rullgård
2015-02-04  4:12           ` Viresh Kumar

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=54CA6327.5070707@free.fr \
    --to=mpeg.blue@free$(echo .)fr \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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