linux_dsm_epyc7002/arch/arm/mach-msm/include/mach
Stephen Boyd 9e775ad19f ARM: 7012/1: Set proper TEXT_OFFSET for newer MSMs
MSMs post 8x50 have 2Mb at the beginning of RAM reserved for
shared memory. Since the kernel hasn't typically been told this
RAM exists, PHYS_OFFSET has been set to 0xN0200000 and the memory
atags passed to the kernel have matched. This doesn't play nicely
with things such as AUTO_ZRELADDR, which doesn't work at all, and
dynamic phys to virt, which requires an MSM specific workaround.

Work around these issues by telling the kernel RAM starts at
0xN0000000 (it actually does) and fixup the atags from the
bootloader (if necessary) to say the same. In addition, make sure
to set TEXT_OFFSET at least 2Mb beyond the start of RAM so that
the kernel doesn't end up being decompressed into shared memory.

After doing this, AUTO_ZRELADDR should work on MSM with no
problems and ARM_PATCH_PHYS_VIRT_16BIT should no longer be
necessary.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Acked-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2011-08-13 11:26:18 +01:00
..
board.h msm: clock: Migrate to clkdev 2011-02-28 12:40:17 -08:00
clk.h msm: Use explicit GPLv2 licenses 2011-02-28 12:40:05 -08:00
cpu.h msm: Add MSM 8960 cpu_is check 2011-01-21 15:27:53 -08:00
debug-macro.S msm: fix compile failure when no debug uart is selected 2010-10-29 15:56:16 -07:00
dma.h msm: dma: add stub functions for dma features not yet present on 8x60 2010-10-08 15:12:42 -07:00
entry-macro-qgic.S fix comment typos concerning "consistent" 2010-12-10 16:04:28 +01:00
entry-macro-vic.S msm: irq: rename existing entry-macro to entry-macro-vic 2010-10-08 15:12:38 -07:00
entry-macro.S msm: irq: rename existing entry-macro to entry-macro-vic 2010-10-08 15:12:38 -07:00
gpio.h msm: gpio: Remove tlmm routines obsoleted by gpiomux. 2010-10-06 09:01:17 -07:00
hardware.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
io.h msm: io: I/O register definitions for MSM8960 2011-01-21 15:27:51 -08:00
iommu_hw-8xxx.h msm: iommu: Don't read from write-only registers 2011-03-08 14:42:30 -08:00
iommu.h msm: iommu: Remove dependency on IDR 2011-03-08 14:40:59 -08:00
irqs-7x00.h msm: generialize IRQ to support multiple SOCs. 2010-05-13 16:07:53 -07:00
irqs-7x30.h msm: Use explicit GPLv2 licenses 2011-02-28 12:40:05 -08:00
irqs-8x50.h msm: Use explicit GPLv2 licenses 2011-02-28 12:40:05 -08:00
irqs-8x60.h msm: iomap: Addresses and IRQs for 2nd GFX core IOMMU 2010-11-30 13:53:45 -08:00
irqs-8960.h msm: Use explicit GPLv2 licenses 2011-02-28 12:40:05 -08:00
irqs.h msm: irqs-8960: Interrupt map for MSM8960 2011-01-21 15:27:52 -08:00
memory.h ARM: 7012/1: Set proper TEXT_OFFSET for newer MSMs 2011-08-13 11:26:18 +01:00
mmc.h mmc: msm_sdcc: Add gpio handling function to driver 2011-01-21 16:58:00 -08:00
msm_fb.h arm: msm: video: add msm_fb.h 2010-05-12 09:19:41 -07:00
msm_gpiomux.h msm: gpiomux: Move public API to public header 2011-08-01 04:58:00 -07:00
msm_iomap-7x00.h msm: Remove chip-ifdefs for GPIO io mappings 2011-08-01 04:57:59 -07:00
msm_iomap-7x30.h msm: Remove chip-ifdefs for GPIO io mappings 2011-08-01 04:57:59 -07:00
msm_iomap-8x50.h msm: Remove chip-ifdefs for GPIO io mappings 2011-08-01 04:57:59 -07:00
msm_iomap-8x60.h msm: iommu: Generalize platform data for multiple targets 2011-02-14 13:42:48 -08:00
msm_iomap-8960.h msm: io: I/O register definitions for MSM8960 2011-01-21 15:27:51 -08:00
msm_iomap.h msm: Remove chip-ifdefs for GPIO io mappings 2011-08-01 04:57:59 -07:00
msm_smd.h arm: msm: smd: checkpatch clean up of smd/proc_comm 2010-05-12 09:15:39 -07:00
sirc.h msm: Use explicit GPLv2 licenses 2011-02-28 12:40:05 -08:00
system.h [ARM] msm: shared memory interface for baseband processor ipc 2010-05-12 09:14:52 -07:00
timex.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
uncompress.h msm: make debugging UART (for DEBUG_LL) configurable 2009-11-20 06:40:05 -08:00
vmalloc.h ARM: 6484/1: fix compile warning in mm/init.c 2010-11-21 22:05:56 +00:00
vreg.h arm: msm: status for vreg 2010-05-12 09:14:36 -07:00