• Helge Deller's avatar
    parisc: Optimize tmpalias function calls · c1770918
    Helge Deller authored
    Instead of converting the physical address of the tmpalias mapping to
    the tlb insert format inside all the various tmpalias functions, move
    this conversion over to the DTLB miss handler. The physical address is
    already in %r26 (or will be calculated into %r23), so there are no
    additional steps needed in the functions themselves.
    
    Additionally use the dep_safe() and depi_safe() macros to avoid
    differentiating between 32- and 64-bit builds and as such make the code
    much more readable.
    
    The check if "ldil L%(TMPALIAS_MAP_START)" will sign extend into the
    upper 32 bits can be dropped, because we added a compile time check in
    an earlier patch.
    Signed-off-by: default avatarHelge Deller <deller@gmx.de>
    c1770918
pacache.S 31.3 KB