commit | 52ec4b695dbe0552bb994c4149e9122610a76668 | [log] [tgz] |
---|---|---|
author | Anup Patel <apatel@ventanamicro.com> | Wed Dec 07 09:17:43 2022 +0530 |
committer | Anup Patel <anup@brainfault.org> | Wed Dec 07 09:17:43 2022 +0530 |
tree | 0440307f122acff0d5c6af5e8ab3482b119f086b | |
parent | a1a44e227ce69459ca43aa9dadaa1b58619b18ee [diff] |
RISC-V: KVM: Save mvendorid, marchid, and mimpid when creating VCPU We should save VCPU mvendorid, marchid, and mimpid at the time of creating VCPU so that we don't have to do host SBI call every time Guest/VM ask for these details. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Atish Patra <atishp@rivosinc.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Signed-off-by: Anup Patel <anup@brainfault.org>