mbox series

[v3,0/3] target/riscv: Apply KVM policy to ISA extensions

Message ID 20221208145411.122799-1-mchitale@ventanamicro.com (mailing list archive)
Headers show
Series target/riscv: Apply KVM policy to ISA extensions | expand

Message

Mayuresh Chitale Dec. 8, 2022, 2:54 p.m. UTC
Currently the single and multi letter ISA extensions exposed to the
guest vcpu don't confirm to the KVM policies. This patchset updates the kvm headers
and applies policies set in KVM to the extensions exposed to the guest.

These patches can also be found on riscv_kvm_ext_v3 branch at:
https://github.com/mdchitale/qemu.git

Changes in v3:
- Address comments from Bin Meng

Changes in v2:
- Rebase to latest riscv-to-apply.next
- Update linux headers to version 6.1-rc8
- Add reviewed by tags

Mayuresh Chitale (3):
  update-linux-headers: Version 6.1-rc8
  target/riscv: Extend isa_ext_data for single letter extensions
  target/riscv: kvm: Support selecting VCPU extensions

 include/standard-headers/drm/drm_fourcc.h     |  34 ++++-
 include/standard-headers/linux/ethtool.h      |  63 +++++++-
 include/standard-headers/linux/fuse.h         |   6 +-
 .../linux/input-event-codes.h                 |   1 +
 include/standard-headers/linux/virtio_blk.h   |  19 +++
 linux-headers/asm-generic/hugetlb_encode.h    |  26 ++--
 linux-headers/asm-generic/mman-common.h       |   2 +
 linux-headers/asm-mips/mman.h                 |   2 +
 linux-headers/asm-riscv/kvm.h                 |   4 +
 linux-headers/linux/kvm.h                     |   1 +
 linux-headers/linux/psci.h                    |  14 ++
 linux-headers/linux/userfaultfd.h             |   4 +
 linux-headers/linux/vfio.h                    | 142 ++++++++++++++++++
 target/riscv/cpu.c                            |  52 ++++---
 target/riscv/kvm.c                            |  88 +++++++++--
 target/riscv/kvm_riscv.h                      |   2 +-
 16 files changed, 408 insertions(+), 52 deletions(-)

Comments

Alistair Francis Dec. 12, 2022, 6:01 a.m. UTC | #1
On Fri, Dec 9, 2022 at 12:57 AM Mayuresh Chitale
<mchitale@ventanamicro.com> wrote:
>
> Currently the single and multi letter ISA extensions exposed to the
> guest vcpu don't confirm to the KVM policies. This patchset updates the kvm headers
> and applies policies set in KVM to the extensions exposed to the guest.
>
> These patches can also be found on riscv_kvm_ext_v3 branch at:
> https://github.com/mdchitale/qemu.git
>
> Changes in v3:
> - Address comments from Bin Meng
>
> Changes in v2:
> - Rebase to latest riscv-to-apply.next
> - Update linux headers to version 6.1-rc8
> - Add reviewed by tags
>
> Mayuresh Chitale (3):
>   update-linux-headers: Version 6.1-rc8
>   target/riscv: Extend isa_ext_data for single letter extensions
>   target/riscv: kvm: Support selecting VCPU extensions

Thanks!

Applied to riscv-to-apply.next

Alistair

>
>  include/standard-headers/drm/drm_fourcc.h     |  34 ++++-
>  include/standard-headers/linux/ethtool.h      |  63 +++++++-
>  include/standard-headers/linux/fuse.h         |   6 +-
>  .../linux/input-event-codes.h                 |   1 +
>  include/standard-headers/linux/virtio_blk.h   |  19 +++
>  linux-headers/asm-generic/hugetlb_encode.h    |  26 ++--
>  linux-headers/asm-generic/mman-common.h       |   2 +
>  linux-headers/asm-mips/mman.h                 |   2 +
>  linux-headers/asm-riscv/kvm.h                 |   4 +
>  linux-headers/linux/kvm.h                     |   1 +
>  linux-headers/linux/psci.h                    |  14 ++
>  linux-headers/linux/userfaultfd.h             |   4 +
>  linux-headers/linux/vfio.h                    | 142 ++++++++++++++++++
>  target/riscv/cpu.c                            |  52 ++++---
>  target/riscv/kvm.c                            |  88 +++++++++--
>  target/riscv/kvm_riscv.h                      |   2 +-
>  16 files changed, 408 insertions(+), 52 deletions(-)
>
> --
> 2.34.1
>
>