Skip to content
  • Philippe Gerum's avatar
    cobalt/arm: disable unlocked context switching · d8d37ed8
    Philippe Gerum authored and Jan Kiszka's avatar Jan Kiszka committed
    
    
    Allowing the task context switching code to be preempted by local
    interrupts was an optimization targeted at low-end ARM armv4/5 cores
    with sluggish VIVT caches, at the expense of significant complexity in
    the IRQ pipeline and Cobalt scheduler. Support for armv4/5 is long
    gone for Xenomai, and maintaining such feature is not worth the burden
    with the VIPT caches exhibited by current micro-architectures such as
    armv7.
    
    Dovetail provides some form of preemptible context switching of
    in-band tasks specifically, which requires no support from Cobalt.
    
    So we may disable this Cobalt-specific feature entirely for ARM.
    
    Signed-off-by: default avatarPhilippe Gerum <rpm@xenomai.org>
    Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
    d8d37ed8