diff options
| author | Anup Patel <anup.patel@oss.qualcomm.com> | 2026-01-20 13:29:53 +0530 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2026-04-03 17:35:43 +0530 |
| commit | 0ee5501441cc7536271073063f13390164148e25 (patch) | |
| tree | fac88ebf8403fa636578ff373d7f7c431d272aaf /rust/kernel/interop/git@git.tavy.me:linux-stable.git | |
| parent | b1834e5afbcd463c83f99dc12e1863803d5a1803 (diff) | |
RISC-V: KVM: Add hideleg to struct kvm_vcpu_config
The hideleg CSR state when VCPU is running in guest VS/VU-mode will
be different from when it is running in guest HS-mode. To achieve
this, add hideleg to struct kvm_vcpu_config and re-program hideleg
CSR upon every kvm_arch_vcpu_load().
Signed-off-by: Anup Patel <anup.patel@oss.qualcomm.com>
Reviewed-by: Radim Krčmář <radim.krcmar@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260120080013.2153519-8-anup.patel@oss.qualcomm.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
