From: Youngmin Nam Date: Tue, 10 Apr 2018 08:34:37 +0000 (+0900) Subject: [COMMON] lib: dss: add A73 L2MERRSR_EL1 logging X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fd33c8808ecc39337c22fd970391baa5d4b422f2;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] lib: dss: add A73 L2MERRSR_EL1 logging Change-Id: I4dcd667181b3de4cba8dbbc3bed70a86877e319d Signed-off-by: Youngmin Nam --- diff --git a/lib/debug-snapshot-utils.c b/lib/debug-snapshot-utils.c index 5c1302f0a554..c463dc3f9597 100644 --- a/lib/debug-snapshot-utils.c +++ b/lib/debug-snapshot-utils.c @@ -316,6 +316,10 @@ int dbg_snapshot_dump(void) } } else { switch (read_cpuid_part_number()) { + case ARM_CPU_PART_CORTEX_A73: + asm ("mrs %0, S3_1_c15_c2_3\n" : "=r" (reg1)); + pr_emerg("L2MERRSR: %016lx\n", reg1); + break; case ARM_CPU_PART_CORTEX_A57: case ARM_CPU_PART_CORTEX_A53: asm ("mrs %0, S3_1_c15_c2_2\n\t"