[PATCH] AMD K6-2 flags in /proc/cpuinfo

Hans-Frieder Vogt (vogt@ila.uni-stuttgart.de)
Fri, 11 Dec 1998 09:14:42 +0100 (MET)


Hi,

here is a revised patch for Kernel 2.1.130 (also applicable to 2.1.131) to give
the correct info in /proc/cpuinfo for the AMD K6-2 processor.
The patch only changes arch/i386/kernel/setup.c and improves the
following things:

1. get the flags in a correct way (for the K6-2 and K6 processors, the
complete set of flags will be returned only by the extended cpuinfo
function 0x80000001, the function 1 only returns the standard flags)
The K6-2 processor adds a bit for the SYSCALL/SYSRET instructions. The
bit is now called "star" like in the AMD documentation.

2. show the flags even if no stepping information is available (or the
stepping is 0!)

Alan, could you include this patch into your collection (for later
inclusion in the official kernel sources)?

Regards,

Hans-Frieder

begin 666 linux-2.1.130-amdk6-2-detect-2.diff.gz
M'XL("-"X:S8"`VQI;G5X+3(N,2XQ,S`M86UD:S8M,BUD971E8W0M,BYD:69F
M`*54;4_;2!#^[/R*::2BF+5)UG:<%XX3E(!4%3A$RETKBB)C.V'5^$6VDR;'
MY;_?[*[-)<'!H$/*CMEYYF5GGAE=UV'*PME"-P[H`35;32=Q'YO,[-K-GWX2
M^M-FZF>S^,!5AK,0KJ(Y0!=HIT]IG[:!]GK=&B%$^MAM^Y?OP<!W`0PPC'Z[
MV[=RV^-CT`W+T*@)))?'QS508!_&;#)+T"Z:99`].OQ@*?QR4CBY',`XB0*\
M\6'NAUZ4``O'$?1U]4`8-VM0TQ4WGC&OT5IT6_)/@[T0?]XL");;4CVLD=R@
MP<),?;,5*&P,C1!^`TO%?Y0$GYR$T.*:.1Q!8Q:F;!+B0]`M[*O@ZK\ONO8H
MB#Q_.F+>X<M$#70_OVO="T&E,*0P[]42`U/H+`EI2V%+T2DUL(2N*R&]/%`1
MD-[O+$959N565>F56U7G",I6+>^L[CV67-0^[P/%[Y6@F65UM`X0*03)GN`;
M&O]Y=C7XXV:$I-*4ML;I`T]0_])N#H<G;6A<WW3:&ES?]%K\I*V66M>XFFNH
M(2]-$R^%)3RK;'L-:$BSJ]N+B_S$GDBTG:-!1T]&8;5Q:Q9!;=T0WDQ3WLNX
MY']XRN\M<?_\`ELWN1;14MO>SG['":N5MEW7V\M33;&*NDIL_;8]J`LQ?)/?
MHF:\C6VS*[8%ET:^+10%CY68>3Z,L0I/^*FD6>+&R\86232(!><X,E?E.^3H
M:(L0L+<'3N!)TX:K<K]$438F.M\'OK?@3I7F/DS\3*RHLT6&?A%V[CO(11_.
MI\XDY2`L,JZN)=K&4^8ZF2\VV3!S0L])MO`:/.`"=#P/QFOF8TQW^'UX>H)%
M1RO^?7/V%1/"-\_<C$5A"HU/+`-*56W-YGP:.1D+)_IUQ),_C4*/<;0SA<MH
M[I<YL-7<GL?A/LS!5?3K0PG4I!**ZQ=%V4S378L4)590]*48:M>)G0<V9=D2
M_CF2]7U>KX<;_7YO%_/FQWD[7Z/)6D0B(H*2Q@F^:?P27__8,A9-?B"I-W+2
M-I:^^KR2;*.G&12(;:(T"B['0(Z@B!*C7]=QD1XI^]O_D?7AHP=?/OT(_XLA
MU".NE@GS']+P,O+8>"F8]5Q*YJ?@N&Z4>,@!R")P'UD,V3+V>=-P9-;*&3CI
MSWR0*JM\^OWF\[<"K.3=&PG"WAD6W\EU=Q$$B_JA0*S`GZ9(MNK>[?!);>%S
M[`;1//>YA3"I0&#?3>]]43]??3V[V!%7AHT=OSQH3\:,F5NNIX8`!%F2[`#(
M6@6NLT-?))#MT'>D/O5-NQR1=R-*QXNT2&+%I^#-+295'2;O;3!YO9`OU50V
M-\V<I%R_46=211]2Q1[R?O*05[GS_A=7O6B=..1UWI`JVI!*UH"2+T,E]>/1
3PVR"VLJRX!ZN_0MBG5\X<`P``+GS
`
end

-
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/