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

Sebastian Andrzej Siewior bigeasy at linutronix.de
Wed Jun 28 01:05:12 PDT 2023


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.

This series depends on Ard's rewrite of the VFP exception handling:
	ARM: convert VFP exception handling to C code
	https://lore.kernel.org/20230522080310.502250-1-ardb@kernel.org

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

v1…v2:
    - Split the last patch into two patches (3 and 4 of this series).
      Suggested by Ard.

Sebastian





More information about the linux-arm-kernel mailing list