summaryrefslogtreecommitdiff
path: root/platform/qemu
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2018-12-21 07:39:33 +0300
committerAnup Patel <anup@brainfault.org>2018-12-21 07:39:33 +0300
commit6f02b6938f8e607d38ee8de5a59581d554af0d3f (patch)
treeedcac6ee2fd3eff80d9d9fedd40070e24ed8c453 /platform/qemu
parentb023176c17e655f9371df65f6fddc0c1bcbb1fc7 (diff)
downloadopensbi-6f02b6938f8e607d38ee8de5a59581d554af0d3f.tar.xz
lib: Introduce bitmap to track HARTs waiting for coldboot
On QEMU Virt, max supported HARTs are 8 but number of HARTs actually depend on "-smp" command-line parameter passed to QEMU. This creates problems in sbi_hart_wake_coldboot_harts() because when number of HARTs are less than 8. To tackle this, we introduce a bitmap to track HARTs waiting for coldboot to finish. We wake only those HARTs who have set their bit in coldboot bitmap. Signed-off-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'platform/qemu')
0 files changed, 0 insertions, 0 deletions