]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/2.6.38.8/fix-_osc-uuid-in-pcc-cpufreq.patch
drop drm patch
[thirdparty/kernel/stable-queue.git] / releases / 2.6.38.8 / fix-_osc-uuid-in-pcc-cpufreq.patch
CommitLineData
ecf6e423
GKH
1From 904cc1e637a00dba1b58e7752f485f90ebf2a568 Mon Sep 17 00:00:00 2001
2From: Naga Chumbalkar <nagananda.chumbalkar@hp.com>
3Date: Tue, 26 Apr 2011 17:05:18 +0000
4Subject: [CPUFREQ] Fix _OSC UUID in pcc-cpufreq
5
6From: Naga Chumbalkar <nagananda.chumbalkar@hp.com>
7
8commit 904cc1e637a00dba1b58e7752f485f90ebf2a568 upstream.
9
10UUID needs to be written out the way it is described in
11Sec 18.5.124 of ACPI 4.0a Specification.
12
13Platform firmware's use of this UUID/_OSC is optional, which is
14why we didn't notice this bug earlier.
15
16Signed-off-by: Naga Chumbalkar <nagananda.chumbalkar@hp.com>
17Signed-off-by: Dave Jones <davej@redhat.com>
18Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19
20---
21 arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c | 4 ++--
22 1 file changed, 2 insertions(+), 2 deletions(-)
23
24--- a/arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c
25+++ b/arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c
26@@ -39,7 +39,7 @@
27
28 #include <acpi/processor.h>
29
30-#define PCC_VERSION "1.00.00"
31+#define PCC_VERSION "1.10.00"
32 #define POLL_LOOPS 300
33
34 #define CMD_COMPLETE 0x1
35@@ -102,7 +102,7 @@ static struct acpi_generic_address doorb
36 static u64 doorbell_preserve;
37 static u64 doorbell_write;
38
39-static u8 OSC_UUID[16] = {0x63, 0x9B, 0x2C, 0x9F, 0x70, 0x91, 0x49, 0x1f,
40+static u8 OSC_UUID[16] = {0x9F, 0x2C, 0x9B, 0x63, 0x91, 0x70, 0x1f, 0x49,
41 0xBB, 0x4F, 0xA5, 0x98, 0x2F, 0xA1, 0xB5, 0x46};
42
43 struct pcc_cpu {