]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: Avoid coupling the T-Head CMOs and Zicbom
authorPalmer Dabbelt <palmer@rivosinc.com>
Thu, 15 Sep 2022 17:09:00 +0000 (10:09 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Sat, 17 Sep 2022 08:48:24 +0000 (01:48 -0700)
commitc589e3ca27c9f608004b155d3acb2fab6f7a9f26
tree061ccd947f8b5a17e827cff38e46c22f0125ed7f
parent762df359aa5849e010ef04c3ed79d57588ce17d9
RISC-V: Avoid coupling the T-Head CMOs and Zicbom

We could make the T-Head CMOs depend on a new-enough assembler to have
Zicbom, but it's not strictly necessary because the T-Head CMOs
circumvent the assembler.

Fixes: 8f7e001e0325 ("RISC-V: Clean up the Zicbom block size probing")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20220915170900.22685-1-palmer@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/cacheflush.h