Skip to content

Commit

Permalink
core: arm: add CFG_NS_VIRTUALIZATION boot log
Browse files Browse the repository at this point in the history
Add a log entry when CFG_NS_VIRTUALIZATION is enabled, for example:
D/TC:0 0   boot_init_primary_late:1028 NS-Virtualization enabled, supporting 2 guests

Signed-off-by: Jens Wiklander <[email protected]>
Reviewed-by: Jerome Forissier <[email protected]>
  • Loading branch information
jenswi-linaro committed Sep 23, 2024
1 parent 24aa3cb commit 45c5964
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/arch/arm/kernel/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -1023,6 +1023,10 @@ void __weak boot_init_primary_late(unsigned long fdt __unused,
#ifdef CFG_CORE_ASLR
DMSG("Executing at offset %#lx with virtual load address %#"PRIxVA,
(unsigned long)boot_mmu_config.map_offset, VCORE_START_VA);
#endif
#ifdef CFG_NS_VIRTUALIZATION
DMSG("NS-virtualization enabled, supporting %u guests",
CFG_VIRT_GUEST_COUNT);
#endif
if (IS_ENABLED(CFG_MEMTAG))
DMSG("Memory tagging %s",
Expand Down

0 comments on commit 45c5964

Please sign in to comment.