dmc: fix panic problem when show memory in highmem [1/1]
authorTao Zeng <tao.zeng@amlogic.com>
Thu, 27 Dec 2018 06:31:29 +0000 (14:31 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Thu, 27 Dec 2018 07:04:22 +0000 (15:04 +0800)
commitb08193bfe3cbd027ceb554e919fcff756ec52103
tree05b33cc4b2076cb478beb7c023f079389d8e47b5
parentf92f95aa68c09bc2379da5b9ff789643c24d8b8a
dmc: fix panic problem when show memory in highmem [1/1]

PD#SWPL-2767

Problem:
If DMC violation address is in highmem, then it will panic
when show memory using page_address();

Solution:
map violation address for highmem

Verify:
p212

Change-Id: Ib6213eaab42b129c8c0a381511a0b3376b0d3e66
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
drivers/amlogic/ddr_tool/dmc_g12.c
drivers/amlogic/ddr_tool/dmc_gx.c