Re: [RESEND PATCH] soc: qcom: smp2p: Safely acquire spinlock without IRQs

2020-10-16 Thread Bjorn Andersson
On Tue 29 Sep 15:30 CDT 2020, Evan Green wrote: > smp2p_update_bits() should disable interrupts when it acquires its > spinlock. This is important because without the _irqsave, a priority > inversion can occur. > > This function is called both with interrupts enabled in > qcom_q6v5_request_stop()

Re: [RESEND PATCH] soc: qcom: smp2p: Safely acquire spinlock without IRQs

2020-10-16 Thread Stephen Boyd
Quoting Evan Green (2020-09-29 13:30:57) > smp2p_update_bits() should disable interrupts when it acquires its > spinlock. This is important because without the _irqsave, a priority > inversion can occur. > > This function is called both with interrupts enabled in > qcom_q6v5_request_stop(), and wi

[RESEND PATCH] soc: qcom: smp2p: Safely acquire spinlock without IRQs

2020-09-29 Thread Evan Green
smp2p_update_bits() should disable interrupts when it acquires its spinlock. This is important because without the _irqsave, a priority inversion can occur. This function is called both with interrupts enabled in qcom_q6v5_request_stop(), and with interrupts disabled in ipa_smp2p_panic_notifier().