mbox series

[0/3] target/riscv/kvm: support 'vlenb' and vregs[]

Message ID 20240123161714.160149-1-dbarboza@ventanamicro.com
Headers show
Series target/riscv/kvm: support 'vlenb' and vregs[] | expand

Message

Daniel Henrique Barboza Jan. 23, 2024, 4:17 p.m. UTC
Hi,

This short series implements both 'vlenb' and 'vregs[]' in the KVM
driver.

The patches were done a couple of months ago but we were missing some
changes in Linux (support to 'vlenb' in KVM) that got upstreamed
recently with Linux 6.8.

Patches based on top of Alistair's riscv-to-apply.next that already has
the 'remove vlen, add vlenb' changes.

Daniel Henrique Barboza (3):
  target/riscv/kvm: change kvm_reg_id to uint64_t
  target/riscv/kvm: initialize 'vlenb' via get-reg-list
  target/riscv/kvm: get/set vector vregs[]

 target/riscv/kvm/kvm-cpu.c | 144 +++++++++++++++++++++++++++++++++++--
 1 file changed, 138 insertions(+), 6 deletions(-)

Comments

Alistair Francis Jan. 25, 2024, 4:48 a.m. UTC | #1
On Wed, Jan 24, 2024 at 2:18 AM Daniel Henrique Barboza
<dbarboza@ventanamicro.com> wrote:
>
> Hi,
>
> This short series implements both 'vlenb' and 'vregs[]' in the KVM
> driver.
>
> The patches were done a couple of months ago but we were missing some
> changes in Linux (support to 'vlenb' in KVM) that got upstreamed
> recently with Linux 6.8.
>
> Patches based on top of Alistair's riscv-to-apply.next that already has
> the 'remove vlen, add vlenb' changes.
>
> Daniel Henrique Barboza (3):
>   target/riscv/kvm: change kvm_reg_id to uint64_t
>   target/riscv/kvm: initialize 'vlenb' via get-reg-list
>   target/riscv/kvm: get/set vector vregs[]

Thanks!

Applied to riscv-to-apply.next

Alistair

>
>  target/riscv/kvm/kvm-cpu.c | 144 +++++++++++++++++++++++++++++++++++--
>  1 file changed, 138 insertions(+), 6 deletions(-)
>
> --
> 2.43.0
>
>