[Sound-open-firmware] [PATCH 2/2] cnl: dma: refine dma interrupt processing on cnl

Liam Girdwood liam.r.girdwood at linux.intel.com
Thu Mar 8 09:11:57 CET 2018


On Thu, 2018-03-08 at 14:39 +0800, rander.wang wrote:
> hi Liam,
> 

Please don't top post.

>      you mentioned :  using IRQ core as 1st level IRQ handler
> 
> i don't get your idea.  to check which dma triggers the interrupt,
> dma 
> status register
> 
> would be queried. Do this in 1st level IRQ handler is very ugly.
> 
> 

1st level handler does not check the DMAC. It only masks the 1st level
IRQ and then calls all the 2nd level handlers. Each second level
handler then checks if the IRQ is for itself and returns immediately if
 its not the IRQ owner.

Liam  


More information about the Sound-open-firmware mailing list