diff options
| author | Geert Uytterhoeven <geert+renesas@glider.be> | 2017-01-24 12:43:40 +0100 |
|---|---|---|
| committer | Mark Salyzyn <salyzyn@google.com> | 2017-11-20 14:19:13 -0800 |
| commit | 875988cc0f1e08db707a5f61663968e6dbd17423 (patch) | |
| tree | 6de3bceebab204baf7420baddbac4fe948c3bdf5 /lib/dynamic_debug.c | |
| parent | 427c567580d9e492090526614ea9bfcb62a72546 (diff) | |
BACKPORT: arm64: Use __pa_symbol for empty_zero_page
(cherry-pick commit from cbb999dd0b452991f4f698142aa7ffe566c0b415)
If CONFIG_DEBUG_VIRTUAL=y and CONFIG_ARM64_SW_TTBR0_PAN=y:
virt_to_phys used for non-linear address: ffffff8008cc0000 (empty_zero_page+0x0/0x1000)
WARNING: CPU: 0 PID: 0 at arch/arm64/mm/physaddr.c:14 __virt_to_phys+0x28/0x60
...
[<ffffff800809abb4>] __virt_to_phys+0x28/0x60
[<ffffff8008a02600>] setup_arch+0x46c/0x4d4
Fixes: 2077be6783b5936c ("arm64: Use __pa_symbol for kernel symbols")
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Bug: 20045882
Bug: 63737556
Change-Id: Ida933e532d0423e074b3621207a1e2a5f8609742
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
