lkml.org 
[lkml]   [1998]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subject[PATCH] AMD K6-2 flags in /proc/cpuinfo
I know this is not an urgent problem, but when I recently changed to an K6-2
processor I was a bit disappointed not to see the correct flags in
/proc/cpuinfo. Especially the amd3d (3DNow!) flag was missing!
The reason for this behaviour is, that 3DNow! is regarded as a private
extension and is thus reported in the extended feature flags, available only
with the cpuid function 0x80000001.
This K6-2 reports for x86_mask the value 0, which was not correctly handled by
setup.c.

Here is a patch that solves these problems.

Hans-Frieder

begin 666 linux-2.1.130-amdk6-2-detect.diff.gz
M'XL("#E;8C8"`VQI;G5X+3(N,2XQ,S`M8W!U9&5T96-T+F1I9F8`E51K;]I(
M%/UL?L7=2(UP!@?&!@)D6:7-0ZHV2:NDJEJE$9J,QV14O^094]C=_/>=&9L4
MB(D#DGUM[KF/N>=<^SP(P,DAY'$^=]Q#?(B]3IMD]+'-O4&__9-E,0O;@LD\
M/:0%;*N[X3C.&S-9MWD,U\D,8`#X:(3Q"/<`#X>#!D*HILQSK#L$W!OU\,@M
M8T].P'&[;@M[@$I[<M(`"PX@X-,\8SXDN03Y2/2-"_A%!+R_.H,@2R+U#X,9
MB_TD`QX'"8P<^]`$MQO0<"R:YMQO=N:#3O%KP7ZL+C^/HL6FM8\;J`QH\EC:
M;XX"BP?0C.%/Z-KJQ<K4D;,8.MHS@S$T\UCP::P.HM+"@0W4^6L^Z$^BQ&?A
MA/O'+QMU5?K97>?>&%P8MS#>O5T1X!E?MX#T"M,OS%%E0-?X!@5D6!9:%L3W
M6X=1UUEU5%U[U5'U/8*U,<N[[N!>C=S,ON0!J^<G([.>-S`RT]8M9699ZO9D
MQ*)93&WX5SU:0F8T730WLK<@-<UJ9.DJQ3<>PS?U]O7\^NS3S43+<W\?2.07
MH4UJZ[S(LM:D4`J)^7.=U&H?P)1)H^WSN51Y%>R"$74(!A<AF0H-`M":7ZC8
M-.242&96X%:2V"?9!KX%#VISB.]#L!(>J'9OO]^>OK^\!!6EGV_.OZB&U)ES
M*GD2"VA^X!(PMELK,1=A0B2/I\[G1#=_FL0^UV@2PE4R8U4)^G89K^OH'-[9
M=?+KCPJHAPNHVEMEJL2`MVV@LFJ"AI>E&BA)R0,/N5S`?^-BOL][>;S&]ZXL
MEN2G)9VOR62E(C(5P1)IILX4O,3OO>NX\[:^[;5@K:?6VM?"?M9RWQVV7`RH
M[RGK+K6<`AK#LDJJ\E)"E3P$_X?]D"-XY\/?'W[$OVL8]T2[BX;UI61XE?@\
M6!AE/8^2,P&$TB3SE09`)D`?>0IRD3)-FEJ9E7%&1/PL%ZEVRJ??;SY^6X*M
MDKV)$>R=V]7+O$?G433?.S:()V"A4&*KYVY+3MPW.0,:);,RYP;"PP:A>/?\
MW:I^O/YR?KFE;E$V):RZZ+"HF7):[<>N`40RR[8`BEE%E&SQ+QN06_Q'A5\P
MKU^-*-E(1#`7RR:>]!:\F6)4QS#:E6#T^B!?NG%!KE@(FE4#U@:-ZO2#ZN2#
M=E</>E4\NQ^Y[D2KRD&O"P?5Z0;5R@:L\FMH"99.'O*I\M:.17V(&_\#4_Y(
%^_@*```\
`
end


--
--
Hans-Frieder Vogt e-mail: vogt@ila.uni-stuttgart.de
Institut f"ur Luftfahrtantriebe tel : +49 (711) 685-3522
Universit"at Stuttgart
Pfaffenwaldring 6
D-70569 Stuttgart, Germany


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.144 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site