• L
    powerpc/8xx: remove tests on PGDIR entry validity · 5ddb75ce
    LEROY Christophe 提交于
    Kernel MMU handling code handles validity of entries via _PMD_PRESENT which
    corresponds to V bit in MD_TWC and MI_TWC. When the V bit is not set, MPC8xx
    triggers TLBError exception. So we don't have to check that and branch ourself
    to TLBError. We can set TLB entries with non present entries, remove all those
    tests and let the 8xx handle it. This reduce the number of cycle when the
    entries are valid which is the case most of the time, and doesn't significantly
    increase the time for handling invalid entries.
    Signed-off-by: NChristophe Leroy <christophe.leroy@c-s.fr>
    Signed-off-by: NScott Wood <scottwood@freescale.com>
    5ddb75ce
head_8xx.S 26.2 KB