[PW_SID:1122610] [v3] RISC-V: KVM: Zicbo[m|z|p] block sizes should be always present in ONE_REG#2230
Closed
linux-riscv-bot wants to merge 2 commits into
Closed
[PW_SID:1122610] [v3] RISC-V: KVM: Zicbo[m|z|p] block sizes should be always present in ONE_REG#2230linux-riscv-bot wants to merge 2 commits into
linux-riscv-bot wants to merge 2 commits into
Conversation
…_REG All config and core registers of the KVM RISC-V ONE_REG interface are expected to be always available to the KVM user-space and the KVM get-reg-list selftest assumes these registers to be as base registers. Currently, the Zicbo[m|z|p] block size config registers are only available when corresponding ISA extension is present on the host which breaks the above expectation. In fact, KVM get-reg-list selftest fails when any of the Zicbo[m|z|p] ISA extension is not present on host. To address this issue, drop the ISA extension checks from kvm_riscv_vcpu_get/set_reg_config() and copy_config_reg_indices() functions. Fixes: 031f9ef ("KVM: riscv: Add KVM_GET_REG_LIST API support") Fixes: a044ef7 ("RISC-V: KVM: use ENOENT in *_one_reg() when extension is unavailable") Fixes: 48e2feb ("RISC-V: KVM: Provide UAPI for Zicbop block size") Fixes: cf05b05 ("RISC-V: KVM: Introduce common kvm_riscv_isa_check_host()") Signed-off-by: Anup Patel <anup.patel@oss.qualcomm.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
linux-riscv-bot
force-pushed
the
workflow__riscv__fixes
branch
7 times, most recently
from
July 13, 2026 20:05
869345e to
f54dc6c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR for series 1122610 applied to workflow__riscv__fixes
Name: [v3] RISC-V: KVM: Zicbo[m|z|p] block sizes should be always present in ONE_REG
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1122610
Version: 3