#1703 closed defect (fixed)

sparc64 clock driver isr bug

Reported by: Gedare Bloom Owned by: Joel Sherrill
Priority: normal Milestone: 4.11
Component: bsps Version: 4.11
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

The sparc64/shared/clock driver has a bug that causes nested timer interrupts to not be serviced, which leads to non-preemptive behavior especially when dispatching work from the timer ISR.

The attached patch fixes the nesting issue by correcting the PIL after reading the tick and setting the tick_cmpr registers. The patch also corrects a typo.

Attachments (1)

rtems-cvs.diff (2.2 KB) - added by Gedare Bloom on 09/18/10 at 20:35:06.
Patch

Download all attachments as: .zip

Change History (3)

Changed on 09/18/10 at 20:35:06 by Gedare Bloom

Attachment: rtems-cvs.diff added

Patch

comment:1 Changed on 11/16/10 at 22:23:03 by Joel Sherrill

Resolution: fixed
Status: newclosed

Patch committed. Did not compile. If not correct, please reopen.

Thanks.

comment:2 Changed on 11/24/14 at 18:58:28 by Gedare Bloom

Version: HEAD4.11

Replace Version=HEAD with Version=4.11 for the tickets with Milestone >= 4.11

Note: See TracTickets for help on using tickets.