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

Mayuresh Chitale posted 3 patches 1 year, 4 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20221208145411.122799-1-mchitale@ventanamicro.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, Cornelia Huck <cohuck@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Palmer Dabbelt <palmer@dabbelt.com>, Alistair Francis <alistair.francis@wdc.com>, Bin Meng <bin.meng@windriver.com>
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(-)
[PATCH v3 0/3] target/riscv: Apply KVM policy to ISA extensions
Posted by Mayuresh Chitale 1 year, 4 months ago
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(-)

-- 
2.34.1
Re: [PATCH v3 0/3] target/riscv: Apply KVM policy to ISA extensions
Posted by Alistair Francis 1 year, 4 months ago
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
>
>