• Benjamin Herrenschmidt's avatar
    powerpc/book3e: Fix single step when using HW page tables · ff82c319
    Benjamin Herrenschmidt authored
    We patch the TLB miss exception vectors to point to alternate
    functions when using HW page table on BookE.
    
    However, we were patching in a new branch in the first instruction
    of the exception handler instead of the second one, thus overriding
    the nop that is in the first instruction.
    
    This cause problems when single stepping as we rely on that nop for
    the single step to stop properly within the exception vector range
    rather than on the target of the branch.
    Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
    ff82c319
tlb_nohash.c 11.4 KB