[COMMON] soc: samsung: el3_mon: Use __pa_symbol for _text and _etext
authorJunho Choi <junhosj.choi@samsung.com>
Fri, 16 Mar 2018 11:37:37 +0000 (20:37 +0900)
committerJunho Choi <junhosj.choi@samsung.com>
Wed, 23 May 2018 23:53:41 +0000 (08:53 +0900)
commitd6ee30dd6e0b0f9eed279871bb4bd616d30eca7f
tree44dfb376c42a8ff712f2d2bafa7e6d188e577232
parented5d62daaea67928a82727f5830d97000414d4f5
[COMMON] soc: samsung: el3_mon: Use __pa_symbol for _text and _etext

If CONFIG_DEBUG_VIRTUAL=y,

virt_to_phys used for non-linear address: ffffff8008080000 (0xffffff8008080000)
WARNING: CPU: 4 PID: 1 at arch/arm64/mm/physaddr.c:15 __virt_to_phys+0x28/0x60
...
[<ffffff80080a32bc>] __virt_to_phys+0x28/0x60
[<ffffff8008b61774>] exynos_protect_kernel_text+0x28/0x10c

virt_to_phys used for non-linear address: ffffff8008830000 (_etext+0x0/0x10)
WARNING: CPU: 4 PID: 1 at arch/arm64/mm/physaddr.c:15 __virt_to_phys+0x28/0x60
...
[<ffffff80080a32bc>] __virt_to_phys+0x28/0x60
[<ffffff8008b6178c>] exynos_protect_kernel_text+0x40/0x10c

Change-Id: Idf0e69942e2117b31befd71ff212e906df7af370
Signed-off-by: Junho Choi <junhosj.choi@samsung.com>
drivers/soc/samsung/exynos-el3_mon.c