All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: "Jonathan Cameron" <jic23@kernel.org>,
	"David Lechner" <dlechner@baylibre.com>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"Andy Shevchenko" <andy@kernel.org>,
	"Tomislav Denis" <tomislav.denis@avl.com>,
	"Matt Ranostay" <mranostay@gmail.com>,
	"Abhash Jha" <abhashkumarjha123@gmail.com>,
	"Petre Rodan" <petre.rodan@subdimension.ro>,
	"Mårten Lindahl" <martenli@axis.com>,
	"Dan Murphy" <dmurphy@ti.com>, "Sean Nyekjaer" <sean@geanix.com>,
	"Tomas Melin" <tomas.melin@vaisala.com>,
	"Michael Hennerich" <Michael.Hennerich@analog.com>,
	"Lars-Peter Clausen" <lars@metafoo.de>,
	"Leonard Crestez" <cdleonard@gmail.com>,
	"Peter Meerwald-Stadler" <pmeerw@pmeerw.net>,
	"Neil Armstrong" <neil.armstrong@linaro.org>,
	"Dixit Parmar" <dixitparmar19@gmail.com>,
	"Matti Vaittinen" <mazziesaccount@gmail.com>,
	"Stepan Ionichev" <sozdayvek@gmail.com>,
	"Srinivas Pandruvada" <srinivas.pandruvada@linux.intel.com>,
	"Joachim Eastwood" <manabian@gmail.com>,
	"Tiberiu Breana" <tiberiu.a.breana@intel.com>,
	"Maxwell Doose" <maxwell@maxwelld.cc>,
	"Tomasz Duszynski" <tduszyns@gmail.com>,
	"Alison Schofield" <amsfield22@gmail.com>,
	"Christian Eggers" <ceggers@arri.de>,
	"Andreas Klinger" <ak@it-klinger.de>,
	linux-iio@vger.kernel.org, linux@analog.com
Cc: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>,
	stable@vger.kernel.org
Subject: Re: [PATCH 00/25] IIO: Various fixes mostly related to buffered capture.
Date: Mon, 30 Nov 2026 00:20:44 +0000	[thread overview]
Message-ID: <20261130002044.6ee52eca@jic23-hlaptop> (raw)
In-Reply-To: <20261129-messing-fixes3323-v1-0-f01aa73aa628@oss.qualcomm.com>

On Sun, 29 Nov 2026 21:06:11 +0000
Jonathan Cameron <jic23@kernel.org> wrote:

> I havee pulled this lot out as precursors of a major rework I plan to
> post shortly.  That finally proposes a path to get rid of the need to
> call iio_trigger_notify_done() in most cases and allows a lot of
> related code improvements.
> 
> There are a couple of patches in here that are 'probably not' fixes.
> That is I couldn't establish that bad things happen as opposed to ones
> outside of the intent of the driver author.
> 
> Anyhow, please take a look. All LLM assisted (though I rewrote some
> commit messages for brevity and to add more commentary).
> Build tested only.
> 
> I may hold off on sending the actual rework for a while given I'm dumping
> this set of fixes on the already overburdened reviewers!

Sashiko is correct about the potential wedging that occurs if we have
a trigger handler return IRQ_NONE and not call iio_trigger_notify_done().
I guess for those two drivers I'll have to look at the more substantial
rework mentioned in their commit messages or just not worry about
how we report "I got triggered but I shouldn't have done."  

Note that if things go the way I want them to, we'll end up handling
the iio_trigger_notify_done() in the core by default, with the few drivers
where that can't be done setting a special flag to say they'll deal with
it asynchronously.  I'm not posting the full series yet because there
are 245 more patches that I need to go through carefully first (after
the other series I just posted).

