• Li Zhong's avatar
    powerpc: Exception hooks for context tracking subsystem · ba12eede
    Li Zhong authored
    This is the exception hooks for context tracking subsystem, including
    data access, program check, single step, instruction breakpoint, machine check,
    alignment, fp unavailable, altivec assist, unknown exception, whose handlers
    might use RCU.
    
    This patch corresponds to
    [PATCH] x86: Exception hooks for userspace RCU extended QS
      commit 6ba3c97a
    
    But after the exception handling moved to generic code, and some changes in
    following two commits:
    56dd9470
      context_tracking: Move exception handling to generic code
    6c1e0256
      context_tracking: Restore correct previous context state on exception exit
    
    it is able for exception hooks to use the generic code above instead of a
    redundant arch implementation.
    Signed-off-by: default avatarLi Zhong <zhong@linux.vnet.ibm.com>
    Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
    ba12eede
fault.c 14.5 KB