• Paul Mackerras's avatar
    [POWERPC] Make sure interrupt enable gets restored properly · b0a779de
    Paul Mackerras authored
    The lazy IRQ disable patch missed a couple of places where the
    interrupt enable flags need to be restored correctly.  First, we
    weren't restoring the paca->hard_enabled flag on interrupt exit.
    Instead of saving it on entry, we compute it from the MSR_EE bit
    in the MSR we are restoring at exit.  Secondly, the MMU hash miss
    code was clearing both paca->soft_enabled and paca->hard_enabled
    but not restoring them in the case where hash_page was able to
    resolve the miss from the Linux page tables.
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    b0a779de
entry_64.S 18.6 KB