Thread (44 messages) 44 messages, 4 authors, 2024-08-05

Re: [PATCH 14/36] soc: fsl: cpm1: tsa: Add support for QUICC Engine (QE) implementation

From: Markus Elfring <hidden>
Date: 2024-07-30 09:25:55
Also in: linux-arm-kernel, linux-devicetree, lkml

quoted hunk ↗ jump to hunk
+++ b/drivers/soc/fsl/qe/tsa.c
+static int tsa_qe_serial_connect(struct tsa_serial *tsa_serial, bool connect)
+{
+	spin_lock_irqsave(&tsa->lock, flags);
+	ret = ucc_set_qe_mux_tsa(ucc_num, connect);
+	spin_unlock_irqrestore(&tsa->lock, flags);
…

Under which circumstances would you become interested to apply a statement
like “guard(spinlock_irqsave)(&tsa->lock);”?
https://elixir.bootlin.com/linux/v6.11-rc1/source/include/linux/spinlock.h#L572

Regards,
Markus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help