Re: [PATCH v8 18/24] KVM: riscv: selftests: Add helper functions for extension checks

2024-04-23 Thread Muhammad Usama Anjum
On 4/20/24 8:17 PM, Atish Patra wrote: > __vcpu_has_ext can check both SBI and ISA extensions when the first > argument is properly converted to SBI/ISA extension IDs. Introduce > two helper functions to make life easier for developers so they > don't have to worry about the conversions. > > Repla

Re: [PATCH v8 18/24] KVM: riscv: selftests: Add helper functions for extension checks

2024-04-21 Thread Anup Patel
On Sat, Apr 20, 2024 at 5:18 AM Atish Patra wrote: > > __vcpu_has_ext can check both SBI and ISA extensions when the first > argument is properly converted to SBI/ISA extension IDs. Introduce > two helper functions to make life easier for developers so they > don't have to worry about the conversi

[PATCH v8 18/24] KVM: riscv: selftests: Add helper functions for extension checks

2024-04-19 Thread Atish Patra
__vcpu_has_ext can check both SBI and ISA extensions when the first argument is properly converted to SBI/ISA extension IDs. Introduce two helper functions to make life easier for developers so they don't have to worry about the conversions. Replace the current usages as well with new helpers. Re