• David S. Miller's avatar
    [SPARC64]: More TLB/TSB handling fixes. · 8b234274
    David S. Miller authored
    The SUN4V convention with non-shared TSBs is that the context
    bit of the TAG is clear.  So we have to choose an "invalid"
    bit and initialize new TSBs appropriately.  Otherwise a zero
    TAG looks "valid".
    
    Make sure, for the window fixup cases, that we use the right
    global registers and that we don't potentially trample on
    the live global registers in etrap/rtrap handling (%g2 and
    %g6) and that we put the missing virtual address properly
    in %g5.
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    8b234274
tsb.S 6.58 KB