[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240720171232.1753-6-jszhang@kernel.org>
Date: Sun, 21 Jul 2024 01:12:30 +0800
From: Jisheng Zhang <jszhang@...nel.org>
To: Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>,
Charlie Jenkins <charlie@...osinc.com>,
Deepak Gupta <debug@...osinc.com>,
Clement Leger <cleger@...osinc.com>
Cc: linux-riscv@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 5/7] riscv: errata: sifive: remove NOMMU handling
Since NOMMU is now properly handling in generic do_traps() which will
call do_trap_unknown() for instruciton page fault for NOMMU.
Signed-off-by: Jisheng Zhang <jszhang@...nel.org>
---
arch/riscv/errata/sifive/errata_cip_453.S | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/riscv/errata/sifive/errata_cip_453.S b/arch/riscv/errata/sifive/errata_cip_453.S
index b1f7b636fe9a..6f004a1610f6 100644
--- a/arch/riscv/errata/sifive/errata_cip_453.S
+++ b/arch/riscv/errata/sifive/errata_cip_453.S
@@ -23,11 +23,7 @@
SYM_FUNC_START(sifive_cip_453_page_fault_trp)
ADD_SIGN_EXT a0, t0, t1
-#ifdef CONFIG_MMU
la t0, do_page_fault
-#else
- la t0, do_trap_unknown
-#endif
jr t0
SYM_FUNC_END(sifive_cip_453_page_fault_trp)
--
2.43.0
Powered by blists - more mailing lists