[PATCH v2 0/2] iio: more timestamp alignment

David Lechner posted 2 patches 7 months, 4 weeks ago
drivers/iio/imu/adis16550.c        |  2 +-
drivers/iio/pressure/mprls0025pa.h | 17 ++++++-----------
2 files changed, 7 insertions(+), 12 deletions(-)
[PATCH v2 0/2] iio: more timestamp alignment
Posted by David Lechner 7 months, 4 weeks ago
Wile reviewing [1], I noticed a few more cases where we can use
aligned_s64 or need __aligned(8) on data structures used with
iio_push_to_buffers_with_timestamp().

[1]: https://lore.kernel.org/linux-iio/20250413103443.2420727-1-jic23@kernel.org/

---
Changes in v2:
- Dropped patches that were already applied.
- Added Fixes tags.
- Dropped the (insufficient) bmc150-accel fix that snuck in the adis16550 patch.
- Expand mprls0025pa patch to remove struct mpr_chan.
- Link to v1: https://lore.kernel.org/r/20250417-iio-more-timestamp-alignment-v1-0-eafac1e22318@baylibre.com

---
David Lechner (2):
      iio: imu: adis16550: align buffers for timestamp
      iio: pressure: mprls0025pa: use aligned_s64 for timestamp

 drivers/iio/imu/adis16550.c        |  2 +-
 drivers/iio/pressure/mprls0025pa.h | 17 ++++++-----------
 2 files changed, 7 insertions(+), 12 deletions(-)
---
base-commit: 52d349884738c346961e153f195f4c7fe186fcf4
change-id: 20250416-iio-more-timestamp-alignment-6c6c6a87ebda

Best regards,
-- 
David Lechner <dlechner@baylibre.com>
Re: [PATCH v2 0/2] iio: more timestamp alignment
Posted by Jonathan Cameron 7 months, 3 weeks ago
On Fri, 18 Apr 2025 11:17:12 -0500
David Lechner <dlechner@baylibre.com> wrote:

> Wile reviewing [1], I noticed a few more cases where we can use
> aligned_s64 or need __aligned(8) on data structures used with
> iio_push_to_buffers_with_timestamp().
> 
> [1]: https://lore.kernel.org/linux-iio/20250413103443.2420727-1-jic23@kernel.org/
> 
Applied to the fixes-togreg branch of iio.git and marked for stable.

Thanks,

Jonathan

> ---
> Changes in v2:
> - Dropped patches that were already applied.
> - Added Fixes tags.
> - Dropped the (insufficient) bmc150-accel fix that snuck in the adis16550 patch.
> - Expand mprls0025pa patch to remove struct mpr_chan.
> - Link to v1: https://lore.kernel.org/r/20250417-iio-more-timestamp-alignment-v1-0-eafac1e22318@baylibre.com
> 
> ---
> David Lechner (2):
>       iio: imu: adis16550: align buffers for timestamp
>       iio: pressure: mprls0025pa: use aligned_s64 for timestamp
> 
>  drivers/iio/imu/adis16550.c        |  2 +-
>  drivers/iio/pressure/mprls0025pa.h | 17 ++++++-----------
>  2 files changed, 7 insertions(+), 12 deletions(-)
> ---
> base-commit: 52d349884738c346961e153f195f4c7fe186fcf4
> change-id: 20250416-iio-more-timestamp-alignment-6c6c6a87ebda
> 
> Best regards,