Skip to content

Commit

Permalink
ARC: boards: enable ticket spinlock on nsim SMP board
Browse files Browse the repository at this point in the history
Enable ticket spinlock on nsim SMP board as they are
naturally vulnerable to spinlock unfairness due to
SMP nSIM way of work.

Signed-off-by: Eugeniy Paltsev <[email protected]>
Signed-off-by: Evgeniy Paltsev <[email protected]>
  • Loading branch information
evgeniy-paltsev committed Nov 5, 2023
1 parent a6da17a commit f3a007c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions boards/arc/nsim/nsim_hs5x_smp_12cores_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ CONFIG_SERIAL=y
CONFIG_ARC_EXCEPTION_DEBUG=y
CONFIG_SMP=y
CONFIG_MP_MAX_NUM_CPUS=12
CONFIG_TICKET_SPINLOCKS=y
1 change: 1 addition & 0 deletions boards/arc/nsim/nsim_hs5x_smp_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ CONFIG_SERIAL=y
CONFIG_ARC_EXCEPTION_DEBUG=y
CONFIG_SMP=y
CONFIG_MP_MAX_NUM_CPUS=2
CONFIG_TICKET_SPINLOCKS=y
1 change: 1 addition & 0 deletions boards/arc/nsim/nsim_hs6x_smp_12cores_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ CONFIG_SERIAL=y
CONFIG_ARC_EXCEPTION_DEBUG=y
CONFIG_SMP=y
CONFIG_MP_MAX_NUM_CPUS=12
CONFIG_TICKET_SPINLOCKS=y
1 change: 1 addition & 0 deletions boards/arc/nsim/nsim_hs6x_smp_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ CONFIG_SERIAL=y
CONFIG_ARC_EXCEPTION_DEBUG=y
CONFIG_SMP=y
CONFIG_MP_MAX_NUM_CPUS=2
CONFIG_TICKET_SPINLOCKS=y
1 change: 1 addition & 0 deletions boards/arc/nsim/nsim_hs_smp_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ CONFIG_SERIAL=y
CONFIG_ARC_EXCEPTION_DEBUG=y
CONFIG_SMP=y
CONFIG_MP_MAX_NUM_CPUS=2
CONFIG_TICKET_SPINLOCKS=y

0 comments on commit f3a007c

Please sign in to comment.