• Scott Wood's avatar
    powerpc/e6500: Make TLB lock recursive · 82d86de2
    Scott Wood authored
    Once special level interrupts are supported, we may take nested TLB
    misses -- so allow the same thread to acquire the lock recursively.
    
    The lock will not be effective against the nested TLB miss handler
    trying to write the same entry as the interrupted TLB miss handler, but
    that's also a problem on non-threaded CPUs that lack TLB write
    conditional.  This will be addressed in the patch that enables crit/mc
    support by invalidating the TLB on return from level exceptions.
    Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
    82d86de2
setup_64.c 19.5 KB