Searched hist:"9 bfd900beeecaba009ccde8cf13716d3cac4d2e1" (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/arch/riscv/include/asm/ |
H A D | kvm_vcpu_fp.h | diff 9bfd900beeecaba009ccde8cf13716d3cac4d2e1 Fri Jul 29 06:44:11 CDT 2022 Atish Patra <atishp@rivosinc.com> RISC-V: KVM: Improve ISA extension by using a bitmap
Currently, the every vcpu only stores the ISA extensions in a unsigned long which is not scalable as number of extensions will continue to grow. Using a bitmap allows the ISA extension to support any number of extensions. The CONFIG one reg interface implementation is modified to support the bitmap as well. But it is meant only for base extensions. Thus, the first element of the bitmap array is sufficient for that interface.
In the future, all the new multi-letter extensions must use the ISA_EXT one reg interface that allows enabling/disabling any extension now.
Signed-off-by: Atish Patra <atishp@rivosinc.com> Signed-off-by: Anup Patel <anup@brainfault.org>
|
H A D | kvm_host.h | diff 9bfd900beeecaba009ccde8cf13716d3cac4d2e1 Fri Jul 29 06:44:11 CDT 2022 Atish Patra <atishp@rivosinc.com> RISC-V: KVM: Improve ISA extension by using a bitmap
Currently, the every vcpu only stores the ISA extensions in a unsigned long which is not scalable as number of extensions will continue to grow. Using a bitmap allows the ISA extension to support any number of extensions. The CONFIG one reg interface implementation is modified to support the bitmap as well. But it is meant only for base extensions. Thus, the first element of the bitmap array is sufficient for that interface.
In the future, all the new multi-letter extensions must use the ISA_EXT one reg interface that allows enabling/disabling any extension now.
Signed-off-by: Atish Patra <atishp@rivosinc.com> Signed-off-by: Anup Patel <anup@brainfault.org>
|
/openbmc/linux/arch/riscv/kvm/ |
H A D | vcpu_fp.c | diff 9bfd900beeecaba009ccde8cf13716d3cac4d2e1 Fri Jul 29 06:44:11 CDT 2022 Atish Patra <atishp@rivosinc.com> RISC-V: KVM: Improve ISA extension by using a bitmap
Currently, the every vcpu only stores the ISA extensions in a unsigned long which is not scalable as number of extensions will continue to grow. Using a bitmap allows the ISA extension to support any number of extensions. The CONFIG one reg interface implementation is modified to support the bitmap as well. But it is meant only for base extensions. Thus, the first element of the bitmap array is sufficient for that interface.
In the future, all the new multi-letter extensions must use the ISA_EXT one reg interface that allows enabling/disabling any extension now.
Signed-off-by: Atish Patra <atishp@rivosinc.com> Signed-off-by: Anup Patel <anup@brainfault.org>
|
H A D | vcpu.c | diff 9bfd900beeecaba009ccde8cf13716d3cac4d2e1 Fri Jul 29 06:44:11 CDT 2022 Atish Patra <atishp@rivosinc.com> RISC-V: KVM: Improve ISA extension by using a bitmap
Currently, the every vcpu only stores the ISA extensions in a unsigned long which is not scalable as number of extensions will continue to grow. Using a bitmap allows the ISA extension to support any number of extensions. The CONFIG one reg interface implementation is modified to support the bitmap as well. But it is meant only for base extensions. Thus, the first element of the bitmap array is sufficient for that interface.
In the future, all the new multi-letter extensions must use the ISA_EXT one reg interface that allows enabling/disabling any extension now.
Signed-off-by: Atish Patra <atishp@rivosinc.com> Signed-off-by: Anup Patel <anup@brainfault.org>
|