- 07 Apr, 2014 9 commits
-
-
Michel Arruat authored
Application using the ADC driver may run with real-time scheduling and high priority. The default shared queue is running with non real-time scheduling policy. ADC crates its own workqueue, that one can adjust in terms of scheduling policy to fulfill application's real-time constraints.
-
Michel Arruat authored
The IRQ handler defers to a workqueue the execution of the DMA. The workqueue can be delayed (depending of workqueue scheduling policy) and it may happen that meanwhile a trigger start/stop sequence occurs to serve a trigger configuration change. Data blocks exist but are inconsistent with the current acquisition. To avoid this concurrency issue CSET_BUSY flag is raised in the IRQ Handler.
-
Michel Arruat authored
This is work of Michel Arruat, recommitted by Alessandro. These svec-specific files match what the previous commit did for spec code. We are thus using the new register table, sdb support, and carrier-provided VIC support for interrupts. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Michel Arruat authored
This is a major change, work of Michel Arruat, then re-committed as a single commit by Alessandro. The original development happened mainly on the SVEC carrier, and support for SPEC (PCI) was added back at a later time. I (Alessandro) chose to pick individual changes one at a time, for better documentation and later "git blame", up to this point. Now, this is a big commit that completely changes the driver, mainly in the following places: - split carrier-specific from generic code, like the TDC driver is now (this is mainly the dma-specific and irq-specific code) - use of SDB to get base addresses (with new fmc-util file) - use the VIC core to manage interrupts, relying on carrier support - change the field-desc table for the better - add carrier-specific init, reset, exit - split irq and adc-specific stuff out of zio-drv.c - DMA data and interrupt is now different: the timestamp is at end-of-data, thus we don't have the "trigger-happened" interrupt any more - use a work queue for interrupt management, instead of a tasklet, this allows sleeping, which is needed by this code base Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Michel Arruat authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 06 Mar, 2014 9 commits
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Michel Arruat authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
While the headers are not used yet the next commits will include them. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Although the file is not yet used (it will be used by svec code), it is a common file in several projects, so I pick it now to shrink the diff from the code base currently under test. The file comes from current master of svec-sw, which is unchanged since release 2013-12. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 05 Mar, 2014 2 commits
-
-
Michel Arruat authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Michel Arruat authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 01 Mar, 2014 6 commits
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Michel Arruat authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Michel Arruat authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Michel Arruat authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 28 Feb, 2014 3 commits
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
By referring to our spec-sw subdirectory, we ensure versions are matched. Also, we'll later need to include "spec.h", for carrier-specific DMA code: we'd better not refer to ../spec-sw by default. Signed-off-by: Alessandro Rubini <rubini@gnudd.com> Acked-by: Michel Arruat <michel.arruat@cern.ch>
-
- 26 Feb, 2014 3 commits
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 20 Feb, 2014 2 commits
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 18 Feb, 2014 2 commits
-
-
Michel Arruat authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Michel Arruat authored
to not become crasy while grepping xx_exit or xx_init function (sorry...)
-
- 15 Feb, 2014 1 commit
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 31 Oct, 2013 3 commits
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Michel Arruat authored
This is meant to fire the FMCADC_EDISABLED error when reconfiguring and ongoing acquisition for which somebody is already waiting.
-