kernel_optimize_test/drivers/iio
Jonathan Cameron bc2e1126ec iio:trigger: Experimental kthread tight loop trigger (thread only)
This patch is in response to that of
Gregor Boirie <gregor.boirie@parrot.com>
who proposed using a tight kthread within a device driver (be it with the
support factored out into a helper library) in order to basically spin as
fast as possible.

It is meant as a talking point rather than a formal proposal of the code
(though we are heading towards that I think).
Also gives people some working code to mess around with.

I proposed that this could be done with a trigger with a few constraints
and this is the proof (be it ugly) of that.

There are some constraints though, some of which we would want to relax
if this were to move forward.

* Will only run the thread part of the registered pollfunc.  This is to
  avoid the overhead of jumping in and out of interrupt context.  Is the
  overhead significant?  Not certain but feels like it should be!

* This limitation precludes any device that 'must' do some work in
  interrupt context.  However, that is true of few if any drivers and
  I suspect that any that do will be restricted to using triggers they
  provide themselves.  Usually we have a top half mainly to grab a
  timestamp as soon after the dataready type signal as possible.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
2016-06-03 13:18:44 +01:00
..
accel iio:st_sensors: fix power regulator usage 2016-05-29 16:08:10 +01:00
adc iio: adc: ti_am335x_adc: use SIMPLE_DEV_PM_OPS helper macro 2016-06-03 13:15:52 +01:00
amplifiers spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
buffer iio: buffer-dmaengine: Use dmaengine_terminate_sync() 2016-02-09 21:05:17 +00:00
chemical iio: chemical: atlas-ph-sensor: add EC feature 2016-05-29 20:03:23 +01:00
common iio:st_sensors: fix power regulator usage 2016-05-29 16:08:10 +01:00
dac iio: dac: Add support for the AD5592R/AD5593R ADCs/DACs 2016-04-10 14:29:06 +01:00
dummy iio: dummy: Convert IIO dummy to configfs 2016-05-04 11:44:06 +01:00
frequency iio: frequency: ad9523: use unsigned int rather then bare unsigned 2016-04-17 10:31:03 +01:00
gyro iio:st_sensors: fix power regulator usage 2016-05-29 16:08:10 +01:00
health iio: health/afe4404: ENSEPGAIN is part of CONTROL2 register 2016-05-04 11:14:16 +01:00
humidity iio: Export I2C module alias information 2016-05-21 20:08:14 +01:00
imu imu: bmi160: Add avail frequency and scale attributes 2016-05-04 10:51:39 +01:00
light iio: light: jsa1212: remove unneeded i2c check functionality test 2016-05-21 20:18:05 +01:00
magnetometer iio: magnetometer: bmc150: Document Bosch supported chips 2016-05-29 20:06:11 +01:00
orientation iio: orientation: hid-sensor-rotation: Fix memory leak in probe() 2015-05-17 09:10:25 +01:00
potentiometer iio: max5487: Add support for Maxim digital potentiometers 2016-05-21 20:13:14 +01:00
pressure iio:st_sensors: fix power regulator usage 2016-05-29 16:08:10 +01:00
proximity iio: proximity: as3935: remove redundant MODULE_ALIAS 2016-05-29 20:09:43 +01:00
temperature iio: Export I2C module alias information 2016-05-21 20:08:14 +01:00
trigger iio:trigger: Experimental kthread tight loop trigger (thread only) 2016-06-03 13:18:44 +01:00
iio_core_trigger.h
iio_core.h iio: Move buffer registration to the core 2014-12-12 12:28:31 +00:00
industrialio-buffer.c iio: Add helper function for calculating scan index storage size 2016-02-06 18:21:35 +00:00
industrialio-configfs.c iio:configfs: Introduce iio/configfs.h to provide a location for the configfs_subsystem 2015-12-05 16:25:30 +00:00
industrialio-core.c iio: electricalconductivity: add IIO_ELECTRICALCONDUCTIVITY type 2016-05-29 20:03:21 +01:00
industrialio-event.c iio: event: Remove negative error code from iio_event_poll 2015-08-12 19:26:39 +01:00
industrialio-sw-device.c iio: Add support for creating IIO devices via configfs 2016-05-04 11:43:54 +01:00
industrialio-sw-trigger.c iio: core: fix ptr_ret.cocci warnings 2016-01-20 17:09:18 -08:00
industrialio-trigger.c iio: triggers: Make trigger ops structure explicitly non optional. 2016-05-29 15:00:10 +01:00
industrialio-triggered-event.c iio: Support triggered events 2015-08-27 20:47:09 +01:00
inkern.c iio: core: Add devm_ APIs for iio_channel_{get,release}_all 2016-04-19 19:58:15 +01:00
Kconfig iio: Add support for creating IIO devices via configfs 2016-05-04 11:43:54 +01:00
Makefile iio: Add support for creating IIO devices via configfs 2016-05-04 11:43:54 +01:00