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

Commit 98ceffa2 authored by Patrick Daly's avatar Patrick Daly
Browse files

arm64: Check for parity errors on synchronous aborts



Certain types of fatal synchronous aborts may be triggered by parity
errors in the L1 or L2 caches. Check whether a parity error occured and
print out the relevant information.

Change-Id: Ibc306e12e95286d29757bac293bd0b69bf04ebc4
Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
parent ab503cec
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@
#include <asm/system_misc.h>
#include <asm/pgtable.h>
#include <asm/tlbflush.h>
#include <asm/edac.h>

#include <trace/events/exception.h>

@@ -369,6 +370,7 @@ static int __kprobes do_translation_fault(unsigned long addr,
 */
static int do_bad(unsigned long addr, unsigned int esr, struct pt_regs *regs)
{
	arm64_erp_local_dbe_handler();
	return 1;
}