[PW_SID:1126224] RISC-V: KVM: Add Svadu/Zicfiss/Zicfilp FWFT support#2265
[PW_SID:1126224] RISC-V: KVM: Add Svadu/Zicfiss/Zicfilp FWFT support#2265linux-riscv-bot wants to merge 9 commits into
Conversation
Hardware updating of PTE A/D bits is controlled through ADUE bit in henvcfg Expose the feature only if both Svadu and Svade are supported for VS-mode. Allow the VMM to enable/disable this feature by change the ISA extension state 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>
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>
Add ssp context save/restore for guest VCPUs and also add it to the ONE_REG interface to allow its access from user space. 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 when vCPU enable Zicfiss/Zicfilp 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>
Delegate the newly added SPELP bit from Zicfilp extension to VS/VU mode if it enables landing pad support. 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: "[v6,1/8] RISC-V: KVM: Add support for Svadu FWFT features" |
|
Patch 1: "[v6,1/8] RISC-V: KVM: Add support for Svadu FWFT features" |
|
Patch 1: "[v6,1/8] RISC-V: KVM: Add support for Svadu FWFT features" |
|
Patch 1: "[v6,1/8] RISC-V: KVM: Add support for Svadu FWFT features" |
|
Patch 1: "[v6,1/8] RISC-V: KVM: Add support for Svadu FWFT features" |
|
Patch 1: "[v6,1/8] RISC-V: KVM: Add support for Svadu FWFT features" |
|
Patch 1: "[v6,1/8] RISC-V: KVM: Add support for Svadu FWFT features" |
|
Patch 1: "[v6,1/8] RISC-V: KVM: Add support for Svadu FWFT features" |
|
Patch 1: "[v6,1/8] RISC-V: KVM: Add support for Svadu FWFT features" |
|
Patch 1: "[v6,1/8] RISC-V: KVM: Add support for Svadu FWFT features" |
|
Patch 1: "[v6,1/8] RISC-V: KVM: Add support for Svadu FWFT features" |
|
Patch 1: "[v6,1/8] RISC-V: KVM: Add support for Svadu FWFT features" |
|
Patch 2: "[v6,2/8] KVM: riscv: selftests: add Svadu FWFT extension to get-reg-list test" |
|
Patch 2: "[v6,2/8] KVM: riscv: selftests: add Svadu FWFT extension to get-reg-list test" |
|
Patch 2: "[v6,2/8] KVM: riscv: selftests: add Svadu FWFT extension to get-reg-list test" |
|
Patch 2: "[v6,2/8] KVM: riscv: selftests: add Svadu FWFT extension to get-reg-list test" |
|
Patch 2: "[v6,2/8] KVM: riscv: selftests: add Svadu FWFT extension to get-reg-list test" |
|
Patch 2: "[v6,2/8] KVM: riscv: selftests: add Svadu FWFT extension to get-reg-list test" |
|
Patch 2: "[v6,2/8] KVM: riscv: selftests: add Svadu FWFT extension to get-reg-list test" |
|
Patch 2: "[v6,2/8] KVM: riscv: selftests: add Svadu FWFT extension to get-reg-list test" |
|
Patch 2: "[v6,2/8] KVM: riscv: selftests: add Svadu FWFT extension to get-reg-list test" |
|
Patch 6: "[v6,6/8] RISC-V: KVM: Delegate SPELP bit to VS/VU mode if landing pad is enabled." |
|
Patch 6: "[v6,6/8] RISC-V: KVM: Delegate SPELP bit to VS/VU mode if landing pad is enabled." |
|
Patch 7: "[v6,7/8] RISC-V: KVM: Add support for control-flow integrity FWFT features" |
|
Patch 7: "[v6,7/8] RISC-V: KVM: Add support for control-flow integrity FWFT features" |
|
Patch 7: "[v6,7/8] RISC-V: KVM: Add support for control-flow integrity FWFT features" |
|
Patch 7: "[v6,7/8] RISC-V: KVM: Add support for control-flow integrity FWFT features" |
|
Patch 7: "[v6,7/8] RISC-V: KVM: Add support for control-flow integrity FWFT features" |
|
Patch 7: "[v6,7/8] RISC-V: KVM: Add support for control-flow integrity FWFT features" |
|
Patch 7: "[v6,7/8] RISC-V: KVM: Add support for control-flow integrity FWFT features" |
|
Patch 7: "[v6,7/8] RISC-V: KVM: Add support for control-flow integrity FWFT features" |
|
Patch 7: "[v6,7/8] RISC-V: KVM: Add support for control-flow integrity FWFT features" |
|
Patch 7: "[v6,7/8] RISC-V: KVM: Add support for control-flow integrity FWFT features" |
|
Patch 7: "[v6,7/8] RISC-V: KVM: Add support for control-flow integrity FWFT features" |
|
Patch 7: "[v6,7/8] RISC-V: KVM: Add support for control-flow integrity FWFT features" |
|
Patch 8: "[v6,8/8] KVM: riscv: selftests: add Zicfiss/Zicfilp extension to get-reg-list test" |
|
Patch 8: "[v6,8/8] KVM: riscv: selftests: add Zicfiss/Zicfilp extension to get-reg-list test" |
|
Patch 8: "[v6,8/8] KVM: riscv: selftests: add Zicfiss/Zicfilp extension to get-reg-list test" |
|
Patch 8: "[v6,8/8] KVM: riscv: selftests: add Zicfiss/Zicfilp extension to get-reg-list test" |
|
Patch 8: "[v6,8/8] KVM: riscv: selftests: add Zicfiss/Zicfilp extension to get-reg-list test" |
|
Patch 8: "[v6,8/8] KVM: riscv: selftests: add Zicfiss/Zicfilp extension to get-reg-list test" |
|
Patch 8: "[v6,8/8] KVM: riscv: selftests: add Zicfiss/Zicfilp extension to get-reg-list test" |
|
Patch 8: "[v6,8/8] KVM: riscv: selftests: add Zicfiss/Zicfilp extension to get-reg-list test" |
|
Patch 8: "[v6,8/8] KVM: riscv: selftests: add Zicfiss/Zicfilp extension to get-reg-list test" |
|
Patch 8: "[v6,8/8] KVM: riscv: selftests: add Zicfiss/Zicfilp extension to get-reg-list test" |
|
Patch 8: "[v6,8/8] KVM: riscv: selftests: add Zicfiss/Zicfilp extension to get-reg-list test" |
|
Patch 8: "[v6,8/8] KVM: riscv: selftests: add Zicfiss/Zicfilp extension to get-reg-list test" |
869345e to
f54dc6c
Compare
PR for series 1126224 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=1126224
Version: 6