Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5aecd1d6 authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

arm64: Remove ECC check in do_bad on SDM845



In previous targets, we would check for ECC errors on do_bad case as
there were forms of ECC that did not generate interrupts. On SDM845 as
all forms of ECC raise an interrupt, we no longer need to make the check.

Change-Id: I406b93f09fd9ce250584c019e9600c2412c935cc
Signed-off-by: default avatarKyle Yan <kyan@codeaurora.org>
parent 2d19be1f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -40,7 +40,6 @@
#include <asm/system_misc.h>
#include <asm/pgtable.h>
#include <asm/tlbflush.h>
#include <asm/kryo3xx-arm64-edac.h>
#include <soc/qcom/scm.h>

struct fault_info {
@@ -521,7 +520,6 @@ static int do_alignment_fault(unsigned long addr, unsigned int esr,
 */
static int do_bad(unsigned long addr, unsigned int esr, struct pt_regs *regs)
{
	kryo3xx_poll_cache_errors(NULL);
	return 1;
}