projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d84a003
)
[COMMON] lib: dss: add A73 L2MERRSR_EL1 logging
author
Youngmin Nam
<youngmin.nam@samsung.com>
Tue, 10 Apr 2018 08:34:37 +0000
(17:34 +0900)
committer
Sunyoung Kang
<sy0816.kang@samsung.com>
Wed, 30 May 2018 04:56:54 +0000
(13:56 +0900)
Change-Id: I4dcd667181b3de4cba8dbbc3bed70a86877e319d
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
lib/debug-snapshot-utils.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/debug-snapshot-utils.c
b/lib/debug-snapshot-utils.c
index 5c1302f0a55457cb6c1cee949873bf262ddbe782..c463dc3f9597bc208b04e67a44440ed87ad20258 100644
(file)
--- 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"