mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.0 doesn't recognize some Cyrix Cpus ?
@ 2004-02-18  4:42 Alexey Shinkin
  2004-03-24 14:21 ` bootup and cpufreq driver support for ZFx86 processor Hiroshi Miura
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Shinkin @ 2004-02-18  4:42 UTC (permalink / raw)
  To: linux-kernel

hi!

I am playing with Linux 2.6.0 on a PC-104 board with 
ZFx86 CPU - it is Cyrix core based 486. Kernel 2.4.18 detects the CPU
as Cyrix Cx486DX2, but 2.6.0 says it is 486.

I looked through /arch/i386/kernel/setup.c in 2.4.18 sources,
/arch/i386/kernel/cpu/common.c in 2.6.0 sources and found the
identify_cpu() function that seems to be working a bit incorrectly in
2.6.0.

In 2.4.18 it checks if the CPU able to execute CPUID , if cannot - the
id_and_try_enable_cpuid() is called, which identifies old Cyrixes and
tries to turn on CPUID on some of them. Even if the CPU is not
CPUID-capable,Cyrix is detected by test_cyrix_52div(), at least, the
function fills x86_vendor & x86_vendorid fields in for Cyrixes. The
fields are used later for vendor-specific initialization.

In 2.6.0 identify_cpu() does not check CPUID-uncapable CPUs by
test_cyrix_52div() and
doesnt try to enable CPUID on them, so , further generic_identify()
considers my CPU as usual 486, doesnt find vendor in get_cpu_vendor
and after all default CPU init procedure is performed instead of
vendor-specific.

I understand that now people are more focused on newest P4's,
Athlons64 etc , but I think that support for old CPUs also shouldnt be
broken...


-- 
Best regards,
Alex Shinkin


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-24 14:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-18  4:42 2.6.0 doesn't recognize some Cyrix Cpus ? Alexey Shinkin
2004-03-24 14:21 ` bootup and cpufreq driver support for ZFx86 processor Hiroshi Miura

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®