[PW_SID:1103852] RISC-V: KVM: Add Svadu/Zicfiss/Zicfilp FWFT support#2036
[PW_SID:1103852] RISC-V: KVM: Add Svadu/Zicfiss/Zicfilp FWFT support#2036linux-riscv-bot wants to merge 7 commits into
Conversation
Hardware updating of PTE A/D bits is controlled through ADUE bit in henvcfg Expose the feature only if the Svadu is supported for VS-mode. Allow the VMM to block access to the feature by disabling the ISA extension in the guest. Assisted-by: YuanSheng:claude-4.7-opus Co-developed-by: Quan Zhou <zhouquan@iscas.ac.cn> Signed-off-by: Quan Zhou <zhouquan@iscas.ac.cn> Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
The KVM RISC-V allows Svadu FWFT for Guest/VM so add this extension to get-reg-list test. Assisted-by: YuanSheng:claude-4.7-opus Co-developed-by: Quan Zhou <zhouquan@iscas.ac.cn> Signed-off-by: Quan Zhou <zhouquan@iscas.ac.cn> Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Since the Svadu extension can be controlled by the FWFT, there is no need to enable Svadu at startup. Only enable it when it is requested. Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Extend the KVM ISA extension array to allow KVM userspace to detect and enable Zicfiss/Zicfilp extensions for Guest/VM. Assisted-by: YuanSheng:claude-4.7-opus Co-developed-by: Quan Zhou <zhouquan@iscas.ac.cn> Signed-off-by: Quan Zhou <zhouquan@iscas.ac.cn> Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
The extension Zicfiss/Zicfilp introduces a software-check exception to the privilege architecture. Delegate this exception to VS mode so the CFI violations in VU/VS could be reported. Assisted-by: YuanSheng:claude-4.7-opus Co-developed-by: Quan Zhou <zhouquan@iscas.ac.cn> Signed-off-by: Quan Zhou <zhouquan@iscas.ac.cn> Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Control-flow integrity is controlled through a WARL field in henvcfg. Expose the feature only if the Zicfilp/Zicfiss is supported for VS-mode. Allow the VMM to block access to the feature by disabling the ISA extension in the guest. Assisted-by: YuanSheng:claude-4.7-opus Co-developed-by: Quan Zhou <zhouquan@iscas.ac.cn> Signed-off-by: Quan Zhou <zhouquan@iscas.ac.cn> Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
…test The KVM RISC-V allows Zicfiss/Zicfilp extensions for Guest/VM so add these extensions to get-reg-list test. Assisted-by: YuanSheng:claude-4.7-opus Co-developed-by: Quan Zhou <zhouquan@iscas.ac.cn> Signed-off-by: Quan Zhou <zhouquan@iscas.ac.cn> Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[v2,1/7] RISC-V: KVM: Add support for Svadu FWFT features" |
|
Patch 1: "[v2,1/7] RISC-V: KVM: Add support for Svadu FWFT features" |
|
Patch 1: "[v2,1/7] RISC-V: KVM: Add support for Svadu FWFT features" |
|
Patch 1: "[v2,1/7] RISC-V: KVM: Add support for Svadu FWFT features" |
|
Patch 1: "[v2,1/7] RISC-V: KVM: Add support for Svadu FWFT features" |
|
Patch 1: "[v2,1/7] RISC-V: KVM: Add support for Svadu FWFT features" |
|
Patch 1: "[v2,1/7] RISC-V: KVM: Add support for Svadu FWFT features" |
|
Patch 1: "[v2,1/7] RISC-V: KVM: Add support for Svadu FWFT features" |
|
Patch 1: "[v2,1/7] RISC-V: KVM: Add support for Svadu FWFT features" |
|
Patch 1: "[v2,1/7] RISC-V: KVM: Add support for Svadu FWFT features" |
|
Patch 1: "[v2,1/7] RISC-V: KVM: Add support for Svadu FWFT features" |
|
Patch 1: "[v2,1/7] RISC-V: KVM: Add support for Svadu FWFT features" |
|
Patch 2: "[v2,2/7] KVM: riscv: selftests: add Svadu FWFT extension to get-reg-list test" |
|
Patch 2: "[v2,2/7] KVM: riscv: selftests: add Svadu FWFT extension to get-reg-list test" |
|
Patch 2: "[v2,2/7] KVM: riscv: selftests: add Svadu FWFT extension to get-reg-list test" |
|
Patch 2: "[v2,2/7] KVM: riscv: selftests: add Svadu FWFT extension to get-reg-list test" |
|
Patch 2: "[v2,2/7] KVM: riscv: selftests: add Svadu FWFT extension to get-reg-list test" |
|
Patch 2: "[v2,2/7] KVM: riscv: selftests: add Svadu FWFT extension to get-reg-list test" |
|
Patch 2: "[v2,2/7] KVM: riscv: selftests: add Svadu FWFT extension to get-reg-list test" |
|
Patch 2: "[v2,2/7] KVM: riscv: selftests: add Svadu FWFT extension to get-reg-list test" |
|
Patch 2: "[v2,2/7] KVM: riscv: selftests: add Svadu FWFT extension to get-reg-list test" |
|
Patch 2: "[v2,2/7] KVM: riscv: selftests: add Svadu FWFT extension to get-reg-list test" |
|
Patch 2: "[v2,2/7] KVM: riscv: selftests: add Svadu FWFT extension to get-reg-list test" |
|
Patch 5: "[v2,5/7] RISC-V: KVM: Handle software-check exits for VCPU" |
|
Patch 5: "[v2,5/7] RISC-V: KVM: Handle software-check exits for VCPU" |
|
Patch 5: "[v2,5/7] RISC-V: KVM: Handle software-check exits for VCPU" |
|
Patch 5: "[v2,5/7] RISC-V: KVM: Handle software-check exits for VCPU" |
|
Patch 5: "[v2,5/7] RISC-V: KVM: Handle software-check exits for VCPU" |
|
Patch 5: "[v2,5/7] RISC-V: KVM: Handle software-check exits for VCPU" |
|
Patch 6: "[v2,6/7] RISC-V: KVM: Add support for control-flow integrity FWFT features" |
|
Patch 6: "[v2,6/7] RISC-V: KVM: Add support for control-flow integrity FWFT features" |
|
Patch 6: "[v2,6/7] RISC-V: KVM: Add support for control-flow integrity FWFT features" |
|
Patch 6: "[v2,6/7] RISC-V: KVM: Add support for control-flow integrity FWFT features" |
|
Patch 6: "[v2,6/7] RISC-V: KVM: Add support for control-flow integrity FWFT features" |
|
Patch 6: "[v2,6/7] RISC-V: KVM: Add support for control-flow integrity FWFT features" |
|
Patch 6: "[v2,6/7] RISC-V: KVM: Add support for control-flow integrity FWFT features" |
|
Patch 6: "[v2,6/7] RISC-V: KVM: Add support for control-flow integrity FWFT features" |
|
Patch 6: "[v2,6/7] RISC-V: KVM: Add support for control-flow integrity FWFT features" |
|
Patch 6: "[v2,6/7] RISC-V: KVM: Add support for control-flow integrity FWFT features" |
|
Patch 6: "[v2,6/7] RISC-V: KVM: Add support for control-flow integrity FWFT features" |
|
Patch 6: "[v2,6/7] RISC-V: KVM: Add support for control-flow integrity FWFT features" |
|
Patch 7: "[v2,7/7] KVM: riscv: selftests: add Zicfiss/Zicfilp extension to get-reg-list test" |
|
Patch 7: "[v2,7/7] KVM: riscv: selftests: add Zicfiss/Zicfilp extension to get-reg-list test" |
|
Patch 7: "[v2,7/7] KVM: riscv: selftests: add Zicfiss/Zicfilp extension to get-reg-list test" |
|
Patch 7: "[v2,7/7] KVM: riscv: selftests: add Zicfiss/Zicfilp extension to get-reg-list test" |
|
Patch 7: "[v2,7/7] KVM: riscv: selftests: add Zicfiss/Zicfilp extension to get-reg-list test" |
|
Patch 7: "[v2,7/7] KVM: riscv: selftests: add Zicfiss/Zicfilp extension to get-reg-list test" |
|
Patch 7: "[v2,7/7] KVM: riscv: selftests: add Zicfiss/Zicfilp extension to get-reg-list test" |
|
Patch 7: "[v2,7/7] KVM: riscv: selftests: add Zicfiss/Zicfilp extension to get-reg-list test" |
|
Patch 7: "[v2,7/7] KVM: riscv: selftests: add Zicfiss/Zicfilp extension to get-reg-list test" |
|
Patch 7: "[v2,7/7] KVM: riscv: selftests: add Zicfiss/Zicfilp extension to get-reg-list test" |
|
Patch 7: "[v2,7/7] KVM: riscv: selftests: add Zicfiss/Zicfilp extension to get-reg-list test" |
|
Patch 7: "[v2,7/7] KVM: riscv: selftests: add Zicfiss/Zicfilp extension to get-reg-list test" |
PR for series 1103852 applied to workflow__riscv__fixes
Name: RISC-V: KVM: Add Svadu/Zicfiss/Zicfilp FWFT support
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1103852
Version: 2