debug: improve ftrace_ramoops for io trace [1/1]
authorHanjie Lin <hanjie.lin@amlogic.com>
Sat, 12 Oct 2019 07:39:46 +0000 (15:39 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Mon, 21 Oct 2019 07:48:17 +0000 (00:48 -0700)
commitb4976d19efd2250d42e25331281bb6460c147c4c
tree9f3ee827669924a50013fdbb85d3ee33ef67086d
parent06ce23cddad1436409dd0c1f4cbb01b9d69dfa1c
debug: improve ftrace_ramoops for io trace [1/1]

PD#SWPL-6028

Problem:
optimize

Solution:
 - restore memtype setting method to default.
   depends on dts unbuffered attr,
   default 0 means pgprot_writecombine and 1 means pgprot_noncached.
 - always enable ramoop_io_en.
 - fix ioremap_page_range() print mistake.

Verify:

Change-Id: Ib4383d1f5ff8310cfe4f5f732413e0d517d557b5
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
fs/pstore/ram.c
lib/ioremap.c