[v2,0/2] Make STM32 interrupt controller use hwspinlock

Message ID 20181214151128.10005-1-benjamin.gaignard@linaro.org
Headers show
  • Make STM32 interrupt controller use hwspinlock
Related show


Benjamin Gaignard Dec. 14, 2018, 3:11 p.m.
From: Benjamin Gaignard <benjamin.gaignard@st.com>

This series allow to protect STM32 interrupt controller configuration registers
with a hwspinlock to avoid conflicting accesses between processors. 

version 2:
- rework hwspinlock locking sequence in stm32 irqchip to take care of the
  cases where hwspinlock node is disabled or not yet probed

Benjamin Gaignard (2):
  irqchip: stm32: protect configuration registers with hwspinlock
  ARM: dts: stm32: Add hwlock for irqchip on stm32mp157

 arch/arm/boot/dts/stm32mp157c.dtsi |   1 +
 drivers/irqchip/irq-stm32-exti.c   | 116 ++++++++++++++++++++++++++++++++-----
 2 files changed, 101 insertions(+), 16 deletions(-)