[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/3] target/riscv: Apply KVM policy to ISA extensions
From: |
Mayuresh Chitale |
Subject: |
[PATCH v2 0/3] target/riscv: Apply KVM policy to ISA extensions |
Date: |
Mon, 5 Dec 2022 15:55:06 +0530 |
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_v2 branch at:
https://github.com/mdchitale/qemu.git
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
- [PATCH v2 0/3] target/riscv: Apply KVM policy to ISA extensions,
Mayuresh Chitale <=