riscv: say disabling zicbom if no or bad riscv,cbom-block-size found
authorBen Dooks <ben.dooks@codethink.co.uk>
Fri, 17 Mar 2023 13:45:12 +0000 (13:45 +0000)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 14 Jun 2023 14:17:34 +0000 (07:17 -0700)
commitc818fea83de4cdf5072c7cf00dd289fc9c6e1c68
tree2664831fd9a458cd92ec8b3c2fcad8f1acf45240
parentd5e45e810e0e08114035d31d88049544c038e6fc
riscv: say disabling zicbom if no or bad riscv,cbom-block-size found

If Zicbom is present but there was no riscv,cbom-blocks-size property found
during the cpu feeatures probe, or the cbom-block-size is not valid, then
the extension will be disabled. Make the print explicitly say this is
disabled to ensure that there is no confusion about what is being done.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20230317134512.254627-1-ben.dooks@codethink.co.uk
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/cpufeature.c