Longhaul v2 mode is never selected for VIA C3 chips

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have found that the Longhaul v2 is never
selected for VIA C3 chips. The Longhaul v1
is selected for the Longhaul v2 capable chips.

I do not know if it is done on purpose or just
a typo (see the patch below).

I have run the kernel with the patch on
VIA C3 C5B stepping 3 CPU and the Longhaul v2
works (no voltage scaling supported however).
The only difference to the v1 is the message:

Failed to set requested frequency!
Enabling Ignore Revision ID option.

but the frequency scaling works and
there is no message:

Regards,
Krzysztof

From: Krzysztof Helt <krzysztof.h1@xxxxx>
Subject: [PATCH] enable Longhaul v2 for VIA C3 chips which support it

Use the Longhaul v2 for VIA C3 chips which
support it instead of the Longhaul v1).

Signed-off-by: Krzysztof Helt <krzysztof.h1@xxxxx>
---
 arch/x86/kernel/cpu/cpufreq/longhaul.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/cpu/cpufreq/longhaul.c b/arch/x86/kernel/cpu/cpufreq/longhaul.c
index a4cff5d..4c1aa3c 100644
--- a/arch/x86/kernel/cpu/cpufreq/longhaul.c
+++ b/arch/x86/kernel/cpu/cpufreq/longhaul.c
@@ -809,7 +809,7 @@ static int __init longhaul_cpu_init(struct cpufreq_policy *policy)
 				sizeof(samuel2_eblcr));
 			break;
 		case 1 ... 15:
-			longhaul_version = TYPE_LONGHAUL_V1;
+			longhaul_version = TYPE_LONGHAUL_V2;
 			if (c->x86_mask < 8) {
 				cpu_model = CPU_SAMUEL2;
 				cpuname = "C3 'Samuel 2' [C5B]";
-- 
1.5.2.2

--
To unsubscribe from this list: send the line "unsubscribe cpufreq" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Devel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Forum]     [Linux SCSI]

  Powered by Linux