target/riscv/kvm: update to Linux 6.14-rc3
v3 cover target/riscv/kvm: update to Linux 6.14-rc3
Hi,
In this series we made changes in the commit msg in patch 2 to make it less ambiguious what the KVM driver will do with ziccrse.
No other changes made. Patches based on alistair/riscv_to_apply.next.
Changes from v2:
- patch 2:
- reworded commit message
- v2 link: https://lore.kernel.org/qemu-riscv/[email protected]/
Daniel Henrique Barboza (3):
linux-headers: Update to Linux v6.14-rc3 target/riscv/cpu.c: create flag for ziccrse target/riscv/kvm: add extensions after 6.14-rc3 update
include/standard-headers/linux/ethtool.h | 4 + include/standard-headers/linux/fuse.h | 76 ++++++++++++++++++- .../linux/input-event-codes.h | 1 + include/standard-headers/linux/pci_regs.h | 16 ++-- include/standard-headers/linux/virtio_pci.h | 14 ++++ linux-headers/asm-arm64/kvm.h | 3 - linux-headers/asm-loongarch/kvm_para.h | 1 + linux-headers/asm-riscv/kvm.h | 7 +- linux-headers/asm-x86/kvm.h | 1 + linux-headers/linux/iommufd.h | 35 ++++++--- linux-headers/linux/kvm.h | 8 +- linux-headers/linux/stddef.h | 13 +++- linux-headers/linux/vduse.h | 2 +- target/riscv/cpu.c | 3 +- target/riscv/cpu_cfg.h | 3 + target/riscv/kvm/kvm-cpu.c | 3 + target/riscv/tcg/tcg-cpu.c | 2 + 17 files changed, 156 insertions(+), 36 deletions(-)
Signature · 1 line
2.48.1
PATCH v3 1/3 linux-headers: Update to Linux v6.14-rc3
Update headers to retrieve the latest KVM caps for RISC-V.
--- include/standard-headers/linux/ethtool.h | 4 + include/standard-headers/linux/fuse.h | 76 ++++++++++++++++++- .../linux/input-event-codes.h | 1 + include/standard-headers/linux/pci_regs.h | 16 ++-- include/standard-headers/linux/virtio_pci.h | 14 ++++ linux-headers/asm-arm64/kvm.h | 3 - linux-headers/asm-loongarch/kvm_para.h | 1 + linux-headers/asm-riscv/kvm.h | 7 +- linux-headers/asm-x86/kvm.h | 1 + linux-headers/linux/iommufd.h | 35 ++++++--- linux-headers/linux/kvm.h | 8 +- linux-headers/linux/stddef.h | 13 +++- linux-headers/linux/vduse.h | 2 +- 13 files changed, 146 insertions(+), 35 deletions(-)
include/standard-headers/linux/ethtool.h +4 -0
@@ -681,6 +681,8 @@ enum ethtool_link_ext_substate_module {* @ETH_SS_STATS_ETH_MAC: names of IEEE 802.3 MAC statistics * @ETH_SS_STATS_ETH_CTRL: names of IEEE 802.3 MAC Control statistics * @ETH_SS_STATS_RMON: names of RMON statistics +* @ETH_SS_STATS_PHY: names of PHY(dev) statistics +* @ETH_SS_TS_FLAGS: hardware timestamping flags * * @ETH_SS_COUNT: number of defined string sets */
@@ -706,6 +708,8 @@ enum ethtool_stringset {ETH_SS_STATS_ETH_MAC ,ETH_SS_STATS_ETH_CTRL ,ETH_SS_STATS_RMON , +ETH_SS_STATS_PHY , +ETH_SS_TS_FLAGS ,/* add new constants above here */ ETH_SS_COUNT
include/standard-headers/linux/fuse.h +75 -1
104 lines not on this page · raw message
include/standard-headers/linux/input-event-codes.h +1 -0
@@ -519,6 +519,7 @@#define KEY_NOTIFICATION_CENTER 0x1bc/* Show/hide the notification center */ #define KEY_PICKUP_PHONE 0x1bd/* Answer incoming call */ #define KEY_HANGUP_PHONE 0x1be/* Decline incoming call */ +#define KEY_LINK_PHONE 0x1bf/* AL Phone Syncing */ #define KEY_DEL_EOL 0x1c0#define KEY_DEL_EOS 0x1c1
include/standard-headers/linux/pci_regs.h +8 -8
@@ -533,7 +533,7 @@#define PCI_EXP_DEVSTA_TRPND 0x0020/* Transactions Pending */ #define PCI_CAP_EXP_RC_ENDPOINT_SIZEOF_V1 12/* v1 endpoints without link end here */ #define PCI_EXP_LNKCAP 0x0c/* Link Capabilities */ -#define PCI_EXP_LNKCAP_SLS 0x0000000f/* Supported Link Speeds */ +#define PCI_EXP_LNKCAP_SLS 0x0000000f/* Max Link Speed (prior to PCIe r3.0: Supported Link Speeds) */ #define PCI_EXP_LNKCAP_SLS_2_5GB 0x00000001/* LNKCAP2 SLS Vector bit 0 */ #define PCI_EXP_LNKCAP_SLS_5_0GB 0x00000002/* LNKCAP2 SLS Vector bit 1 */ #define PCI_EXP_LNKCAP_SLS_8_0GB 0x00000003/* LNKCAP2 SLS Vector bit 2 */
@@ -665,6 +665,7 @@#define PCI_EXP_DEVCAP2_OBFF_MSG 0x00040000/* New message signaling */ #define PCI_EXP_DEVCAP2_OBFF_WAKE 0x00080000/* Re-use WAKE# for OBFF */ #define PCI_EXP_DEVCAP2_EE_PREFIX 0x00200000/* End-End TLP Prefix */ +#define PCI_EXP_DEVCAP2_EE_PREFIX_MAX 0x00c00000/* Max End-End TLP Prefixes */ #define PCI_EXP_DEVCTL2 0x28/* Device Control 2 */ #define PCI_EXP_DEVCTL2_COMP_TIMEOUT 0x000f/* Completion Timeout Value */ #define PCI_EXP_DEVCTL2_COMP_TMOUT_DIS 0x0010/* Completion Timeout Disable */
@@ -789,10 +790,11 @@/* Same bits as above */ #define PCI_ERR_CAP 0x18/* Advanced Error Capabilities & Ctrl*/ #define PCI_ERR_CAP_FEP (x) ((x) & 0x1f)/* First Error Pointer */ -#define PCI_ERR_CAP_ECRC_GENC 0x00000020/* ECRC Generation Capable */ -#define PCI_ERR_CAP_ECRC_GENE 0x00000040/* ECRC Generation Enable */ -#define PCI_ERR_CAP_ECRC_CHKC 0x00000080/* ECRC Check Capable */ -#define PCI_ERR_CAP_ECRC_CHKE 0x00000100/* ECRC Check Enable */ +#define PCI_ERR_CAP_ECRC_GENC 0x00000020/* ECRC Generation Capable */ +#define PCI_ERR_CAP_ECRC_GENE 0x00000040/* ECRC Generation Enable */ +#define PCI_ERR_CAP_ECRC_CHKC 0x00000080/* ECRC Check Capable */ +#define PCI_ERR_CAP_ECRC_CHKE 0x00000100/* ECRC Check Enable */ +#define PCI_ERR_CAP_PREFIX_LOG_PRESENT 0x00000800/* TLP Prefix Log Present */ #define PCI_ERR_HEADER_LOG 0x1c/* Header Log Register (16 bytes) */ #define PCI_ERR_ROOT_COMMAND 0x2c/* Root Error Command */ #define PCI_ERR_ROOT_CMD_COR_EN 0x00000001/* Correctable Err Reporting Enable */
@@ -808,6 +810,7 @@#define PCI_ERR_ROOT_FATAL_RCV 0x00000040/* Fatal Received */ #define PCI_ERR_ROOT_AER_IRQ 0xf8000000/* Advanced Error Interrupt Message Number */ #define PCI_ERR_ROOT_ERR_SRC 0x34/* Error Source Identification */ +#define PCI_ERR_PREFIX_LOG 0x38/* TLP Prefix LOG Register (up to 16 bytes) */ /* Virtual Channel */ #define PCI_VC_PORT_CAP1 0x04
@@ -1001,9 +1004,6 @@#define PCI_ACS_CTRL 0x06/* ACS Control Register */ #define PCI_ACS_EGRESS_CTL_V 0x08/* ACS Egress Control Vector */ -#define PCI_VSEC_HDR 4/* extended cap - vendor-specific */ -#define PCI_VSEC_HDR_LEN_SHIFT 20/* shift for length field */ -/* SATA capability */ #define PCI_SATA_REGS 4/* SATA REGs specifier */ #define PCI_SATA_REGS_MASK 0xF/* location - BAR#/inline */
include/standard-headers/linux/virtio_pci.h +14 -0
@@ -116,6 +116,8 @@#define VIRTIO_PCI_CAP_PCI_CFG 5/* Additional shared memory capability */ #define VIRTIO_PCI_CAP_SHARED_MEMORY_CFG 8 +/* PCI vendor data configuration */ +#define VIRTIO_PCI_CAP_VENDOR_CFG 9/* This is the PCI capability header: */ struct virtio_pci_cap {
@@ -130,6 +132,18 @@ struct virtio_pci_cap {uint32_t length;/* Length of the structure, in bytes. */ }; +/* This is the PCI vendor data capability header: */ +struct virtio_pci_vndr_data { +uint8_t cap_vndr;/* Generic PCI field: PCI_CAP_ID_VNDR */ +uint8_t cap_next;/* Generic PCI field: next ptr. */ +uint8_t cap_len;/* Generic PCI field: capability length */ +uint8_t cfg_type;/* Identifies the structure. */ +uint16_t vendor_id;/* Identifies the vendor-specific format. */ +/* For Vendor Definition */ +/* Pads structure to a multiple of 4 bytes */ +/* Reads must not have side effects */ +}; +struct virtio_pci_cap64 {struct virtio_pci_cap cap;uint32_t offset_hi;/* Most sig 32 bits of offset */
linux-headers/asm-arm64/kvm.h +0 -3
@@ -43,9 +43,6 @@#define KVM_COALESCED_MMIO_PAGE_OFFSET 1#define KVM_DIRTY_LOG_PAGE_OFFSET 64 -#define KVM_REG_SIZE (id) \ - (1U << (((id) & KVM_REG_SIZE_MASK) >> KVM_REG_SIZE_SHIFT)) -struct kvm_regs {struct user_pt_regs regs;/* sp = sp_el0 */
linux-headers/asm-loongarch/kvm_para.h +1 -0
@@ -17,5 +17,6 @@#define KVM_FEATURE_STEAL_TIME 2/* BIT 24 - 31 are features configurable by user space vmm */ #define KVM_FEATURE_VIRT_EXTIOI 24 +#define KVM_FEATURE_USER_HCALL 25#endif /* _ASM_KVM_PARA_H */
linux-headers/asm-riscv/kvm.h +4 -3
@@ -179,6 +179,9 @@ enum KVM_RISCV_ISA_EXT_ID {KVM_RISCV_ISA_EXT_SSNPM ,KVM_RISCV_ISA_EXT_SVADE ,KVM_RISCV_ISA_EXT_SVADU , +KVM_RISCV_ISA_EXT_SVVPTC , +KVM_RISCV_ISA_EXT_ZABHA , +KVM_RISCV_ISA_EXT_ZICCRSE , KVM_RISCV_ISA_EXT_MAX, };
@@ -198,6 +201,7 @@ enum KVM_RISCV_SBI_EXT_ID {KVM_RISCV_SBI_EXT_VENDOR ,KVM_RISCV_SBI_EXT_DBCN ,KVM_RISCV_SBI_EXT_STA , +KVM_RISCV_SBI_EXT_SUSP , KVM_RISCV_SBI_EXT_MAX, };
@@ -211,9 +215,6 @@ struct kvm_riscv_sbi_sta {#define KVM_RISCV_TIMER_STATE_OFF 0#define KVM_RISCV_TIMER_STATE_ON 1 -#define KVM_REG_SIZE (id) \ - (1U << (((id) & KVM_REG_SIZE_MASK) >> KVM_REG_SIZE_SHIFT)) -/* If you need to interpret the index values, here is the key: */ #define KVM_REG_RISCV_TYPE_MASK 0x00000000FF000000#define KVM_REG_RISCV_TYPE_SHIFT 24
linux-headers/asm-x86/kvm.h +1 -0
@@ -923,5 +923,6 @@ struct kvm_hyperv_eventfd {#define KVM_X86_SEV_VM 2#define KVM_X86_SEV_ES_VM 3#define KVM_X86_SNP_VM 4 +#define KVM_X86_TDX_VM 5#endif /* _ASM_X86_KVM_H */
linux-headers/linux/iommufd.h +23 -12
@@ -297,7 +297,7 @@ struct iommu_ioas_unmap {* ioctl(IOMMU_OPTION_HUGE_PAGES) * @IOMMU_OPTION_RLIMIT_MODE: * Change how RLIMIT_MEMLOCK accounting works. The caller must have privilege -* to invoke this. Value 0 (default) is user based accouting, 1 uses process +* to invoke this. Value 0 (default) is user based accounting, 1 uses process * based accounting. Global option, object_id must be 0 * @IOMMU_OPTION_HUGE_PAGES: * Value 1 (default) allows contiguous pages to be combined when generating
@@ -390,7 +390,7 @@ struct iommu_vfio_ioas {* @IOMMU_HWPT_ALLOC_PASID: Requests a domain that can be used with PASID. The * domain can be attached to any PASID on the device. * Any domain attached to the non-PASID part of the -* device must also be flaged, otherwise attaching a +* device must also be flagged, otherwise attaching a * PASID will blocked. * If IOMMU does not support PASID it will return * error (-EOPNOTSUPP).
@@ -558,16 +558,25 @@ struct iommu_hw_info_vtd {* For the details of @idr, @iidr and @aidr, please refer to the chapters * from 6.3.1 to 6.3.6 in the SMMUv3 Spec. * -* User space should read the underlying ARM SMMUv3 hardware information for -* the list of supported features. +* This reports the raw HW capability, and not all bits are meaningful to be +* read by userspace. Only the following fields should be used: * -* Note that these values reflect the raw HW capability, without any insight if -* any required kernel driver support is present. Bits may be set indicating the -* HW has functionality that is lacking kernel software support, such as BTM. If -* a VMM is using this information to construct emulated copies of these -* registers it should only forward bits that it knows it can support. +* idr[0]: ST_LEVEL, TERM_MODEL, STALL_MODEL, TTENDIAN , CD2L, ASID16, TTF +* idr[1]: SIDSIZE, SSIDSIZE +* idr[3]: BBML, RIL +* idr[5]: VAX, GRAN64K, GRAN16K, GRAN4K * -* In future, presence of required kernel support will be indicated in flags. +* - S1P should be assumed to be true if a NESTED HWPT can be created +* - VFIO/iommufd only support platforms with COHACC, it should be assumed to be +* true. +* - ATS is a per-device property. If the VMM describes any devices as ATS +* capable in ACPI/DT it should set the corresponding idr. +* +* This list may expand in future (eg E0PD, AIE, PBHA, D128, DS etc). It is +* important that VMMs do not read bits outside the list to allow for +* compatibility with future kernels. Several features in the SMMUv3 +* architecture are not currently supported by the kernel for nesting: HTTU, +* BTM, MPAM and others. */ struct iommu_hw_info_arm_smmuv3 {__u32 flags;
@@ -766,7 +775,7 @@ struct iommu_hwpt_vtd_s1_invalidate { };/** -* struct iommu_viommu_arm_smmuv3_invalidate - ARM SMMUv3 cahce invalidation +* struct iommu_viommu_arm_smmuv3_invalidate - ARM SMMUv3 cache invalidation * (IOMMU_VIOMMU_INVALIDATE_DATA_ARM_SMMUV3) * @cmd: 128-bit cache invalidation command that runs in SMMU CMDQ. * Must be little-endian.
@@ -859,6 +868,7 @@ enum iommu_hwpt_pgfault_perm {* @pasid: Process Address Space ID * @grpid: Page Request Group Index * @perm: Combination of enum iommu_hwpt_pgfault_perm +* @__reserved: Must be 0. * @addr: Fault address * @length: a hint of how much data the requestor is expecting to fetch. For * example, if the PRI initiator knows it is going to do a 10MB
@@ -874,7 +884,8 @@ struct iommu_hwpt_pgfault {__u32 pasid;__u32 grpid;__u32 perm; -__u64 addr; +__u32 __reserved; +__aligned_u64 addr;__u32 length;__u32 cookie; };
linux-headers/linux/kvm.h +4 -4
@@ -609,10 +609,6 @@ struct kvm_ioeventfd {#define KVM_X86_DISABLE_EXITS_HLT (1 << 1)#define KVM_X86_DISABLE_EXITS_PAUSE (1 << 2)#define KVM_X86_DISABLE_EXITS_CSTATE (1 << 3) -#define KVM_X86_DISABLE_VALID_EXITS (KVM_X86_DISABLE_EXITS_MWAIT | \ - KVM_X86_DISABLE_EXITS_HLT | \ - KVM_X86_DISABLE_EXITS_PAUSE | \ - KVM_X86_DISABLE_EXITS_CSTATE)/* for KVM_ENABLE_CAP */ struct kvm_enable_cap {
@@ -1062,6 +1058,10 @@ struct kvm_dirty_tlb {#define KVM_REG_SIZE_SHIFT 52#define KVM_REG_SIZE_MASK 0x00f0000000000000ULL + +#define KVM_REG_SIZE (id) \ + (1U << (((id) & KVM_REG_SIZE_MASK) >> KVM_REG_SIZE_SHIFT)) +#define KVM_REG_SIZE_U8 0x0000000000000000ULL#define KVM_REG_SIZE_U16 0x0010000000000000ULL#define KVM_REG_SIZE_U32 0x0020000000000000ULL
linux-headers/linux/stddef.h +10 -3
@@ -8,6 +8,13 @@#define __always_inline __inline__#endif +/* Not all C++ standards support type declarations inside an anonymous union */ +#ifndef __cplusplus +#define __struct_group_tag (TAG ) TAG +#else +#define __struct_group_tag (TAG ) +#endif +/** * __struct_group() - Create a mirrored named and anonyomous struct *
@@ -20,13 +27,13 @@* and size: one anonymous and one named. The former's members can be used * normally without sub-struct naming, and the latter can be used to * reason about the start, end, and size of the group of struct members. -* The named struct can also be explicitly tagged for layer reuse, as well -* as both having struct attributes appended. +* The named struct can also be explicitly tagged for layer reuse (C only), +* as well as both having struct attributes appended. */ #define __struct_group(TAG, NAME, ATTRS, MEMBERS...) \ union { \ struct { MEMBERS } ATTRS; \ - struct TAG { MEMBERS } ATTRS NAME; \ + struct __struct_group_tag(TAG) { MEMBERS } ATTRS NAME; \ } ATTRS#ifdef __cplusplus
linux-headers/linux/vduse.h +1 -1
@@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ #ifndef _VDUSE_H_#define _VDUSE_H_
Signature · 1 line
2.48.1
PATCH v3 2/3 target/riscv/cpu.c: create flag for ziccrse
In reply to Daniel Henrique BarbozaAt this moment ziccrse is a TCG always enabled named feature for priv_ver > 1.11 that has no exclusive flag. In the next patch we'll make the KVM driver turn ziccrse off if the extension isn't available in the host, and we'll need an ext_ziccrse flag in the CPU state for that.
Create an exclusive flag for it like we do with other named features. As with any named features we already have, it won't be exposed to users.
--- target/riscv/cpu.c | 3 ++- target/riscv/cpu_cfg.h | 3 +++ target/riscv/tcg/tcg-cpu.c | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-)
target/riscv/cpu.c +2 -1
@@ -105,7 +105,7 @@ const RISCVIsaExtData isa_edata_arr[] = {ISA_EXT_DATA_ENTRY (ziccamoa,PRIV_VERSION_1_11_0 , has_priv_1_11),ISA_EXT_DATA_ENTRY (ziccif,PRIV_VERSION_1_11_0 , has_priv_1_11),ISA_EXT_DATA_ENTRY (zicclsm,PRIV_VERSION_1_11_0 , has_priv_1_11), -ISA_EXT_DATA_ENTRY (ziccrse,PRIV_VERSION_1_11_0 , has_priv_1_11), +ISA_EXT_DATA_ENTRY (ziccrse,PRIV_VERSION_1_11_0 , ext_ziccrse),ISA_EXT_DATA_ENTRY (zicfilp,PRIV_VERSION_1_12_0 , ext_zicfilp),ISA_EXT_DATA_ENTRY (zicfiss,PRIV_VERSION_1_13_0 , ext_zicfiss), ISA_EXT_DATA_ENTRY(zicond, PRIV_VERSION_1_12_0, ext_zicond),
@@ -1749,6 +1749,7 @@ const RISCVCPUMultiExtConfig riscv_cpu_named_features[] = {MULTI_EXT_CFG_BOOL ("zic64b" , ext_zic64b, true),MULTI_EXT_CFG_BOOL ("ssstateen" , ext_ssstateen, true),MULTI_EXT_CFG_BOOL ("sha" , ext_sha, true), + MULTI_EXT_CFG_BOOL("ziccrse", ext_ziccrse, true), { }, };
target/riscv/cpu_cfg.h +3 -0
@@ -166,6 +166,9 @@ struct RISCVCPUConfig {bool has_priv_1_12;bool has_priv_1_11; +/* Always enabled for TCG if has_priv_1_11 */ +bool ext_ziccrse; +/* Vendor-specific custom extensions */ bool ext_xtheadba;bool ext_xtheadbb;
target/riscv/tcg/tcg-cpu.c +2 -0
@@ -360,6 +360,8 @@ static void riscv_cpu_update_named_features(RISCVCPU *cpu) cpu->cfg.ext_sha =riscv_has_ext (&cpu->env,RVH ) && cpu->cfg.ext_ssstateen; + + cpu->cfg.ext_ziccrse = cpu->cfg.has_priv_1_11; }static void riscv_cpu_validate_g (RISCVCPU *cpu)
Signature · 1 line
2.48.1
PATCH v3 3/3 target/riscv/kvm: add extensions after 6.14-rc3 update
In reply to Daniel Henrique BarbozaExpose ziccrse, zabha and svvptc.
--- target/riscv/kvm/kvm-cpu.c | 3 +++ 1 file changed, 3 insertions(+)
target/riscv/kvm/kvm-cpu.c +3 -0
@@ -274,6 +274,7 @@ static void kvm_riscv_update_cpu_misa_ext(RISCVCPU *cpu, CPUState *cs)static KVMCPUConfig kvm_multi_ext_cfgs[] = {KVM_EXT_CFG ("zicbom" , ext_zicbom,KVM_RISCV_ISA_EXT_ZICBOM ),KVM_EXT_CFG ("zicboz" , ext_zicboz,KVM_RISCV_ISA_EXT_ZICBOZ ), +KVM_EXT_CFG ("ziccrse" , ext_ziccrse,KVM_RISCV_ISA_EXT_ZICCRSE ),KVM_EXT_CFG ("zicntr" , ext_zicntr,KVM_RISCV_ISA_EXT_ZICNTR ),KVM_EXT_CFG ("zicond" , ext_zicond,KVM_RISCV_ISA_EXT_ZICOND ),KVM_EXT_CFG ("zicsr" , ext_zicsr,KVM_RISCV_ISA_EXT_ZICSR ),
@@ -283,6 +284,7 @@ static KVMCPUConfig kvm_multi_ext_cfgs[] = {KVM_EXT_CFG ("zihpm" , ext_zihpm,KVM_RISCV_ISA_EXT_ZIHPM ),KVM_EXT_CFG ("zimop" , ext_zimop,KVM_RISCV_ISA_EXT_ZIMOP ),KVM_EXT_CFG ("zcmop" , ext_zcmop,KVM_RISCV_ISA_EXT_ZCMOP ), +KVM_EXT_CFG ("zabha" , ext_zabha,KVM_RISCV_ISA_EXT_ZABHA ),KVM_EXT_CFG ("zacas" , ext_zacas,KVM_RISCV_ISA_EXT_ZACAS ),KVM_EXT_CFG ("zawrs" , ext_zawrs,KVM_RISCV_ISA_EXT_ZAWRS ), KVM_EXT_CFG("zfa", ext_zfa, KVM_RISCV_ISA_EXT_ZFA),
@@ -325,6 +327,7 @@ static KVMCPUConfig kvm_multi_ext_cfgs[] = {KVM_EXT_CFG ("svinval" , ext_svinval,KVM_RISCV_ISA_EXT_SVINVAL ),KVM_EXT_CFG ("svnapot" , ext_svnapot,KVM_RISCV_ISA_EXT_SVNAPOT ),KVM_EXT_CFG ("svpbmt" , ext_svpbmt,KVM_RISCV_ISA_EXT_SVPBMT ), + KVM_EXT_CFG("svvptc", ext_svvptc, KVM_RISCV_ISA_EXT_SVVPTC), };static void *kvmconfig_get_cfg_addr (RISCVCPU *cpu,KVMCPUConfig *kvmcfg)
Signature · 1 line
2.48.1