Home
last modified time | relevance | path

Searched full:zicboz (Results 1 – 11 of 11) sorted by relevance

/linux/tools/testing/selftests/riscv/hwprobe/
H A Dcbo.c72 ksft_print_msg("No Zicboz, testing cbo.zero remains privileged\n"); in test_no_zicboz()
97 is_power_of_2(block_size), "Zicboz block size\n"); in test_zicboz()
98 ksft_print_msg("Zicboz block size: %llu\n", block_size); in test_zicboz()
152 ksft_exit_fail_msg("Zicboz is only present on a subset of harts.\n" in check_no_zicboz_cpus()
153 "Use taskset to select a set of harts where Zicboz\n" in check_no_zicboz_cpus()
/linux/arch/riscv/lib/
H A Dclear_page.S24 * If Zicboz isn't present, or somehow has a block
/linux/Documentation/arch/riscv/
H A Dhwprobe.rst94 * :c:macro:`RISCV_HWPROBE_EXT_ZICBOZ`: The Zicboz extension is supported, as
271 represents the size of the Zicboz block in bytes.
/linux/arch/riscv/kernel/
H A Dcpufeature.c94 pr_err("Zicboz detected in ISA string, disabling as no cboz-block-size found\n"); in riscv_ext_zicboz_validate()
98 pr_err("Zicboz disabled as cboz-block-size present, but is not a power-of-2\n"); in riscv_ext_zicboz_validate()
315 __RISCV_ISA_EXT_SUPERSET_VALIDATE(zicboz, RISCV_ISA_EXT_ZICBOZ, riscv_xlinuxenvcfg_exts,
949 * Zicboz alternative applications provide the maximum in riscv_cpufeature_patch_check()
H A Dsys_hwprobe.c109 EXT_KEY(ZICBOZ); in hwprobe_isa_ext0()
/linux/arch/riscv/kvm/
H A Dvcpu_onereg.c62 KVM_ISA_EXT_ARR(ZICBOZ),
226 if (!riscv_isa_extension_available(vcpu->arch.isa, ZICBOZ)) in kvm_riscv_vcpu_get_reg_config()
316 if (!riscv_isa_extension_available(vcpu->arch.isa, ZICBOZ)) in kvm_riscv_vcpu_set_reg_config()
770 !riscv_isa_extension_available(vcpu->arch.isa, ZICBOZ)) in copy_config_reg_indices()
H A Dvcpu.c544 if (riscv_isa_extension_available(isa, ZICBOZ)) in kvm_riscv_vcpu_setup_config()
/linux/tools/testing/selftests/kvm/riscv/
H A Dget-reg-list.c442 KVM_ISA_EXT_ARR(ZICBOZ), in isa_ext_single_id_to_str()
869 …{"zicboz", .feature = KVM_RISCV_ISA_EXT_ZICBOZ, .regs = zicboz_regs, .regs_n = ARRAY_SIZE(zicboz_r…
973 KVM_ISA_EXT_SUBLIST_CONFIG(zicboz, ZICBOZ);
/linux/Documentation/devicetree/bindings/riscv/
H A Dcpus.yaml96 The blocksize in bytes for the Zicboz cache operations.
H A Dextensions.yaml366 - const: zicboz
368 The standard Zicboz extension for cache-block zeroing as ratified
/linux/arch/riscv/
H A DKconfig720 bool "Zicboz extension support for faster zeroing of memory"
724 Enable the use of the Zicboz extension (cbo.zero instruction)
727 The Zicboz extension is used for faster zeroing of memory.