diff options
| author | Bibo Mao <maobibo@loongson.cn> | 2026-04-09 18:56:36 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2026-04-09 18:56:36 +0800 |
| commit | f62eb9ca8def410bcef39e8909945409d0968473 (patch) | |
| tree | 4033376a9601742d2936fee5c82ea98be25bf707 /rust/kernel/interop/git@git.tavy.me:linux-stable.git | |
| parent | 14d2714d6537a9df5bea2515185034dbb9d30f03 (diff) | |
LoongArch: KVM: Move host CSR_EENTRY save and restore in context switch
CSR register LOONGARCH_CSR_EENTRY is shared between host CPU and guest
vCPU, KVM need save and restore LOONGARCH_CSR_EENTRY register. Here move
LOONGARCH_CSR_EENTRY saving in to context switch function rather than VM
entry.
At most time VM enter/exit is much more frequent than vCPU thread context
switch.
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
