riscv: errata: thead: only set cbom size & noncoherent during boot
authorJisheng Zhang <jszhang@kernel.org>
Wed, 14 Jun 2023 16:55:02 +0000 (00:55 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 6 Jul 2023 17:32:03 +0000 (10:32 -0700)
commit31ca5d49264ba6197aa48a926f6a035ed08b3715
tree112f09c25b721fe09dc98b1eb27360c4b4457a11
parentac9a78681b921877518763ba0e89202254349d1b
riscv: errata: thead: only set cbom size & noncoherent during boot

The CBOM size and whether the HW is noncoherent is known and
determined during booting and won't change after that.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230614165504.532-2-jszhang@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/errata/thead/errata.c