]> www.infradead.org Git - users/jedix/linux-maple.git/commit
intel_idle: correct BXT support
authorJan Beulich <JBeulich@suse.com>
Mon, 27 Jun 2016 06:35:48 +0000 (00:35 -0600)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 3 Nov 2016 17:26:20 +0000 (10:26 -0700)
commit54d3cde7950f426abd2d1479ceca4dc75173b8f2
tree13b8e51389837bcf416a6e7034498087a1df7a3c
parent6c8233f42dcb249a4394634e242acf2c89eaa69f
intel_idle: correct BXT support

Orabug: 24810432

Commit 5dcef69486 ("intel_idle: add BXT support") added an 8-element
lookup array with just a 2-bit value used for lookups. As per the SDM
that bit field is really 3 bits wide. While this is supposedly benign
here, future re-use of the code for other CPUs might expose the issue.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit bef450962597ff39a7f9d53a30523aae9eb55843)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/idle/intel_idle.c