diff options
author | Aaron Durbin <adurbin@chromium.org> | 2014-01-14 17:28:33 -0600 |
---|---|---|
committer | Aaron Durbin <adurbin@google.com> | 2014-01-30 06:10:26 +0100 |
commit | ba6b07e88884c62b4075b4e7156fc205e7f7971e (patch) | |
tree | 45d68c46a0c4febc1737f205b1d7aa404d17ec30 /src/cpu/intel/turbo/Kconfig | |
parent | cd3f8ad235b9fbcb21950004f9f31b019e43c08a (diff) |
cpu/intel: allow non-packaged scoped turbo setting
In the past the turbo disable setting (bit 38) of the
IA32_MISC_ENABLES msr has been package scoped. That means
knocking the turbo disable bit down enabled turbo for the
entire package. Sadly, that's no longer true on all Intel
processors. Therefore, allow non-packaged scoped turbo
setting by introducing the CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED
Kconfig option. It defaults to false which was the original
assumption.
BUG=chrome-os-partner:25014
BRANCH=baytrail
TEST=Built and ran both ways successfully.
Change-Id: I71a31e76ff47878023081fc47da643187517b597
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/182405
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: http://review.coreboot.org/5047
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/cpu/intel/turbo/Kconfig')
-rw-r--r-- | src/cpu/intel/turbo/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cpu/intel/turbo/Kconfig b/src/cpu/intel/turbo/Kconfig new file mode 100644 index 0000000000..5432c28eb3 --- /dev/null +++ b/src/cpu/intel/turbo/Kconfig @@ -0,0 +1,6 @@ + +config CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED + def_bool n + help + This option indicates that the turbo mode setting is not package + scoped. i.e. enable_turbo() needs to be called on not just the bsp |