<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:174542213;
        mso-list-template-ids:1554819790;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>You need to use 1025_enable_CAR_init_cpus_get_apicid_base.diff.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The 1025_enable_CAR.diff missed init_cpus.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>YH<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> San Mehat
[mailto:san@google.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, October 26, 2005
11:02 AM<br>
<b><span style='font-weight:bold'>To:</span></b> Lu, Yinghai<br>
<b><span style='font-weight:bold'>Cc:</span></b> Eric W. Biederman; LinuxBIOS<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [LinuxBIOS] Latest
commit - clarification</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>YH,<br>
<br>
I've applied your patch, and started porting some of the bits over from the
s2895 code, however it looks like I'm missing
"cpu/amd/model_fxx/init_cpus.c" or wherever 'init_cpus()' is defined.<br>
<br>
The cleanups look pretty damned good so far though... still trying to get
building to work...<br>
<br>
Kudos anyawys ;)<br>
<br>
-san<br>
<br>
<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On 10/26/05, <b><span style='font-weight:bold'>Lu,
Yinghai</span></b> <<a href="mailto:yinghai.lu@amd.com">yinghai.lu@amd.com</a>>
wrote:</span></font></span><o:p></o:p></p>

<div>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>San,</span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Please check the patch for CAR</span></font><o:p></o:p></p>

<ol start=1 type=1>
 <li class=MsoNormal style='color:navy;mso-margin-top-alt:auto;mso-margin-bottom-alt:
     auto;mso-list:l0 level1 lfo1'><font size=2 color=navy face=Arial><span
     style='font-size:10.0pt;font-family:Arial'>add cpu_init_detectedx, it is
     passed from cache_as_ram.inc and to amd64_main… </span></font><o:p></o:p></li>
 <li class=MsoNormal style='color:navy;mso-margin-top-alt:auto;mso-margin-bottom-alt:
     auto;mso-list:l0 level1 lfo1'><font size=2 color=navy face=Arial><span
     style='font-size:10.0pt;font-family:Arial'>add init_cpus for CAR ---more
     readable</span></font><o:p></o:p></li>
 <li class=MsoNormal style='color:navy;mso-margin-top-alt:auto;mso-margin-bottom-alt:
     auto;mso-list:l0 level1 lfo1'><font size=2 color=navy face=Arial><span
     style='font-size:10.0pt;font-family:Arial'>post_cache_as_ram   -</span></font><font
     size=2 face=Wingdings><span style='font-size:10.0pt;font-family:Wingdings'>à</span></font><font
     size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> make
     cache_as_ram_auto.c shorter….</span></font><o:p></o:p></li>
 <li class=MsoNormal style='color:navy;mso-margin-top-alt:auto;mso-margin-bottom-alt:
     auto;mso-list:l0 level1 lfo1'><font size=2 color=navy face=Arial><span
     style='font-size:10.0pt;font-family:Arial'>renable get_apicid_base, in
     case some one still want BSP apid id =0 but other cpu is lifted.</span></font><o:p></o:p></li>
</ol>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>YH</span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center>

</span></font></div>

<p><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> <a
href="mailto:linuxbios-bounces@openbios.org" target="_blank">linuxbios-bounces@openbios.org</a>
[mailto:<a href="mailto:linuxbios-bounces@openbios.org" target="_blank">
linuxbios-bounces@openbios.org</a>] <b><span style='font-weight:bold'>On Behalf
Of </span></b>San Mehat<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, October 26, 2005
9:55 AM<br>
<b><span style='font-weight:bold'>To:</span></b> Eric W. Biederman<br>
<b><span style='font-weight:bold'>Cc:</span></b> LinuxBIOS<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [LinuxBIOS] Latest
commit - clarification</span></font><o:p></o:p></p>

</div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>On
10/25/05, <b><span style='font-weight:bold'>Eric W. Biederman</span></b> <<a
href="mailto:ebiederman@lnxi.com" target="_blank">ebiederman@lnxi.com</a>>
wrote:<o:p></o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>killing
get_apicid_base looks like a bug.<br>
But as far as I can tell everything that is gone is now unnecessary. <o:p></o:p></span></font></p>

<div>

<p style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
Okay... so what replace start_other_cores()?.. In CAR mode, do I make a call to
'do_k8_init_and_stop_secondaries()'?<br>
<span class=q>That code itself wont build due to the following in
'k8_init_and_stop_secondaries()':</span><br>
<span class=q>  if (init_detected) {</span><br>
<span class=q>               
asm volatile ("jmp __cpu_reset");</span><br>
<span class=q>        }</span><br>
<br>
<span class=q>because in CAR configs, arch/i386/lib/cpu_reset.inc is not
included. On this particular issue, I'm happy to wait for YH's fixes.</span><br>
<br>
<span class=q>I just think if we're going to deprecate a core call like that,
there should be some documentation on *why* it was removed, as well as some
indication as to where the behavior got 'moved' to.</span><br>
<br>
<span class=q>It just makes things a lot easier for thoes of us that are either
ramping up, or trying to maintain things..</span><br>
<br>
<span class=q>Thanks Eric ;)</span><br>
<br>
<span class=q>-san</span><br>
<br>
<span class=q>PS: I'm still going to get you drunk and shave your beard.</span><o:p></o:p></span></font></p>

</div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>

</div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br clear=all>
<o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

</body>

</html>