Bug 16274 - [PATCH]VIA EPIA PX5000EG - Longhaul is currently broken in this configuration
Summary: [PATCH]VIA EPIA PX5000EG - Longhaul is currently broken in this configuration
Status: CLOSED DOCUMENTED
Alias: None
Product: Power Management
Classification: Unclassified
Component: cpufreq (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Rafael J. Wysocki
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-23 04:05 UTC by dolphs
Modified: 2013-02-19 01:01 UTC (History)
4 users (show)

See Also:
Kernel Version: 2.6.34
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Proposed patch (1.44 KB, patch)
2012-01-19 21:50 UTC, Rafał Bilski
Details | Diff

Description dolphs 2010-06-23 04:05:09 UTC
I compiled kernel 2.6.34 on Ubuntu 10.04 LTS Server to my needs for the VIA Epia PX5000EG board. Unfortunately even with this kernel version I run at this stage in to a broken status of longhaul APIC. To be specific the exact error reported in dmesg: " longhaul: APIC detected. Longhaul is currently broken in this configuration ". The CPU runs as 500Mhz as it falls back to performance mode instead of ondemand as it seems from cpuinfo. It bould be great if this issue can be fixed.

cat /proc/cpuinfo
processor       : 0
vendor_id       : CentaurHauls
cpu family      : 6
model           : 13
model name      : VIA Eden Processor  500MHz
stepping        : 0
cpu MHz         : 500.000
cache size      : 128 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce apic sep mtrr pge cmov pat
clflush acpi mmx fxsr sse sse2 pni est xtpr rng rng_en ace ace_en ace2 ace2_en
phe phe_en pmm pmm_en
bogomips        : 999.55
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 32 bits virtual
power management:


lspci -nn
00:00.0 Host bridge [0600]: VIA Technologies, Inc. CX700/VX700 Host Bridge
[1106:0324] (rev 10)
00:00.1 Host bridge [0600]: VIA Technologies, Inc. CX700/VX700 Host Bridge
[1106:1324]
00:00.2 Host bridge [0600]: VIA Technologies, Inc. CX700/VX700 Host Bridge
[1106:2324]
00:00.3 Host bridge [0600]: VIA Technologies, Inc. CX700/VX700 Host Bridge
[1106:3324]
00:00.4 Host bridge [0600]: VIA Technologies, Inc. CX700/VX700 Host Bridge
[1106:4324]
00:00.7 Host bridge [0600]: VIA Technologies, Inc. CX700/VX700 Host Bridge
[1106:7324]
00:01.0 PCI bridge [0604]: VIA Technologies, Inc. VT8237/VX700 PCI Bridge
[1106:b198]
00:0f.0 IDE interface [0101]: VIA Technologies, Inc. VX800 Serial ATA and EIDE
Controller [1106:5324]
00:10.0 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller [1106:3038] (rev 90)
00:10.1 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller [1106:3038] (rev 90)
00:10.2 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller [1106:3038] (rev 90)
00:10.4 USB Controller [0c03]: VIA Technologies, Inc. USB 2.0 [1106:3104] (rev
90)
00:11.0 ISA bridge [0601]: VIA Technologies, Inc. CX700/VX700 PCI to ISA Bridge
[1106:8324]
00:11.7 Host bridge [0600]: VIA Technologies, Inc. CX700/VX700 Internal Module
Bus [1106:324e]
00:13.0 Host bridge [0600]: VIA Technologies, Inc. CX700/VX700 Host Bridge
[1106:324b]
00:13.1 PCI bridge [0604]: VIA Technologies, Inc. CX700/VX700 PCI to PCI Bridge
[1106:324a]
01:00.0 VGA compatible controller [0300]: VIA Technologies, Inc. CX700/VX700
[S3 UniChrome Pro] [1106:3157] (rev 03)
02:06.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6105/VT6106S
[Rhine-III] [1106:3106] (rev 8b)
Comment 1 Andrew Morton 2010-06-23 04:25:09 UTC
Recategorised to cpufreq.
Comment 2 Zhang Rui 2012-01-18 02:13:12 UTC
It's great that kernel bugzilla is back.

dolphs,
can you please verify if the problem still exists in the latest upstream
kernel?
Comment 3 Rafał Bilski 2012-01-19 21:50:41 UTC
Created attachment 72135 [details]
Proposed patch

Sorry my bad. Sanity checks before "CPU is VIA C3" check.
Comment 4 Zhang Rui 2012-05-24 07:36:47 UTC
can you please send it out for review?
can you help push this patch upstream?
Comment 5 Len Brown 2012-06-05 03:12:59 UTC
this isn't "patch is already available"
this is "code fix" (attached).

the patch with proper sign-offs needs to be sent to
cpufreq@vger.kernel.org
it needs to be reviewed and tested there.
Comment 6 Rafael J. Wysocki 2013-02-19 01:00:49 UTC
Addressed by commit b5811bc (cpufreq / Longhaul: Disable driver by default).

Note You need to log in before you can comment on or make changes to this bug.