RE: [PATCH] atmel_spi: fix hang due to missed interrupt

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: 'Haavard Skinnemoen' <haavard.skinnemoen@...>
Cc: 'David Brownell' <david-b@...>, <spi-devel-general@...>, 'Lars Steubesand' <lars.steubesand@...>, <linux-kernel@...>
Date: Friday, August 1, 2008 - 4:07 pm

Hi there

 

While looking at the patch yesterday I was thinking the same thing.  Now it
bugs me that this observation didn't occur when I was working on this
problem.  Maybe the code symmetry makes it look "correct".


You're probably correct.  A race condition that intermittently clears a
pending interrupt fits the observed symptom.

 

For my at91sam9260 board, I eliminated one cause of SPI overruns by lowering
the interrupt priorities of the six USARTs (default was 5, changed to 4)
relative to the two SPI controllers (default is 5).  The test I used for
this issue is 'ls -lR' on the flash filesystem.

Regards -- Gerard

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] atmel_spi: fix hang due to missed interrupt, Haavard Skinnemoen, (Thu Jul 31, 1:10 pm)
Re: [PATCH] atmel_spi: fix hang due to missed interrupt, Haavard Skinnemoen, (Fri Aug 1, 9:49 am)
RE: [PATCH] atmel_spi: fix hang due to missed interrupt, Gerard Kam, (Fri Aug 1, 4:07 pm)