diff options
author | Cyan Yang <cyan.yang@sifive.com> | 2024-09-20 00:01:26 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-20 12:10:44 -0400 |
commit | 3ec4350d4efb5ccb6bd0e11d9cf7f2be4f47297d (patch) | |
tree | bdcedbe7b4fa803978e777333e80592ef797146c /rust | |
parent | 773cca183440e74690dbb4f3f54bc7748f255821 (diff) |
RISCV: KVM: use raw_spinlock for critical section in imsic
For the external interrupt updating procedure in imsic, there was a
spinlock to protect it already. But since it should not be preempted in
any cases, we should turn to use raw_spinlock to prevent any preemption
in case PREEMPT_RT was enabled.
Signed-off-by: Cyan Yang <cyan.yang@sifive.com>
Reviewed-by: Yong-Xuan Wang <yongxuan.wang@sifive.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Message-ID: <20240919160126.44487-1-cyan.yang@sifive.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions