Skip to content

Commit ea20f11

Browse files
Andrew Jonespalmer-dabbelt
authored andcommitted
dt-bindings: riscv: Document cboz-block-size
The Zicboz operation (cbo.zero) operates on a block-size defined for the cpu-core. While we already have the riscv,cbom-block-size property, it only provides the block size for Zicbom operations. Even though it's likely Zicboz and Zicbom will use the same size, that's not required by the specification. Create another property specifically for Zicboz. Cc: Rob Herring <robh@kernel.org> Signed-off-by: Andrew Jones <ajones@ventanamicro.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20230224162631.405473-4-ajones@ventanamicro.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent 8b05e7d commit ea20f11

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • Documentation/devicetree/bindings/riscv

Documentation/devicetree/bindings/riscv/cpus.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ properties:
7272
description:
7373
The blocksize in bytes for the Zicbom cache operations.
7474

75+
riscv,cboz-block-size:
76+
$ref: /schemas/types.yaml#/definitions/uint32
77+
description:
78+
The blocksize in bytes for the Zicboz cache operations.
79+
7580
riscv,isa:
7681
description:
7782
Identifies the specific RISC-V instruction set architecture

0 commit comments

Comments
 (0)