[coreboot] AMDk8 - HT routing

Viswesh S viswesh_vichu at yahoo.com
Wed May 7 17:44:28 CEST 2008


I am looking into the Linux bios code for AMD 64 boards.

In the setup_coherent_ht_domain function, we have functions setup_smp() and setup_smp2().

In the setup_smp2(), say the link1 is coherent and connected, we write the routing table for it, but then we veriify the connection for Node7 and then try to set the routing table registers for the link between 7 and 1.

print_linkn("(0,1) link=", byte);
 setup_row_direct(0,1, byte); //
 setup_temp_row(0, 1);
 /* We found 2 nodes so far */
 val = pci_read_config32(NODE_HT(7), 0x6c);
 byte = (val>>2) & 0x3; /*get default link on node7 to node0*/
 print_linkn("(1,0) link=", byte);
 setup_remote_row_direct(1, 0, byte);

What is the logic reason behind checking the node7 here.

In the case of my board, there is no Node7 itself and will the pci_write(outb instruction) cause any unknown behaviour, as the node is not present.



      Bollywood, fun, friendship, sports and more. You name it, we have it on http://in.promos.yahoo.com/groups/bestofyahoo/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080507/51bfd5b3/attachment.html>

More information about the coreboot mailing list