Hi,
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);
verify_connection(7); /* 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_row_local(7,1); 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.
Thanks,
Viswesh
Bollywood, fun, friendship, sports and more. You name it, we have it on http://in.promos.yahoo.com/groups/bestofyahoo/
Viswesh S wrote:
Hi,
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);
verify_connection(7); /* 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_row_local(7,1); 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.
Thanks,
Viswesh
Explore your hobbies and interests. Click here to begin. http://in.rd.yahoo.com/tagline_groups_6/*http://in.promos.yahoo.com/groups/
Hi Viswesh,
All AP nodes are node7 until they have been found and initialized by the BSP. The BSP looks at each active link and then sets the nodeids.
Marc