Can I launch a DMA operation in DPC routine ?

Can I launch a DMA operation in DPC routine ?

Post by heartofdr » Wed, 27 May 2009 13:38:13


I am writing a dirver of a PCI AD card. The design of the card is
common .It based on the PLX9054 , and there is a FIFO on the local
side, when the fifo is half full? it triges the interrupt , then the
dirver launch a DMA to get the data.

At first , I followed the Packet Based DMA method , and the upper
application writer told me their software can't responds enough
quickly. They ask me to setup a buffer in my dirver, then the
gathering data stored in the buffe firstly, when the upper application
need, it read the buffer.

If I adhibit this method , It is the driver , not the application
become the original DMA launcher. So , the dirver must perform a DMA
opertion automatically after each "half full interrupt" occurs. The
only way and the only palace I can imaging is the DPC where begin a
DMA Read opertion.

IS IT Workability? thanks.
 
 
 

1. My I's are coming up i's. (lower case)

2. how do I give users that ability to create canned comments and ins

I have a specific application that uses INFOPATH very successfully.. The app is that field inspectors go out make observations and create .xml docs based on those observations.. my problem is that all inspectors have their own way of doing things or describing things. so I can create a canned list of selections from a drop down box, however, they never quite encompass what every inspector wants to say.. we have provided a free text box but the complaint we have recieved during our initial implementation is that the individual inspectors typically make the same comments and want to create their own list of things to say..

My question is:

how can I give each inspector the ability to create a list of pre canned comments that they can use to insert into a particular field.. is there an easy way to do this without the users having to learn how to program the fields..???

thanks

Chuck

3. Maximize speed when using canned fft routines

4. [RFC 2/7][PATCH] AMBA DMA: Implement /proc/dma for arm DMA

5. [2.4.25] hdb: dma-timer-expiry: dma status=0x61, error waiting for DMA

6. Can a macro be written to launch a pre-canned e-mail?

7. [PATCH] PPC64 replace last usage of vio dma mapping routines

8. [kvm-devel] [PATCH 3/8] KVM: PVDMA Guest: Guest-side routines for paravirtualized DMA

9. [kvm-devel] [PATCH 3/8] KVM: PVDMA Guest: Guest-side routines for paravirtualized DMA

10. [PATCH 3/8] KVM: PVDMA Guest: Guest-side routines for paravirtualized DMA

11. [kvm-devel] [PATCH 3/8] KVM: PVDMA Guest: Guest-side routines for paravirtualized DMA

12. Microblaze & Memory DMA operation

13. DMA operation to 64-bits PC platform

14. [PATCH 4/8] KVM: PVDMA: Introduce is_pv_device() dma operation

15. DMA operation to 64-bits PC platform (continued)