Message ID | 1386202994-30784-2-git-send-email-robherring2@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, Dec 04, 2013 at 06:23:13PM -0600, Rob Herring wrote: > From: Rob Herring <rob.herring@calxeda.com> > > Enable cpufreq and power kconfig menus on arm64 along with arm cpufreq > drivers. The power menu is needed for OPP support. At least on Calxeda > systems, the same cpufreq driver is used for arm and arm64 based > systems. If this needs any revisions (I'd be surprised but...) can you please keep me on the CCs? I intend to pull this into LSK if that's OK since I was about to do roughly the same thing for it and upstream the result.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/05/2013 12:16 PM, Mark Brown wrote: > On Wed, Dec 04, 2013 at 06:23:13PM -0600, Rob Herring wrote: >> From: Rob Herring <rob.herring@calxeda.com> >> >> Enable cpufreq and power kconfig menus on arm64 along with arm >> cpufreq drivers. The power menu is needed for OPP support. At >> least on Calxeda systems, the same cpufreq driver is used for arm >> and arm64 based systems. > > If this needs any revisions (I'd be surprised but...) can you > please keep me on the CCs? I intend to pull this into LSK if > that's OK since I was about to do roughly the same thing for it and > upstream the result. Will do, but I'm surprised we're at the point on arm64 of needing LSK. There's a couple of subsystems that need enabling. I've posted EDAC patches (need to send v3). cpuidle is another. Probably some more I haven't looked at. Rob -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSoNwoAAoJEMhvYp4jgsXiZmMH/0h6Zubjcqhkrx/UGYa47j7r EU0stg3/sJvyNGlo+jDV7ljEEtHVmJyxINORDFCGBlYLnsVisYLY9Q+YRZH7PSrJ O7eloK2LdceYabpoe0QFBXuB+VQ5uUiVH5ts9I3JLp3bxvBwjjM6rsYdKHwx4VHp IAkCgRZZAC9WLi+F4vteC9oh+S5UoXIKpTr1ei/y21czZ6Gw8tGhrGX4fc3IcFSy 4OPFb41/RQkJL5U4KCRUrMS+8wOmJy3rLcTvjxXz85b5ht9+i01AUt6yN9mwGrjp a/Y5pFzADIXvhlJDYt4KBK+xgYyL6keWSc2cQyW08MhyNRjr2qXzOaw3qb3VvhI= =SJ+q -----END PGP SIGNATURE-----
On Thu, Dec 05, 2013 at 02:03:52PM -0600, Rob Herring wrote: > Will do, but I'm surprised we're at the point on arm64 of needing LSK. ARMv8 isn't just for servers, and of course there's the desire to have the software as ready as early as it can be! > There's a couple of subsystems that need enabling. I've posted EDAC > patches (need to send v3). cpuidle is another. Probably some more I > haven't looked at. Right, cpuidle is in progress - Lorenzo has been posting patches for that: http://lwn.net/Articles/574950/ There's some active work in the trace and debug area too.
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 88c8b6c1..1808dd1 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -276,6 +276,14 @@ config SYSVIPC_COMPAT endmenu +menu "Power management options" + +source "kernel/power/Kconfig" + +source "drivers/cpufreq/Kconfig" + +endmenu + source "net/Kconfig" source "drivers/Kconfig" diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig index 38093e2..e26fdcd 100644 --- a/drivers/cpufreq/Kconfig +++ b/drivers/cpufreq/Kconfig @@ -195,7 +195,7 @@ source "drivers/cpufreq/Kconfig.x86" endmenu menu "ARM CPU frequency scaling drivers" -depends on ARM +depends on ARM || ARM64 source "drivers/cpufreq/Kconfig.arm" endmenu