<br><br><div class="gmail_quote">On Thu, Jun 25, 2009 at 2:46 AM, Bao, Zheng <span dir="ltr"><<a href="mailto:Zheng.Bao@amd.com">Zheng.Bao@amd.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
amd_fam10_ht_sb_only.diff:<br>
I am not sure about this patch. Not sure to add signed-off-by line.<br>
Don't ack it before review it and say something.<br>
<br>
My board is Fam10 + 1 HT SouthBridge. It is close to dbm690t. So I<br>
set HT_CHAIN_UNITID_BASE as 0 and HT_CHAIN_END_UNITID_BASE as 1, even<br>
though I don't know well what they actually are.</blockquote><div>HT_CHAIN_UNITID_BASE and HT_CHAIN_END_UNITID_BASE change the way the chain is enumerated.<br><br>When HT devices are reset, their UNITID == 0  UNITID is very much like a pci device number.  It is how the device claims configuration cycles.  All devices implemented by a chip are offset by the unitid.<br>
<br>That means you can only send configuration cycles to the first device on the chain.  After you check that device, if it has another HT link, you set the unitid to something larger than 0 (say 0x20) and then you can access the next device in the chain at unitid 0.<br>
<br>HT_CHAIN_END_UNITID_BASE is the unitid for the end of the chain.<br><br>For more information you'll have to read the code, because it seems to me that these values get used for multiple purposes.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 Base on currently fam10<br>
code, I have skip some code, otherwise the HT link can not be set up<br>
correctly. It is pretty like a workaround and my board can work in<br>
1.8GHz (HT3). Doesn't the code in repository cover the mode of<br>
one HT processor + 1 HT SB device?</blockquote><div><br>It does, as long as all the defines are correct.<br><br>To find out what the factory BIOS uses, you can look at lspci.<br><br>Thanks,<br>Myles <br></div></div><br>