• Cliff Wickman's avatar
    x86: UV BAU distribution and payload MMRs · 4ea3c51d
    Cliff Wickman authored
    This patch correctly sets BAU memory mapped registers to point
    to the sending activation descriptor table and target payload table.
    
    The "Broadcast Assist Unit" is used for TLB shootdown in UV.
    
    The memory mapped registers that point to sending and receiving
    memory structures contain node numbers.
    
    In one case the __pa() function did not provide the node id of
    memory on blade zero in configurations where that id is nonzero.
    In another case, it was assumed that memory was allocated on
    the local node.  That assumption is not true in a configuration
    in which the node has no memory.
    
    Tested on the UV hardware simulator.
    
    [ Impact: fix possible runtime crash due to incorrect TLB logic ]
    Signed-off-by: default avatarCliff Wickman <cpw@sgi.com>
    LKML-Reference: <E1LuR5Z-0007An-B8@eag09.americas.sgi.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    4ea3c51d
tlb_uv.c 22.7 KB