Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: riscv: Document cbop-block-size

Following the examples of cbom-block-size and cboz-block-size,
cbop-block-size is the cache size of Zicbop (cbo.prefetch) operations.
The most common case is to have all cache block sizes to be the same
size (e.g. profiles such as rva22u64 mandates a 64 bytes size for all
cache operations), but there's no specification requirement for that,
and an implementation can have different cache sizes for each operation.

Cc: Rob Herring <robh@kernel.org>
Cc: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20231029123500.739409-1-dbarboza@ventanamicro.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>

authored by

Daniel Henrique Barboza and committed by
Palmer Dabbelt
d3e591a3 2e605741

+5
+5
Documentation/devicetree/bindings/riscv/cpus.yaml
··· 80 80 description: 81 81 The blocksize in bytes for the Zicbom cache operations. 82 82 83 + riscv,cbop-block-size: 84 + $ref: /schemas/types.yaml#/definitions/uint32 85 + description: 86 + The blocksize in bytes for the Zicbop cache operations. 87 + 83 88 riscv,cboz-block-size: 84 89 $ref: /schemas/types.yaml#/definitions/uint32 85 90 description: