Skip to content
Commit a458d044 authored by Daniel Leung's avatar Daniel Leung Committed by Fabio Baltieri
Browse files

xtensa: allow arch-specific arch_spin_relax() with more NOPs



This adds a Kconfig to introduce the Xtensa specific
arch_spin_relax() which can do more NOPs. Some Xtensa SoCs
may need more NOPs after failure to lock a spinlock,
especially under SMP. This gives the bus extra time to
propagate the RCW transactions among CPUs.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 51726f36
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment