mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v10 0/4] iio: pressure: dps310: hardware FIFO support
@ 2026-09-30 10:01 Rupesh Majhi
  2026-09-30 10:01 ` [PATCH v10 1/4] iio: pressure: dps310: read buffered samples from the hardware FIFO Rupesh Majhi
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Rupesh Majhi @ 2026-09-30 10:01 UTC (permalink / raw)
  To: Andy Shevchenko, Bill Wendling, David Lechner, Eddie James,
	Jonathan Cameron, Justin Stitt, Nathan Chancellor,
	Nick Desaulniers, Nuno Sá
  Cc: linux-iio, linux-kernel, llvm, Rupesh Majhi

Rest of FIFO series, on iio/togreg which has 1-6 and 10 of v8.

Since v9, from Andy's review:
 - patch 1: include time.h, one continue in drain temperature branch
 - patch 4, new: lockdep_assert_held() next to every __must_hold(),
   including 12 in applied code

Pressure overflow fix is now at v2:
https://lore.kernel.org/linux-iio/20260930085819.886339-1-zoone.rupert@gmail.com/

Retested on DPS310 with BeagleBone Black: buffer enables, flush race,
bad held entry, temperature-only capture. Lockdep asserts tested under
QEMU with PROVE_LOCKING, including a build with a lock left out.

v9: https://lore.kernel.org/linux-iio/20260928211127.641828-1-zoone.rupert@gmail.com/

Rupesh Majhi (4):
  iio: pressure: dps310: read buffered samples from the hardware FIFO
  iio: pressure: dps310: derive the drain interval from the watermark
  iio: pressure: dps310: implement .hwfifo_flush_to_buffer()
  iio: pressure: dps310: assert the lock at runtime too

 drivers/iio/pressure/dps310.c | 449 +++++++++++++++++++++++++++++++++-
 1 file changed, 439 insertions(+), 10 deletions(-)


base-commit: a3b3580713f3ac5a32dc2874ee546828977a1d68
-- 
2.43.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-09-30 14:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-30 10:01 [PATCH v10 0/4] iio: pressure: dps310: hardware FIFO support Rupesh Majhi
2026-09-30 10:01 ` [PATCH v10 1/4] iio: pressure: dps310: read buffered samples from the hardware FIFO Rupesh Majhi
2026-09-30 10:35   ` Andy Shevchenko
2026-09-30 10:01 ` [PATCH v10 2/4] iio: pressure: dps310: derive the drain interval from the watermark Rupesh Majhi
2026-09-30 14:01   ` Andy Shevchenko
2026-09-30 10:01 ` [PATCH v10 3/4] iio: pressure: dps310: implement .hwfifo_flush_to_buffer() Rupesh Majhi
2026-09-30 10:01 ` [PATCH v10 4/4] iio: pressure: dps310: assert the lock at runtime too Rupesh Majhi
2026-09-30 12:08   ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®