Skip to content
Commit e885c8c4 authored by Xudong Zheng's avatar Xudong Zheng Committed by Benjamin Cabé
Browse files

drivers: serial: pl011: prevent concurrent interrupt callback execution



Since the callback can be executed from either software or a hardware
interrupt, it's possible for multiple instances of the callback function
to run concurrently. That should not happen and can be particularly
problematic on SMP systems. This commit adds a spinlock to prevent
concurrent execution.

This addresses a Twister CI failure discovered in #85539.

Signed-off-by: default avatarXudong Zheng <7pkvm5aw@slicealias.com>
parent 784f5b5b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment