linux_dsm_epyc7002/arch/arm/mach-mvebu
Gregory CLEMENT 76127d6fe0 ARM: mvebu: use __pa_symbol in the mv98dx3236 platform SMP code
As we already did for Armada XP switch from virt_to_phys() to
__pa_symbol().

The reason for it was well explained by Mark Rutland so let's quote him:

"virt_to_phys() is intended to operate on the linear/direct mapping of
RAM.

__pa_symbol() is intended to operate on the kernel mapping, which may
not be in the linear/direct mapping on all architectures. e.g. arm64 and
x86_64 map the kernel image and RAM separately.

On 32-bit ARM the kernel image mapping is tied to the linear/direct
mapping, so that works, but as it's semantically wrong (and broken for
generic code), the DEBUG_VIRTUAL checks complain."

Fixes: db88977894 ("arm: mvebu: support for SMP on 98DX3336 SoC")
Cc: <stable@vger.kernel.org>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2017-07-18 11:26:30 +02:00
..
armada-370-xp.h
board-v7.c arm: Remove unnecessary of_platform_populate with default match table 2016-06-23 14:58:37 -05:00
coherency_ll.S
coherency.c cpu/hotplug: Cleanup state names 2016-12-25 10:47:44 +01:00
coherency.h mvebu: add definition for coherency_base 2016-06-16 11:24:47 +02:00
common.h
cpu-reset.c mvebu: fix missing include of common.h in cpu-reset.c 2016-06-16 11:24:19 +02:00
dove.c arm: Remove unnecessary of_platform_populate with default match table 2016-06-23 14:58:37 -05:00
headsmp-a9.S
headsmp.S
Kconfig ARM: mvebu: Select corediv clk for all mvebu v7 SoC 2016-09-19 17:56:29 +02:00
kirkwood-pm.c ARM: Kirkwood: fix kirkwood_pm_init() declaration/type 2016-06-16 12:01:37 +02:00
kirkwood-pm.h
kirkwood.c ARM: SoC cleanups for v4.8 2016-08-01 18:21:13 -04:00
kirkwood.h
Makefile ARM: don't include removed directories 2016-08-10 22:42:18 +02:00
mvebu-soc-id.c
mvebu-soc-id.h
platsmp-a9.c
platsmp.c ARM: mvebu: use __pa_symbol in the mv98dx3236 platform SMP code 2017-07-18 11:26:30 +02:00
pm-board.c
pm.c ARM: 8641/1: treewide: Replace uses of virt_to_phys with __pa_symbol 2017-02-28 11:06:10 +00:00
pmsu_ll.S
pmsu.c ARM: 8641/1: treewide: Replace uses of virt_to_phys with __pa_symbol 2017-02-28 11:06:10 +00:00
pmsu.h
system-controller.c ARM: 8641/1: treewide: Replace uses of virt_to_phys with __pa_symbol 2017-02-28 11:06:10 +00:00