• Philippe Gerum's avatar
    arm64: ipipe: route traps to co-kernel · f5beda02
    Philippe Gerum authored
    This commit introduces the changes redirecting traps and exceptions to
    the interrupt pipeline, so that the co-kernel can be made aware early
    on. The co-kernel may then decide whether the fault should be
    propagated to the regular kernel for actual handling.
    
    This is typically useful for allowing the co-kernel to downgrade the
    current context from the head domain to the root domain, when leaving
    the burden of handling major faults to the regular kernel makes more
    sense than expecting the co-kernel to reinvent such a wheel
    (e.g. memory violations, illegal instructions, divide by zero etc). As
    a matter of fact, optimizing latency upon such events would not make
    much sense anyway.
    f5beda02
traps.c 19.1 KB