Haibo Xu 1e979288c9 KVM: riscv: selftests: Add guest helper to get vcpu id
Add guest_get_vcpuid() helper to simplify accessing to per-cpu
private data. The sscratch CSR was used to store the vcpu id.

Signed-off-by: Haibo Xu <haibo1.xu@intel.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
2024-03-06 20:53:23 +05:30
..
2023-08-24 10:41:47 -04:00
2024-01-08 10:57:34 -08:00
2024-01-18 14:35:29 -08:00
2023-06-29 10:11:10 -07:00
2023-02-23 09:37:29 -08:00
2023-11-01 17:08:10 -10:00
2023-10-15 20:07:52 +01:00
2023-04-25 11:05:04 -07:00
2023-10-05 14:22:53 -06:00
2023-11-03 07:41:18 -10:00
2023-08-21 13:46:25 -07:00
2024-01-11 10:07:29 -08:00