[linux-dvb] [PATCH 1/3] Fix a problem during the access to the IER and ISR registers of the SA7146

e9hack e9hack at googlemail.com
Sat Oct 28 11:29:44 CEST 2006


it exist some macros to access the IER and ISR registers of the SAA7146. This macros are using a read and a write
operation and this macros are executed inside of the interrupt handler of the SAA7146 and outside of it. It exist a
reentrant problem. The interrupt handler may intercept the execution of such a macro and may also access the IER and/or
ISR registers. The access to the IER and ISR register must be protect by a locking primitive. The attached patch does
fix this problem.

The patch does not fix the stradis driver. This driver has the same problem.

- Hartmut

-------------- next part --------------
A non-text attachment was scrubbed...
Name: saa7146-irq-fix.patch
Type: text/x-patch
Size: 11834 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20061028/e26415ce/saa7146-irq-fix-0001.bin

More information about the linux-dvb mailing list