summaryrefslogtreecommitdiff
path: root/arch/riscv/errata/Makefile
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2022-05-11 22:29:21 +0300
committerPalmer Dabbelt <palmer@rivosinc.com>2022-05-12 07:36:33 +0300
commita35707c3d850dda0ceefb75b1b3bd191921d5765 (patch)
tree00188dae0c8c04eabd08b304924d1d84c92acbd1 /arch/riscv/errata/Makefile
parent1745cfafebdfb017f6871c80f9894910a76373a4 (diff)
downloadlinux-a35707c3d850dda0ceefb75b1b3bd191921d5765.tar.xz
riscv: add memory-type errata for T-Head
Some current cpus based on T-Head cores implement memory-types way different than described in the svpbmt spec even going so far as using PTE bits marked as reserved. Add the T-Head vendor-id and necessary errata code to replace the affected instructions. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Tested-by: Samuel Holland <samuel@sholland.org> Link: https://lore.kernel.org/r/20220511192921.2223629-13-heiko@sntech.de Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/errata/Makefile')
-rw-r--r--arch/riscv/errata/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/errata/Makefile b/arch/riscv/errata/Makefile
index 0ca1c5281a2d..a1055965fbee 100644
--- a/arch/riscv/errata/Makefile
+++ b/arch/riscv/errata/Makefile
@@ -1 +1,2 @@
obj-$(CONFIG_ERRATA_SIFIVE) += sifive/
+obj-$(CONFIG_ERRATA_THEAD) += thead/