• Jack Steiner's avatar
    gru: fix istatus race in GRU tlb dropin · b61fc69b
    Jack Steiner authored
    TLB dropins require updates to the CBR instruction istatus field.  This is
    needed to resolve race conditions in the chip.
    
    The code currently uses the user address of the CBR.  This works but opens
    up additional endcases related to stealing of contexts and accessing the
    CBR from tasks that do not have access to the user address space.  (Some
    of this non-user task access is debug code that is not currently being
    pushed to the community).
    
    User CBRs are also directly accessible using the kernel mapping of the
    CBR.  Change the TLB dropin code to use the the kernel mapping of the CBR.
    Signed-off-by: default avatarJack Steiner <steiner@sgi.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    b61fc69b
grufault.c 19.9 KB