lkml.org 
[lkml]   [2011]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[005/165] [CPUFREQ] Fix _OSC UUID in pcc-cpufreq
    2.6.39-stable review patch.  If anyone has any objections, please let us know.

    ------------------
    Content-Length: 1193
    Lines: 39

    From: Naga Chumbalkar <nagananda.chumbalkar@hp.com>

    commit 904cc1e637a00dba1b58e7752f485f90ebf2a568 upstream.

    UUID needs to be written out the way it is described in
    Sec 18.5.124 of ACPI 4.0a Specification.

    Platform firmware's use of this UUID/_OSC is optional, which is
    why we didn't notice this bug earlier.

    Signed-off-by: Naga Chumbalkar <nagananda.chumbalkar@hp.com>
    Signed-off-by: Dave Jones <davej@redhat.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    --- a/arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c
    +++ b/arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c
    @@ -39,7 +39,7 @@

    #include <acpi/processor.h>

    -#define PCC_VERSION "1.00.00"
    +#define PCC_VERSION "1.10.00"
    #define POLL_LOOPS 300

    #define CMD_COMPLETE 0x1
    @@ -102,7 +102,7 @@ static struct acpi_generic_address doorb
    static u64 doorbell_preserve;
    static u64 doorbell_write;

    -static u8 OSC_UUID[16] = {0x63, 0x9B, 0x2C, 0x9F, 0x70, 0x91, 0x49, 0x1f,
    +static u8 OSC_UUID[16] = {0x9F, 0x2C, 0x9B, 0x63, 0x91, 0x70, 0x1f, 0x49,
    0xBB, 0x4F, 0xA5, 0x98, 0x2F, 0xA1, 0xB5, 0x46};

    struct pcc_cpu {



    \
     
     \ /
      Last update: 2011-06-01 11:13    [W:4.922 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site