[PW_SID:1121945] RISC-V: KVM: Cleanup SBI extension status when disable#2217
[PW_SID:1121945] RISC-V: KVM: Cleanup SBI extension status when disable#2217linux-riscv-bot wants to merge 4 commits into
Conversation
When user disable FWFT extension after setting any value of the FWFT feature, the state of vCPU will be broken since the value of disable FWFT feature is still functional. Add the generic SBI extension validate callback so the FWFT extension can fix its parameters before the first run. Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Since the KVM SBI has extension parameters validation support, implement it for the SBI FWFT support. Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
The SBI extension validation callback can only fix the parameter if the extension is enabled. However, if the extension is disabled after modifty some parameters, the state of the extension is still broken. Reset the extension when the extenion is disabled so it can have a clear context. Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[v2,1/3] RISC-V: KVM: Add SBI extension validate callback" |
|
Patch 1: "[v2,1/3] RISC-V: KVM: Add SBI extension validate callback" |
|
Patch 1: "[v2,1/3] RISC-V: KVM: Add SBI extension validate callback" |
|
Patch 1: "[v2,1/3] RISC-V: KVM: Add SBI extension validate callback" |
|
Patch 1: "[v2,1/3] RISC-V: KVM: Add SBI extension validate callback" |
|
Patch 1: "[v2,1/3] RISC-V: KVM: Add SBI extension validate callback" |
|
Patch 1: "[v2,1/3] RISC-V: KVM: Add SBI extension validate callback" |
|
Patch 1: "[v2,1/3] RISC-V: KVM: Add SBI extension validate callback" |
|
Patch 1: "[v2,1/3] RISC-V: KVM: Add SBI extension validate callback" |
|
Patch 1: "[v2,1/3] RISC-V: KVM: Add SBI extension validate callback" |
|
Patch 1: "[v2,1/3] RISC-V: KVM: Add SBI extension validate callback" |
|
Patch 1: "[v2,1/3] RISC-V: KVM: Add SBI extension validate callback" |
|
Patch 2: "[v2,2/3] RISC-V: KVM: Add SBI FWFT validation support" |
|
Patch 2: "[v2,2/3] RISC-V: KVM: Add SBI FWFT validation support" |
|
Patch 2: "[v2,2/3] RISC-V: KVM: Add SBI FWFT validation support" |
|
Patch 2: "[v2,2/3] RISC-V: KVM: Add SBI FWFT validation support" |
|
Patch 2: "[v2,2/3] RISC-V: KVM: Add SBI FWFT validation support" |
|
Patch 2: "[v2,2/3] RISC-V: KVM: Add SBI FWFT validation support" |
|
Patch 2: "[v2,2/3] RISC-V: KVM: Add SBI FWFT validation support" |
|
Patch 2: "[v2,2/3] RISC-V: KVM: Add SBI FWFT validation support" |
|
Patch 2: "[v2,2/3] RISC-V: KVM: Add SBI FWFT validation support" |
|
Patch 2: "[v2,2/3] RISC-V: KVM: Add SBI FWFT validation support" |
|
Patch 2: "[v2,2/3] RISC-V: KVM: Add SBI FWFT validation support" |
|
Patch 2: "[v2,2/3] RISC-V: KVM: Add SBI FWFT validation support" |
|
Patch 3: "[v2,3/3] RISC-V: KVM: Reset the SBI extension when disable it" |
|
Patch 3: "[v2,3/3] RISC-V: KVM: Reset the SBI extension when disable it" |
|
Patch 3: "[v2,3/3] RISC-V: KVM: Reset the SBI extension when disable it" |
|
Patch 3: "[v2,3/3] RISC-V: KVM: Reset the SBI extension when disable it" |
|
Patch 3: "[v2,3/3] RISC-V: KVM: Reset the SBI extension when disable it" |
|
Patch 3: "[v2,3/3] RISC-V: KVM: Reset the SBI extension when disable it" |
|
Patch 3: "[v2,3/3] RISC-V: KVM: Reset the SBI extension when disable it" |
|
Patch 3: "[v2,3/3] RISC-V: KVM: Reset the SBI extension when disable it" |
|
Patch 3: "[v2,3/3] RISC-V: KVM: Reset the SBI extension when disable it" |
|
Patch 3: "[v2,3/3] RISC-V: KVM: Reset the SBI extension when disable it" |
|
Patch 3: "[v2,3/3] RISC-V: KVM: Reset the SBI extension when disable it" |
|
Patch 3: "[v2,3/3] RISC-V: KVM: Reset the SBI extension when disable it" |
89be0ce to
dc5ff20
Compare
PR for series 1121945 applied to workflow__riscv__fixes
Name: RISC-V: KVM: Cleanup SBI extension status when disable
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1121945
Version: 2