spear-cpufreq + multiplatform?
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?
Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
Quoted 5 lines · Josh Cartwright
Hey folks-
I noticed booting today's next on a non-spear platform, that I'm seeing the following in my logs:
Quoted 7 lines
[ 2.126494] spear_cpufreq: Invalid cpufreq_tblLooking 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
Quoted 9 lines
--
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
Quoted 5 lines · Josh Cartwright
Hey folks-
I noticed booting today's next on a non-spear platform, that I'm seeing the following in my logs:
Quoted 7 lines
[ 2.126494] spear_cpufreq: Invalid cpufreq_tblLooking 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.