lkml.org 
[lkml]   [1998]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectMTRR fix
  Hi, Linus. I've appended a patch for 2.1.119 which fixes a problem
reported by Tom Eastep (hard lockups when mtrr_add() is called in the
console patch with SMP kernel). The problem was that IPIs were being
used to distribute the MTRR changes, but smp_begin() had not yet been
called. So now I queue the calls to mtrr_add() until smp_begin() has
been called.

I've also removed some old cruft in the MTRR code: module support is
removed since this is:
- dangerous (as seen with the Gigabyte boards)
- not useful now that the testing phase has long passed.

Also, I've taken the liberty to once again remove the call to
mtrr_init() in init/main.c and instead do what you wanted: to put in
architecture-specific calls (similar to check_bugs()) instead. This
patch defines two calls: arch_pre_bus_init() and arch_post_bus_init()
which have obvious meanings. These are put into
include/asm-*/init_steps.h
I've created these headers, although only the i386 version has any
"real" code: a call to mtrr_init().

Could you please apply this patch for 2.1.120?

Regards,

Richard....

begin 644 mtrr-patch-v1.23.gz
M'XL("*Z&ZS4"`VUT<G(M<&%T8V@M=C$N,C,`Y5OK4]M($O]L_Q6=I"YKQP\L
M8\QKP\4A)LLM`0Y#-KF]+94LC6T5LN33`_!F^=^ONT>2]?*#Y,M6XJ(PS/3T
M3#]^W3VCD6&.1M`(W'.P3#MX:+2;2E-1]K<T5Y]LF=M[W:U;X=K"VIKZKMO4
M)=6RWG*CT=B,3VF@^=`+QM#>A_;V04<Y:+=!V=_?*]=JM=63E*X#`0,Q`U!`
MV3EH=P]:BASZY@TT%&6WWH4:?2D*O'E3!OI0=ZN+#0!7IC[17`/>.XX^@9_=
M,7V_T7Q[U-0]TW6:6G!4AA+(3\^ZU^8>&&)DV@)^GFJFK5J.?GO4),9W2K/=
M+M?B&?9;&\]0BV:X$E/G3A@P=8S`$N`%LYGC^F#:X+B&<,%WP#>-.00ST!U#
M-!<C>X:!XSS--OTYZ!.AW\+(<7&1J"95,XRC+?FG(:PC&`KL$V&GB4..$IR.
M7:'YR`L'F;[IV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&[\.XO'Q_QRV$1
MWO^4>*=;J2A[`U?]&RYFX@26L7BK1.<WSL"CEW-2(<80,Y2&;J(]'YD/])H)
M3<!LQ)UPYS@I!AF<.)@]!\^?6_1&3PB@^XEPA5S6/4]'VJ37`(0?\6"%FS8D
MG+;9I)XMND:<.DM-V+#D.:@9>?F+3L52GC#X/#B^/B.BN:?[5DPF-=U1Y.N(
M[?W0[4NXBHO;.FB^7"D'O^AEFI^\2%-#L5"H,.JH*3GT7K"%,=2XZ#2.<\OJ
ML'T'+76'T=U#<>3C^EHI'^7RJ[\\/J5+D[J9()!RR_7O=.7Z.SLQ;)/#>U?'
MOZB]XXNK<^0B=$PW.3[1.E*QD!T,R)%XM:7?1'A-W)%OGH6RX]_H*`:,'1+3
-N87R_P'C!Q-_L#H`````
`
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.altern.org/andrebalsa/doc/lkml-faq.html

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