Jonathan

      parent reply	other threads:[~2026-11-30  0:20 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-29 21:06 [PATCH 00/25] IIO: Various fixes mostly related to buffered capture Jonathan Cameron
2026-11-29 21:06 ` [PATCH 01/25] iio: adc: ti-ads131e08: fix the size of the scan buffer Jonathan Cameron
2026-11-29 21:06 ` [PATCH 02/25] iio: potentiostat: lmp91000: fix NULL deref setting immutable trigger Jonathan Cameron
2026-11-30  0:01   ` Jonathan Cameron
2026-11-29 21:06 ` [PATCH 03/25] iio: light: vl6180: notify trigger when reading data fails Jonathan Cameron
2026-11-29 21:06 ` [PATCH 04/25] iio: accel: bma220: return error if triggered buffer setup fails Jonathan Cameron
2026-11-29 21:06 ` [PATCH 05/25] iio: adc: ti-adc084s021: don't push stale data if the conversion fails Jonathan Cameron
2026-11-29 21:06 ` [PATCH 06/25] iio: adc: ti-ads124s08: don't push data if reading a channel fails Jonathan Cameron
2026-11-29 21:06 ` [PATCH 07/25] iio: adc: ti-ads8688: don't push an error code as a sample Jonathan Cameron
2026-11-29 21:06 ` [PATCH 08/25] iio: adc: ti-ads8688: take the lock in the trigger handler Jonathan Cameron
2026-11-29 21:06 ` [PATCH 09/25] iio: adc: ti-ads8688: fix the endianness in the channel description Jonathan Cameron
2026-11-29 21:06 ` [PATCH 10/25] iio: accel: sca3300: hold the lock across error handling in register access Jonathan Cameron
2026-11-29 21:06 ` [PATCH 11/25] iio: imu: adis16400: don't push stale data if the SPI transfer fails Jonathan Cameron
2026-11-29 21:06 ` [PATCH 12/25] iio: light: si1145: return IRQ_NONE if no interrupt is flagged Jonathan Cameron
2026-11-29 21:06 ` [PATCH 13/25] iio: magnetometer: als31300: print the regmap error code on read failure Jonathan Cameron
2026-11-30  8:38   ` Neil Armstrong
2026-11-29 21:06 ` [PATCH 14/25] iio: magnetometer: tlv493d: fix polling for valid data Jonathan Cameron
2026-11-29 21:06 ` [PATCH 15/25] iio: proximity: isl29501: don't push uninitialized data on read failure Jonathan Cameron
2026-11-29 21:06 ` [PATCH 16/25] iio: pressure: rohm-bm1390: only return IRQ_NONE if data ready is not set Jonathan Cameron
2026-11-30 11:03   ` Matti Vaittinen
2026-11-30 23:45     ` Jonathan Cameron
2026-12-02 16:01       ` Matti Vaittinen
2026-11-29 21:06 ` [PATCH 17/25] iio: accel: kxcjk-1013: claim direct mode for raw reads Jonathan Cameron
2026-11-29 21:06 ` [PATCH 18/25] iio: accel: mma7455: " Jonathan Cameron
2026-11-29 21:06 ` [PATCH 19/25] iio: accel: mxc4005: " Jonathan Cameron
2026-11-29 21:06 ` [PATCH 20/25] iio: accel: stk8ba50: " Jonathan Cameron
2026-11-29 21:06 ` [PATCH 21/25] iio: chemical: scd30: claim direct mode before taking the lock in read_raw() Jonathan Cameron
2026-11-29 21:06 ` [PATCH 22/25] iio: humidity: hdc100x: " Jonathan Cameron
2026-11-29 21:06 ` [PATCH 23/25] iio: light: as73211: claim direct mode before taking the lock in write_raw() Jonathan Cameron
2026-11-29 21:06 ` [PATCH 24/25] iio: light: veml6046x00: claim direct mode before starting a single read Jonathan Cameron
2026-11-29 21:06 ` [PATCH 25/25] iio: magnetometer: bmc150_magn: claim direct mode for raw reads Jonathan Cameron
2026-11-30  0:20 ` Jonathan Cameron [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261130002044.6ee52eca@jic23-hlaptop \
    --to=jic23@kernel.org \
    --cc=Michael.Hennerich@analog.com \
    --cc=abhashkumarjha123@gmail.com \
    --cc=ak@it-klinger.de \
    --cc=amsfield22@gmail.com \
    --cc=andy@kernel.org \
    --cc=cdleonard@gmail.com \
    --cc=ceggers@arri.de \
    --cc=dixitparmar19@gmail.com \
    --cc=dlechner@baylibre.com \
    --cc=dmurphy@ti.com \
    --cc=jonathan.cameron@oss.qualcomm.com \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux@analog.com \
    --cc=manabian@gmail.com \
    --cc=martenli@axis.com \
    --cc=maxwell@maxwelld.cc \
    --cc=mazziesaccount@gmail.com \
    --cc=mranostay@gmail.com \
    --cc=neil.armstrong@linaro.org \
    --cc=nuno.sa@analog.com \
    --cc=petre.rodan@subdimension.ro \
    --cc=pmeerw@pmeerw.net \
    --cc=sean@geanix.com \
    --cc=sozdayvek@gmail.com \
    --cc=srinivas.pandruvada@linux.intel.com \
    --cc=stable@vger.kernel.org \
    --cc=tduszyns@gmail.com \
    --cc=tiberiu.a.breana@intel.com \
    --cc=tomas.melin@vaisala.com \
    --cc=tomislav.denis@avl.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.