diff options
author | Paul Kocialkowski | 2023-03-03 10:17:47 +0100 |
---|---|---|
committer | Paul Kocialkowski | 2024-09-06 13:00:31 +0200 |
commit | 3a8e46d0ee525eb1df68401025bd12baf37a8979 (patch) | |
tree | aa6009c4ce34752ba32b91884469978dbfff2134 /arch | |
parent | 04ae482db7e79ae79aef54dc9142cc6ba89f09bb (diff) |
cedar: pc/ion tracessunxi/cedar/mmio-trace
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mm/fault.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c index 34a9410e40bb..16f03c6c49bf 100644 --- a/arch/arm/mm/fault.c +++ b/arch/arm/mm/fault.c @@ -446,6 +446,8 @@ static int cedar_page_fault(struct mm_struct *mm, unsigned long addr, // printk(KERN_ERR "fault: addr %#x pc %#x\n", addr, pc_addr); + printk(KERN_ERR ">> cedar-pc %#x\n", pc_addr); + copy_from_user_nofault(&insn_orig, (unsigned long *)pc_addr, sizeof(insn_orig)); /* No emulate, no checkers */ |