mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 08:25:39 +07:00
3bcf02208e
commit fc3e62e25c3896855b7c3d72df19ca6be3459c9f upstream.
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(). IRQ handling of spinlocks should be
consistent to avoid the panic notifier deadlocking because it's
sitting on the thread that's already got the lock via _request_stop().
Found via lockdep.
Cc: stable@vger.kernel.org
Fixes:
|
||
---|---|---|
.. | ||
apr.c | ||
cmd-db.c | ||
cpr.c | ||
Kconfig | ||
kryo-l2-accessors.c | ||
llcc-qcom.c | ||
Makefile | ||
mdt_loader.c | ||
ocmem.c | ||
pdr_interface.c | ||
pdr_internal.h | ||
qcom_aoss.c | ||
qcom_gsbi.c | ||
qcom-geni-se.c | ||
qmi_encdec.c | ||
qmi_interface.c | ||
rmtfs_mem.c | ||
rpmh-internal.h | ||
rpmh-rsc.c | ||
rpmh.c | ||
rpmhpd.c | ||
rpmpd.c | ||
smd-rpm.c | ||
smem_state.c | ||
smem.c | ||
smp2p.c | ||
smsm.c | ||
socinfo.c | ||
trace-rpmh.h | ||
wcnss_ctrl.c |