mbox series

[v4,0/4] ARM: vfp: Introduce vfp_lock() for VFP locking.

Message ID 20240315145208.3598288-1-bigeasy@linutronix.de (mailing list archive)
Headers show
Series ARM: vfp: Introduce vfp_lock() for VFP locking. | expand

Message

Sebastian Andrzej Siewior March 15, 2024, 2:50 p.m. UTC
There was a bug report on PREEMPT_RT which made me look into VFP locking
on ARM. The usage of local_bh_disable() to ensure exclusive access to
the VFP unit is not working on PREEMPT_RT because the softirq context is
preemptible.

This series introduces vfp_lock() which does the right thing.

v3…v4:
    - Repost.

v2…v3: https://lore.kernel.org/all/20230926125502.1127015-1-bigeasy@linutronix.de
    - Repost with Ard's Reviewed-by tag.

v1…v2: https://lore.kernel.org/all/20230628080516.798032-1-bigeasy@linutronix.de
    - Split the last patch into two patches (3 and 4 of this series).
      Suggested by Ard.

v1: https://lore.kernel.org/all/20230615101656.1308942-1-bigeasy@linutronix.de

Sebastian