Skip to content

[PW_SID:995746] Add Zilsd/Zclsd support in hwprobe and KVM - #840

Closed
linux-riscv-bot wants to merge 5 commits into
workflow__riscv__fixesfrom
pw995746
Closed

[PW_SID:995746] Add Zilsd/Zclsd support in hwprobe and KVM#840
linux-riscv-bot wants to merge 5 commits into
workflow__riscv__fixesfrom
pw995746

Conversation

@linux-riscv-bot

Copy link
Copy Markdown

PR for series 995746 applied to workflow__riscv__fixes

Name: Add Zilsd/Zclsd support in hwprobe and KVM
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=995746
Version: 2

wpcwzy added 5 commits August 26, 2025 16:51
Add descriptions for the Zilsd (Load/Store pair instructions) and
Zclsd (Compressed Load/Store pair instructions) ISA extensions
which were ratified in commit f88abf1 ("Integrating load/store
pair for RV32 with the main manual") of the riscv-isa-manual.

Signed-off-by: Pincheng Wang <pincheng.plct@isrc.iscas.ac.cn>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Add parsing for Zilsd and Zclsd ISA extensions which were ratified in
commit f88abf1 ("Integrating load/store pair for RV32 with the
main manual") of the riscv-isa-manual.

Signed-off-by: Pincheng Wang <pincheng.plct@isrc.iscas.ac.cn>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Export Zilsd and Zclsd ISA extensions through hwprobe.

Signed-off-by: Pincheng Wang <pincheng.plct@isrc.iscas.ac.cn>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Extend the KVM ISA extension ONE_REG interface to allow KVM user space
to detect and enable Zilsd and Zclsd extensions for Guest/VM.

Signed-off-by: Pincheng Wang <pincheng.plct@isrc.iscas.ac.cn>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
…test

The KVM RISC-V allows Zilsd and Zclsd extensions for Guest/VM so add
this extension to get-reg-list test.

Signed-off-by: Pincheng Wang <pincheng.plct@isrc.iscas.ac.cn>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2,1/5] dt-bindings: riscv: add Zilsd and Zclsd extension descriptions"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 105.85 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2,1/5] dt-bindings: riscv: add Zilsd and Zclsd extension descriptions"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1046.48 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2,1/5] dt-bindings: riscv: add Zilsd and Zclsd extension descriptions"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1353.73 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2,1/5] dt-bindings: riscv: add Zilsd and Zclsd extension descriptions"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 21.39 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2,1/5] dt-bindings: riscv: add Zilsd and Zclsd extension descriptions"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 22.87 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2,1/5] dt-bindings: riscv: add Zilsd and Zclsd extension descriptions"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.67 seconds
Result: WARNING
Output:

WARNING: Unknown commit id 'f88abf1', maybe rebased or not pulled?
#9: 
which were ratified in commit f88abf1 ("Integrating load/store

total: 0 errors, 1 warnings, 0 checks, 54 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

Commit a00dfcb44eeb ("dt-bindings: riscv: add Zilsd and Zclsd extension descriptions") has style problems, please review.

NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.
total: 0 errors, 1 warnings, 0 checks, 54 lines checked
WARNING: Unknown commit id 'f88abf1', maybe rebased or not pulled?


@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2,1/5] dt-bindings: riscv: add Zilsd and Zclsd extension descriptions"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 76.20 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2,1/5] dt-bindings: riscv: add Zilsd and Zclsd extension descriptions"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2,1/5] dt-bindings: riscv: add Zilsd and Zclsd extension descriptions"
kdoc
Desc: Detects for kdoc errors
Duration: 0.89 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2,1/5] dt-bindings: riscv: add Zilsd and Zclsd extension descriptions"
module-param
Desc: Detect module_param changes
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2,1/5] dt-bindings: riscv: add Zilsd and Zclsd extension descriptions"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.21 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2,1/5] dt-bindings: riscv: add Zilsd and Zclsd extension descriptions"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.29 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v2,2/5] riscv: add ISA extension parsing for Zilsd and Zclsd"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 107.18 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v2,2/5] riscv: add ISA extension parsing for Zilsd and Zclsd"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1767.68 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v2,2/5] riscv: add ISA extension parsing for Zilsd and Zclsd"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 2199.20 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v2,2/5] riscv: add ISA extension parsing for Zilsd and Zclsd"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 21.79 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v2,2/5] riscv: add ISA extension parsing for Zilsd and Zclsd"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 23.08 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v2,2/5] riscv: add ISA extension parsing for Zilsd and Zclsd"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.96 seconds
Result: WARNING
Output:

