]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(qemu): increase max cpus per cluster to 16
authorEvgeny Iakovlev <eiakovlev@linux.microsoft.com>
Tue, 4 Apr 2023 17:41:52 +0000 (19:41 +0200)
committerEvgeny Yakovlev <eiakovlev@linux.microsoft.com>
Wed, 5 Apr 2023 11:10:50 +0000 (12:10 +0100)
commit73a7aca2a53d4dbb62909c5741830eee9eac5ee8
treed95dbb3f0329e5d6896975db87689737f7322842
parentc38a17ed04132449ccb085c06ecb10d70aa0044c
feat(qemu): increase max cpus per cluster to 16

Qemu-tcg with GICv3 emulation enabled will by default configure MPIDR
topology to report up to 16 cpus per cluster. This is NOT overriden by
qemu's -smp setting, e.g. -smp 8,clusters=2,cores=4,threads=1 will still
generate MPIDR reads as if all 8 CPUs were within one cluster.

Increase the hardcoded limit to reflect that so that we accept PSCI
calls that provide MPIDRs based on what was actually read from the
emulated CPU.

Change-Id: Ia321d555f885c96a9a94ae053b340e3a9e300e6d
Signed-off-by: Evgeny Iakovlev <eiakovlev@linux.microsoft.com>
plat/qemu/qemu/include/platform_def.h