-
Notifications
You must be signed in to change notification settings - Fork 2
[PW_SID:1029070] RISC-V: KVM: Add Zicfiss/Zicfilp support #1168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: workflow__riscv__fixes
Are you sure you want to change the base?
Conversation
Extend the KVM ISA extension ONE_REG interface to allow KVM user space to detect and enable zicfiss/zicfilp exts for Guest/VM, the rules defined in the spec [1] are as follows: Signed-off-by: Linux RISC-V bot <[email protected]>
zicfiss / zicfilp introduces a new exception to priv isa `software check exception` with cause code = 18. Delegate this exception to VS mode because cfi violations in VU/VS will be reported via this exception. RISC-V KVM should ensure that even if the SBI implementation ignores hedeleg settings and routes VS-mode software check exceptions to HS mode, KVM still correctly forwards them to the guest. Otherwise, these exceptions would exit to userspace and terminate the guest. Signed-off-by: Quan Zhou <[email protected]> Signed-off-by: Linux RISC-V bot <[email protected]>
Add support in KVM SBI FWFT extension to allow VS-mode to request
SBI_FWFT_{LANDING_PAD/SHADOW_STACK/PTE_AD_HW_UPDATING}.
Signed-off-by: Quan Zhou <[email protected]>
Signed-off-by: Linux RISC-V bot <[email protected]>
…reg-list test The KVM RISC-V allows zicfiss/zicfilp/svadu and SBI FWFT for Guest/VM, so add them to get-reg-list test. Signed-off-by: Quan Zhou <[email protected]> Signed-off-by: Linux RISC-V bot <[email protected]>
|
Patch 1: "[1/4] RISC-V: KVM: Allow zicfiss/zicfilp exts for Guest/VM" |
|
Patch 1: "[1/4] RISC-V: KVM: Allow zicfiss/zicfilp exts for Guest/VM" |
|
Patch 1: "[1/4] RISC-V: KVM: Allow zicfiss/zicfilp exts for Guest/VM" |
|
Patch 1: "[1/4] RISC-V: KVM: Allow zicfiss/zicfilp exts for Guest/VM" |
|
Patch 1: "[1/4] RISC-V: KVM: Allow zicfiss/zicfilp exts for Guest/VM" |
|
Patch 1: "[1/4] RISC-V: KVM: Allow zicfiss/zicfilp exts for Guest/VM" |
|
Patch 1: "[1/4] RISC-V: KVM: Allow zicfiss/zicfilp exts for Guest/VM" |
|
Patch 1: "[1/4] RISC-V: KVM: Allow zicfiss/zicfilp exts for Guest/VM" |
|
Patch 1: "[1/4] RISC-V: KVM: Allow zicfiss/zicfilp exts for Guest/VM" |
|
Patch 1: "[1/4] RISC-V: KVM: Allow zicfiss/zicfilp exts for Guest/VM" |
|
Patch 1: "[1/4] RISC-V: KVM: Allow zicfiss/zicfilp exts for Guest/VM" |
|
Patch 1: "[1/4] RISC-V: KVM: Allow zicfiss/zicfilp exts for Guest/VM" |
|
Patch 2: "[2/4] RISC-V: KVM: Add support for software check exception" |
|
Patch 2: "[2/4] RISC-V: KVM: Add support for software check exception" |
|
Patch 2: "[2/4] RISC-V: KVM: Add support for software check exception" |
|
Patch 2: "[2/4] RISC-V: KVM: Add support for software check exception" |
|
Patch 2: "[2/4] RISC-V: KVM: Add support for software check exception" |
|
Patch 2: "[2/4] RISC-V: KVM: Add support for software check exception" |
|
Patch 2: "[2/4] RISC-V: KVM: Add support for software check exception" |
|
Patch 2: "[2/4] RISC-V: KVM: Add support for software check exception" |
|
Patch 2: "[2/4] RISC-V: KVM: Add support for software check exception" |
|
Patch 2: "[2/4] RISC-V: KVM: Add support for software check exception" |
|
Patch 2: "[2/4] RISC-V: KVM: Add support for software check exception" |
|
Patch 2: "[2/4] RISC-V: KVM: Add support for software check exception" |
|
Patch 3: "[3/4] RISC-V: KVM: Add suuport for zicfiss/zicfilp/svadu FWFT features" |
|
Patch 3: "[3/4] RISC-V: KVM: Add suuport for zicfiss/zicfilp/svadu FWFT features" |
|
Patch 3: "[3/4] RISC-V: KVM: Add suuport for zicfiss/zicfilp/svadu FWFT features" |
|
Patch 3: "[3/4] RISC-V: KVM: Add suuport for zicfiss/zicfilp/svadu FWFT features" |
|
Patch 3: "[3/4] RISC-V: KVM: Add suuport for zicfiss/zicfilp/svadu FWFT features" |
|
Patch 3: "[3/4] RISC-V: KVM: Add suuport for zicfiss/zicfilp/svadu FWFT features" |
|
Patch 3: "[3/4] RISC-V: KVM: Add suuport for zicfiss/zicfilp/svadu FWFT features" |
|
Patch 3: "[3/4] RISC-V: KVM: Add suuport for zicfiss/zicfilp/svadu FWFT features" |
|
Patch 3: "[3/4] RISC-V: KVM: Add suuport for zicfiss/zicfilp/svadu FWFT features" |
|
Patch 3: "[3/4] RISC-V: KVM: Add suuport for zicfiss/zicfilp/svadu FWFT features" |
|
Patch 3: "[3/4] RISC-V: KVM: Add suuport for zicfiss/zicfilp/svadu FWFT features" |
|
Patch 3: "[3/4] RISC-V: KVM: Add suuport for zicfiss/zicfilp/svadu FWFT features" |
|
Patch 4: "[4/4] KVM: riscv: selftests: Add zicfiss/zicfilp/svadu and SBI FWFT to get-reg-list test" |
|
Patch 4: "[4/4] KVM: riscv: selftests: Add zicfiss/zicfilp/svadu and SBI FWFT to get-reg-list test" |
|
Patch 4: "[4/4] KVM: riscv: selftests: Add zicfiss/zicfilp/svadu and SBI FWFT to get-reg-list test" |
|
Patch 4: "[4/4] KVM: riscv: selftests: Add zicfiss/zicfilp/svadu and SBI FWFT to get-reg-list test" |
|
Patch 4: "[4/4] KVM: riscv: selftests: Add zicfiss/zicfilp/svadu and SBI FWFT to get-reg-list test" |
|
Patch 4: "[4/4] KVM: riscv: selftests: Add zicfiss/zicfilp/svadu and SBI FWFT to get-reg-list test" |
|
Patch 4: "[4/4] KVM: riscv: selftests: Add zicfiss/zicfilp/svadu and SBI FWFT to get-reg-list test" |
|
Patch 4: "[4/4] KVM: riscv: selftests: Add zicfiss/zicfilp/svadu and SBI FWFT to get-reg-list test" |
|
Patch 4: "[4/4] KVM: riscv: selftests: Add zicfiss/zicfilp/svadu and SBI FWFT to get-reg-list test" |
|
Patch 4: "[4/4] KVM: riscv: selftests: Add zicfiss/zicfilp/svadu and SBI FWFT to get-reg-list test" |
|
Patch 4: "[4/4] KVM: riscv: selftests: Add zicfiss/zicfilp/svadu and SBI FWFT to get-reg-list test" |
|
Patch 4: "[4/4] KVM: riscv: selftests: Add zicfiss/zicfilp/svadu and SBI FWFT to get-reg-list test" |
PR for series 1029070 applied to workflow__riscv__fixes
Name: RISC-V: KVM: Add Zicfiss/Zicfilp support
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1029070
Version: 1