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

Commit 85945940 authored by Kyle Yan's avatar Kyle Yan Committed by Isaac J. Manjarres
Browse files

arm64: Remove ECC check in do_bad



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 current
targets, 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>
Signed-off-by: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
parent 71f9600f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -43,7 +43,6 @@
#include <asm/system_misc.h>
#include <asm/pgtable.h>
#include <asm/tlbflush.h>
#include <asm/kryo-arm64-edac.h>
#include <asm/traps.h>
#include <soc/qcom/scm.h>

@@ -639,7 +638,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)
{
	kryo_poll_cache_errors(NULL);
	return 1; /* "fault" */
}