Commit 3a94a325 authored by Yu Chien Peter Lin's avatar Yu Chien Peter Lin Committed by Anup Patel
Browse files

sbi: sbi_domain_context: Fix trap context for domain context switching

Save/restore sbi_trap_context during domain context switching to
ensure proper trap handling and isolation. This maintains correct
domain-specific state, avoiding context corruption.

Fixes: abea9497

 ("lib: sbi: Introduce trap context")
Signed-off-by: default avatarYu Chien Peter Lin <peterlin@andestech.com>
Reviewed-by: default avatarAlvin Chang <alvinga@andestech.com>
Tested-by: default avatarAlvin Chang <alvinga@andestech.com>
Reviewed-by: default avatarYong Li <yong.li@intel.com>
Tested-by: default avatarYong Li <yong.li@intel.com>
parent a73ff043
Pipeline #3639 failed with stages
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