Skip to content

Commit

Permalink
Revert "interrupt_controller: ioapic_intr: revert CPU target change"
Browse files Browse the repository at this point in the history
This reverts commit 005aff7.

Sporadic failures in Qemu X86_64

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
  • Loading branch information
nashif authored and dleach02 committed Dec 4, 2019
1 parent 005aff7 commit 23bddde
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/interrupt_controller/ioapic_intr.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ int _ioapic_init(struct device *unused)
IOAPIC_PHYSICAL | 0 /* dummy vector */;

for (ix = 0; ix < CONFIG_IOAPIC_NUM_RTES; ix++) {
ioApicRedSetHi(ix, 0);
ioApicRedSetHi(ix, 0xFF000000);
ioApicRedSetLo(ix, rteValue);
}
#endif
Expand Down Expand Up @@ -242,7 +242,7 @@ int ioapic_resume_from_suspend(struct device *port)
IOAPIC_FIXED | IOAPIC_INT_MASK |
IOAPIC_PHYSICAL | 0 ; /* dummy vector*/
}
ioApicRedSetHi(irq, 0);
ioApicRedSetHi(irq, 0xFF000000);
ioApicRedSetLo(irq, rteValue);
}
ioapic_device_power_state = DEVICE_PM_ACTIVE_STATE;
Expand Down Expand Up @@ -295,7 +295,7 @@ void z_ioapic_irq_set(unsigned int irq, unsigned int vector, u32_t flags)

rteValue = IOAPIC_FIXED | IOAPIC_INT_MASK | IOAPIC_PHYSICAL |
(vector & IOAPIC_VEC_MASK) | flags;
ioApicRedSetHi(irq, 0);
ioApicRedSetHi(irq, 0xFF000000);
ioApicRedSetLo(irq, rteValue);
}

Expand Down

0 comments on commit 23bddde

Please sign in to comment.