soc: arc: enable SYSTEM_CLOCK_SLOPPY for SMP

in SMP, arc uses gfrc as wall clock, so it's ok
to enable SYSTEM_CLOCK_SLOPPY to avoid unnecessary
interrupts

Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
This commit is contained in:
Wayne Ren 2019-10-25 07:52:35 +08:00 committed by Andrew Boie
commit b4ddc10b42
2 changed files with 15 additions and 1 deletions

View file

@ -36,6 +36,13 @@ config ARC_CONNECT
config MP_NUM_CPUS
default 4
if SMP
# When SMP is enabled, use gfrc as wall clock, so sloppy
# idle should be y
config SYSTEM_CLOCK_SLOPPY_IDLE
default y
endif
if SERIAL
config UART_NS16550

View file

@ -33,4 +33,11 @@ config ARC_CONNECT
config MP_NUM_CPUS
default 2
endif # SOC_NSIM_HS_SMP
if SMP
# When SMP is enabled, use gfrc as wall clock, so sloppy
# idle should be y
config SYSTEM_CLOCK_SLOPPY_IDLE
default y
endif
endif #SOC_NSIM_HS_SMP