commit | a458d0443a91d818bd9de3df886d96fa1afbebc5 | [log] [tgz] |
---|---|---|
author | Daniel Leung <daniel.leung@intel.com> | Tue Jul 18 17:44:58 2023 -0700 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Thu Jul 20 10:47:47 2023 +0000 |
tree | fb44085a14a2284f0dc2dbdf47dc084435e8dd87 | |
parent | 51726f3648dc6fa257e9267e7e48848fcf45b622 [diff] |
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: Daniel Leung <daniel.leung@intel.com>