Commit 5bcc9abd authored by hongzha1's avatar hongzha1 Committed by Jan Kiszka

cobalt/x86: raise escalate virq with irq_inject_pipeline instead of irq_post_oob

Before calling irq_post_oob, interrupts must be hard disabled
in the cpu. But irq_inject_pipeline would handle it internally.
Signed-off-by: default avatarhongzha1 <hongzhan.chen@intel.com>
parent e6661974
Pipeline #4990 failed with stage
in 20 minutes and 41 seconds
......@@ -23,6 +23,7 @@
#include <asm-generic/xenomai/thread.h>
#include <asm/xenomai/wrappers.h>
#include <asm/traps.h>
#include <linux/irq_pipeline.h>
#ifndef IPIPE_X86_FPU_EAGER
#if LINUX_VERSION_CODE < KERNEL_VERSION(4,4,0)
......@@ -90,7 +91,7 @@ static inline int xnarch_escalate(void)
{
if (running_inband()) {
/* orginal xenomai domain equals oob stage */
irq_post_oob(cobalt_pipeline.escalate_virq);
irq_inject_pipeline(cobalt_pipeline.escalate_virq);
return 1;
}
/* if (ipipe_root_p) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment