* spear-cpufreq + multiplatform?
@ 2014-03-03 18:08 ` Josh Cartwright
0 siblings, 0 replies; 6+ messages in thread
From: Josh Cartwright @ 2014-03-03 18:08 UTC (permalink / raw)
To: Viresh Kumar, Shiraz Hashim, Deepak Sikri
Cc: linux-arm-kernel, spear-devel, linux-pm
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] 6+ messages in thread
* spear-cpufreq + multiplatform?
@ 2014-03-03 18:08 ` Josh Cartwright
0 siblings, 0 replies; 6+ 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] 6+ messages in thread
* Re: spear-cpufreq + multiplatform?
2014-03-03 18:08 ` Josh Cartwright
@ 2014-03-03 23:04 ` Rob Herring
-1 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2014-03-03 23:04 UTC (permalink / raw)
To: Josh Cartwright
Cc: Viresh Kumar, Shiraz Hashim, Deepak Sikri, spear-devel,
linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org
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@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
* spear-cpufreq + multiplatform?
@ 2014-03-03 23:04 ` Rob Herring
0 siblings, 0 replies; 6+ 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] 6+ messages in thread
* Re: spear-cpufreq + multiplatform?
2014-03-03 18:08 ` Josh Cartwright
@ 2014-03-05 1:58 ` Viresh Kumar
-1 siblings, 0 replies; 6+ messages in thread
From: Viresh Kumar @ 2014-03-05 1:58 UTC (permalink / raw)
To: Josh Cartwright
Cc: Shiraz Hashim, Deepak Sikri, linux-arm-kernel@lists.infradead.org,
spear-devel, Linux PM list, Viresh Kumar
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] 6+ messages in thread
* spear-cpufreq + multiplatform?
@ 2014-03-05 1:58 ` Viresh Kumar
0 siblings, 0 replies; 6+ 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] 6+ messages in thread
end of thread, other threads:[~2014-03-05 1:58 UTC | newest]
Thread overview: 6+ 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 18:08 ` Josh Cartwright
2014-03-03 23:04 ` Rob Herring
2014-03-03 23:04 ` Rob Herring
2014-03-05 1:58 ` Viresh Kumar
2014-03-05 1:58 ` Viresh Kumar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.