linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* spear-cpufreq + multiplatform?
@ 2014-03-03 18:08 Josh Cartwright
  2014-03-03 23:04 ` Rob Herring
  2014-03-05  1:58 ` Viresh Kumar
  0 siblings, 2 replies; 3+ messages in thread
From: Josh Cartwright @ 2014-03-03 18:08 UTC (permalink / raw)
  To: linux-arm-kernel

Hey folks-

I noticed booting today's next on a non-spear platform, that I'm seeing
the following in my logs:

	[    2.126494] spear_cpufreq: Invalid cpufreq_tbl

Looking closer, it looks like the spear-cpufreq driver has a
late_initcall() that's not too multiplatform friendly.  Perhaps the
spear cpufreq initialization routine should be called explicitly from
some platform-specific code, or explicitly check to ensure it's running
on SPEAr?

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation

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

* spear-cpufreq + multiplatform?
  2014-03-03 18:08 spear-cpufreq + multiplatform? Josh Cartwright
@ 2014-03-03 23:04 ` Rob Herring
  2014-03-05  1:58 ` Viresh Kumar
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2014-03-03 23:04 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Mar 3, 2014 at 12:08 PM, Josh Cartwright <joshc@codeaurora.org> wrote:
> Hey folks-
>
> I noticed booting today's next on a non-spear platform, that I'm seeing
> the following in my logs:
>
>         [    2.126494] spear_cpufreq: Invalid cpufreq_tbl
>
> Looking closer, it looks like the spear-cpufreq driver has a
> late_initcall() that's not too multiplatform friendly.  Perhaps the
> spear cpufreq initialization routine should be called explicitly from
> some platform-specific code, or explicitly check to ensure it's running
> on SPEAr?

Yes, I've seen this on 3.14 as well.

There are also less harmful driver printk's for drivers where the
device is not present. Serial and EHCI drivers are the main culprits.

Rob

>
> --
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
> hosted by The Linux Foundation
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* spear-cpufreq + multiplatform?
  2014-03-03 18:08 spear-cpufreq + multiplatform? Josh Cartwright
  2014-03-03 23:04 ` Rob Herring
@ 2014-03-05  1:58 ` Viresh Kumar
  1 sibling, 0 replies; 3+ messages in thread
From: Viresh Kumar @ 2014-03-05  1:58 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Mar 4, 2014 at 2:08 AM, Josh Cartwright <joshc@codeaurora.org> wrote:
> Hey folks-
>
> I noticed booting today's next on a non-spear platform, that I'm seeing
> the following in my logs:
>
>         [    2.126494] spear_cpufreq: Invalid cpufreq_tbl
>
> Looking closer, it looks like the spear-cpufreq driver has a
> late_initcall() that's not too multiplatform friendly.  Perhaps the
> spear cpufreq initialization routine should be called explicitly from
> some platform-specific code, or explicitly check to ensure it's running
> on SPEAr?

So sorry for that. I can't get it fixed right now as am busy with some
conferences but will mark that in my todo list. Thanks for reporting it.

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

end of thread, other threads:[~2014-03-05  1:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-03 18:08 spear-cpufreq + multiplatform? Josh Cartwright
2014-03-03 23:04 ` Rob Herring
2014-03-05  1:58 ` Viresh Kumar

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).