Skip to content

[PW_SID:1122023] RISC-V: KVM: Zicbo[m|z|p] block sizes should be always present in ONE_REG#2220

Closed
linux-riscv-bot wants to merge 1 commit into
workflow__riscv__fixesfrom
pw1122023
Closed

[PW_SID:1122023] RISC-V: KVM: Zicbo[m|z|p] block sizes should be always present in ONE_REG#2220
linux-riscv-bot wants to merge 1 commit into
workflow__riscv__fixesfrom
pw1122023

Conversation

@linux-riscv-bot

Copy link
Copy Markdown

PR for series 1122023 applied to workflow__riscv__fixes

Name: 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=1122023
Version: 1

…_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

Copy link
Copy Markdown
Author

Patch 1: "RISC-V: KVM: Zicbo[m|z|p] block sizes should be always present in ONE_REG"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 145.44 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "RISC-V: KVM: Zicbo[m|z|p] block sizes should be always present in ONE_REG"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1152.54 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "RISC-V: KVM: Zicbo[m|z|p] block sizes should be always present in ONE_REG"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1450.11 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "RISC-V: KVM: Zicbo[m|z|p] block sizes should be always present in ONE_REG"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 28.01 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "RISC-V: KVM: Zicbo[m|z|p] block sizes should be always present in ONE_REG"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 29.54 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "RISC-V: KVM: Zicbo[m|z|p] block sizes should be always present in ONE_REG"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.80 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "RISC-V: KVM: Zicbo[m|z|p] block sizes should be always present in ONE_REG"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 86.25 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "RISC-V: KVM: Zicbo[m|z|p] block sizes should be always present in ONE_REG"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "RISC-V: KVM: Zicbo[m|z|p] block sizes should be always present in ONE_REG"
kdoc
Desc: Detects for kdoc errors
Duration: 0.87 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "RISC-V: KVM: Zicbo[m|z|p] block sizes should be always present in ONE_REG"
module-param
Desc: Detect module_param changes
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "RISC-V: KVM: Zicbo[m|z|p] block sizes should be always present in ONE_REG"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.39 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "RISC-V: KVM: Zicbo[m|z|p] block sizes should be always present in ONE_REG"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.32 seconds
Result: PASS

@linux-riscv-bot
linux-riscv-bot deleted the pw1122023 branch July 6, 2026 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants