Skip to content

Commit

Permalink
riscv: virt: Relax the configurations related to hart/thread number
Browse files Browse the repository at this point in the history
Do not force the CFG_TEE_CORE_NB_CORE and CFG_NUM_THREADS to be 1, since
we may run SMP system which has multiple harts and threads.

Signed-off-by: Alvin Chang <[email protected]>
Acked-by: Jerome Forissier <[email protected]>
Reviewed-by: Marouene Boubakri <[email protected]>
  • Loading branch information
gagachang committed Dec 7, 2023
1 parent 6004e80 commit c6a4b1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/arch/riscv/plat-virt/conf.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ $(call force,CFG_WITH_STACK_CANARIES,n)
$(call force,CFG_CORE_SANITIZE_KADDRESS,n)

# Hart-related flags
$(call force,CFG_TEE_CORE_NB_CORE,1)
$(call force,CFG_NUM_THREADS,1)
CFG_TEE_CORE_NB_CORE ?= 1
CFG_NUM_THREADS ?= 1
$(call force,CFG_BOOT_SYNC_CPU,y)

# RISC-V-specific flags
Expand Down

0 comments on commit c6a4b1c

Please sign in to comment.