From: marek.vasut@gmail.com (Marek Vasut)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/4] pxa2xx/cpufreq: Fix PCMCIA frequency scaling
Date: Thu, 24 Jun 2010 21:33:07 +0200 [thread overview]
Message-ID: <201006242133.07899.marek.vasut@gmail.com> (raw)
In-Reply-To: <20100624191208.GB7974@n2100.arm.linux.org.uk>
Dne ?t 24. ?ervna 2010 21:12:08 Russell King - ARM Linux napsal(a):
> On Thu, Jun 24, 2010 at 08:51:27PM +0200, Marek Vasut wrote:
> > Dne St 23. ?ervna 2010 19:49:59 Robert Jarzmik napsal(a):
> > > Marek Vasut <marek.vasut@gmail.com> writes:
> > > > The MCxx values must be based off memory clock, not CPU core clock.
> > > >
> > > > This also fixes the bug where on some machines the LCD went crazy
> > > > while using PCMCIA.
> > >
> > > That looks correct to me.
> > >
> > > Reviewed-by: Robert Jarzmik <robert.jarzmik@free.fr>
> > >
> > > Cheers.
> > >
> > > --
> > > Robert
> >
> > Actually lemme rethink this ... it might still be incorrect.
Rethought ... well I think there's no problem with this. Anyway, thanks for
CCing Nico.
This patch fixed an issue on zaurus so I believe it's ok.
>
> As Nicolas was the one who originally wrote that code, while he was
> working for Montavista and interacting with Intel, I'd be surprised
> if he didn't try finding out what the right answer is to that fixme.
>
> I suspect as the fixme remained that there was no clear answer.
Well if you look into some schematics, you see the pxa pcmcia is connected to
the memory bus ... as other peripherals.
>
> Nicolas, can you shed any light on this:
>
> static int
> pxa2xx_pcmcia_frequency_change(struct soc_pcmcia_socket *skt,
> unsigned long val,
> struct cpufreq_freqs *freqs)
> {
> #warning "it's not clear if this is right since the core CPU (N) clock has
> no effect on the memory (L) clock"
Cheers
PS. Russell ... feel like doing some politics again? ;-) (take it as a joke
please)
next prev parent reply other threads:[~2010-06-24 19:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-18 5:48 [PATCH 1/4] pxa2xx/cpufreq: Simplify CPU frequency change asm Marek Vasut
2010-06-18 5:48 ` [PATCH 2/4] pxa2xx/cpufreq: Simplify DRI recomputation routine Marek Vasut
2010-06-22 18:33 ` Robert Jarzmik
2010-06-18 5:48 ` [PATCH 3/4] pxa2xx/cpufreq: Fix PCMCIA frequency scaling Marek Vasut
2010-06-23 17:49 ` Robert Jarzmik
2010-06-24 18:51 ` Marek Vasut
2010-06-24 19:12 ` Russell King - ARM Linux
2010-06-24 19:33 ` Marek Vasut [this message]
2010-06-24 19:46 ` Nicolas Pitre
2010-06-28 4:48 ` Eric Miao
2010-06-18 5:48 ` [PATCH 4/4] pxa2xx/pcmcia: Prepare for pxa320 Marek Vasut
2010-06-23 19:00 ` [PATCH 1/4] pxa2xx/cpufreq: Simplify CPU frequency change asm Robert Jarzmik
2010-06-24 3:17 ` Marek Vasut
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=201006242133.07899.marek.vasut@gmail.com \
--to=marek.vasut@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).