Skip to content

Commit d1afce6

Browse files
mmindpalmer-dabbelt
authored andcommitted
dt-bindings: riscv: document cbom-block-size
The Zicbom operates on a block-size defined for the cpu-core, which does not necessarily match other cache-sizes used. So add the necessary property for the system to know the core's block-size. Reviewed-by: Anup Patel <anup@brainfault.org> Reviewed-by: Guo Ren <guoren@kernel.org> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://lore.kernel.org/r/20220706231536.2041855-3-heiko@sntech.de Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent 12b8277 commit d1afce6

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
@@ -63,6 +63,11 @@ properties:
6363
- riscv,sv48
6464
- riscv,none
6565

66+
riscv,cbom-block-size:
67+
$ref: /schemas/types.yaml#/definitions/uint32
68+
description:
69+
The blocksize in bytes for the Zicbom cache operations.
70+
6671
riscv,isa:
6772
description:
6873
Identifies the specific RISC-V instruction set architecture

0 commit comments

Comments
 (0)