WARNING: Unknown commit id 'f88abf1', maybe rebased or not pulled?
#7: 
commit f88abf1 ("Integrating load/store pair for RV32 with the

CHECK: Alignment should match open parenthesis
#39: FILE: arch/riscv/kernel/cpufeature.c:246:
+static int riscv_ext_zilsd_validate(const struct riscv_isa_ext_data *data,
+		  const unsigned long *isa_bitmap)

CHECK: Alignment should match open parenthesis
#54: FILE: arch/riscv/kernel/cpufeature.c:261:
+	if (__riscv_isa_extension_available(isa_bitmap, RISCV_ISA_EXT_ZILSD) &&
+		__riscv_isa_extension_available(isa_bitmap, RISCV_ISA_EXT_ZCA))

total: 0 errors, 1 warnings, 2 checks, 44 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

Commit a0ba48f53b1e ("riscv: add ISA extension parsing for Zilsd and Zclsd") has style problems, please review.

NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.
total: 0 errors, 1 warnings, 2 checks, 44 lines checked
CHECK: Alignment should match open parenthesis
WARNING: Unknown commit id 'f88abf1', maybe rebased or not pulled?


@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v2,2/5] riscv: add ISA extension parsing for Zilsd and Zclsd"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 75.42 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v2,2/5] riscv: add ISA extension parsing for Zilsd and Zclsd"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v2,2/5] riscv: add ISA extension parsing for Zilsd and Zclsd"
kdoc
Desc: Detects for kdoc errors
Duration: 0.92 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v2,2/5] riscv: add ISA extension parsing for Zilsd and Zclsd"
module-param
Desc: Detect module_param changes
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v2,2/5] riscv: add ISA extension parsing for Zilsd and Zclsd"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v2,2/5] riscv: add ISA extension parsing for Zilsd and Zclsd"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.30 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[v2,3/5] riscv: hwprobe: export Zilsd and Zclsd ISA extensions"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 106.67 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[v2,3/5] riscv: hwprobe: export Zilsd and Zclsd ISA extensions"
kdoc
Desc: Detects for kdoc errors
Duration: 0.85 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[v2,3/5] riscv: hwprobe: export Zilsd and Zclsd ISA extensions"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[v2,3/5] riscv: hwprobe: export Zilsd and Zclsd ISA extensions"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.21 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 3: "[v2,3/5] riscv: hwprobe: export Zilsd and Zclsd ISA extensions"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.30 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 4: "[v2,4/5] riscv: KVM: allow Zilsd and Zclsd extensions for Guest/VM"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 106.57 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 4: "[v2,4/5] riscv: KVM: allow Zilsd and Zclsd extensions for Guest/VM"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1163.13 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 4: "[v2,4/5] riscv: KVM: allow Zilsd and Zclsd extensions for Guest/VM"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1625.05 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 4: "[v2,4/5] riscv: KVM: allow Zilsd and Zclsd extensions for Guest/VM"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 21.64 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 4: "[v2,4/5] riscv: KVM: allow Zilsd and Zclsd extensions for Guest/VM"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 22.48 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 4: "[v2,4/5] riscv: KVM: allow Zilsd and Zclsd extensions for Guest/VM"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.91 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 4: "[v2,4/5] riscv: KVM: allow Zilsd and Zclsd extensions for Guest/VM"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 76.78 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 4: "[v2,4/5] riscv: KVM: allow Zilsd and Zclsd extensions for Guest/VM"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 4: "[v2,4/5] riscv: KVM: allow Zilsd and Zclsd extensions for Guest/VM"
kdoc
Desc: Detects for kdoc errors
Duration: 0.90 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 4: "[v2,4/5] riscv: KVM: allow Zilsd and Zclsd extensions for Guest/VM"
module-param
Desc: Detect module_param changes
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 4: "[v2,4/5] riscv: KVM: allow Zilsd and Zclsd extensions for Guest/VM"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.21 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 4: "[v2,4/5] riscv: KVM: allow Zilsd and Zclsd extensions for Guest/VM"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.29 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 5: "[v2,5/5] KVM: riscv: selftests: add Zilsd and Zclsd extension to get-reg-list test"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 105.90 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 5: "[v2,5/5] KVM: riscv: selftests: add Zilsd and Zclsd extension to get-reg-list test"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1048.80 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 5: "[v2,5/5] KVM: riscv: selftests: add Zilsd and Zclsd extension to get-reg-list test"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1347.20 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 5: "[v2,5/5] KVM: riscv: selftests: add Zilsd and Zclsd extension to get-reg-list test"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 20.98 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 5: "[v2,5/5] KVM: riscv: selftests: add Zilsd and Zclsd extension to get-reg-list test"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 22.72 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 5: "[v2,5/5] KVM: riscv: selftests: add Zilsd and Zclsd extension to get-reg-list test"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.74 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 5: "[v2,5/5] KVM: riscv: selftests: add Zilsd and Zclsd extension to get-reg-list test"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 75.89 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 5: "[v2,5/5] KVM: riscv: selftests: add Zilsd and Zclsd extension to get-reg-list test"
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 5: "[v2,5/5] KVM: riscv: selftests: add Zilsd and Zclsd extension to get-reg-list test"
kdoc
Desc: Detects for kdoc errors
Duration: 0.86 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 5: "[v2,5/5] KVM: riscv: selftests: add Zilsd and Zclsd extension to get-reg-list test"
module-param
Desc: Detect module_param changes
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 5: "[v2,5/5] KVM: riscv: selftests: add Zilsd and Zclsd extension to get-reg-list test"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 5: "[v2,5/5] KVM: riscv: selftests: add Zilsd and Zclsd extension to get-reg-list test"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.31 seconds
Result: PASS

@linux-riscv-bot
linux-riscv-bot deleted the pw995746 branch September 3, 2025 00:58
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