Commit 17e82912 authored by Alvin Chang's avatar Alvin Chang Committed by Anup Patel
Browse files

sbi: sbi_domain_context: Add spinlock for updating domain assigned_harts



Add spinlock protection to avoid race condition on assigned_harts
during domain context switching. Also, rename/add variables for
accessing the corresponding domain of target/current context.

Signed-off-by: default avatarAlvin Chang <alvinga@andestech.com>
Reviewed-by: default avatarYu Chien Peter Lin <peterlin@andestech.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
parent 1d89a9da
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment