This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001160] FIQ can trash stack when interrupting IRQ


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001160

--- Comment #5 from Morten Lave <ml@tctechnologies.tc> 2011-03-09 16:32:30 GMT ---
I agree that two options would be enough to cover most cases.
1) As is with the fix, FIQ morphs into IRQ.
2) FIQ is a VSR.

If someone needs to have FIQ not be disabled by the kernel they can do the
following:
- Redefine HAL_xxxxx_INTERRUP functions to not touch the F bit.
- Make a modified vectors.s which does not touch the F bit

My third suggestion was 2) combined with the FIQ disable fix but it might not
be generic enough to add as a CDL option.

I am not sure what the procedure is from here. Can you provide me with a link
describing how a bug report eventually results in a fix?

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]