diff options
author | Andreas Herrmann <andreas.herrmann3@amd.com> | 2012-01-06 15:57:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-13 11:06:13 -0800 |
commit | 323a479328cbc2fb5cf647790f7414ca570a577b (patch) | |
tree | 06b6e9db21ac918b735ae069c95d0a8b97acc73b /net/bridge | |
parent | 2d8a3a209b35f8301c86e7962f636a372a0d7cad (diff) | |
download | kernel_samsung_aries-323a479328cbc2fb5cf647790f7414ca570a577b.zip kernel_samsung_aries-323a479328cbc2fb5cf647790f7414ca570a577b.tar.gz kernel_samsung_aries-323a479328cbc2fb5cf647790f7414ca570a577b.tar.bz2 |
powernow-k8: Fix indexing issue
commit a8eb28480e9b637cc78b9aa5e08612ba97e1317a upstream.
The driver uses the pstate number from the status register as index in
its table of ACPI pstates (powernow_table). This is wrong as this is
not a 1-to-1 mapping.
For example we can have _PSS information to just utilize Pstate 0 and
Pstate 4, ie.
powernow-k8: Core Performance Boosting: on.
powernow-k8: 0 : pstate 0 (2200 MHz)
powernow-k8: 1 : pstate 4 (1400 MHz)
In this example the driver's powernow_table has just 2 entries. Using
the pstate number (4) as index into this table is just plain wrong.
Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions