Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: SPEAr13xx: Fix static mapping table

SPEAr13xx was using virtual address space 0xFE000000 to map physical address
space 0xB3000000. But pci_remap_io uses 0xFEE00000 as virtual address and so
replace 0xFE000000 with 0xF9000000.

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Pratyush Anand <pratyush.anand@st.com>
Signed-off-by: Mohit Kumar <mohit.kumar@st.com>
[viresh: fixed logs/cclist]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>

authored by

Pratyush Anand and committed by
Viresh Kumar
36c5c90d 64562e99

+3 -3
+2 -2
arch/arm/mach-spear/include/mach/spear.h
··· 52 52 #ifdef CONFIG_ARCH_SPEAR13XX 53 53 54 54 #define PERIP_GRP2_BASE UL(0xB3000000) 55 - #define VA_PERIP_GRP2_BASE IOMEM(0xFE000000) 55 + #define VA_PERIP_GRP2_BASE IOMEM(0xF9000000) 56 56 #define MCIF_SDHCI_BASE UL(0xB3000000) 57 57 #define SYSRAM0_BASE UL(0xB3800000) 58 - #define VA_SYSRAM0_BASE IOMEM(0xFE800000) 58 + #define VA_SYSRAM0_BASE IOMEM(0xF9800000) 59 59 #define SYS_LOCATION (VA_SYSRAM0_BASE + 0x600) 60 60 61 61 #define PERIP_GRP1_BASE UL(0xE0000000)
+1 -1
arch/arm/mach-spear/spear13xx.c
··· 52 52 /* 53 53 * Following will create 16MB static virtual/physical mappings 54 54 * PHYSICAL VIRTUAL 55 - * 0xB3000000 0xFE000000 55 + * 0xB3000000 0xF9000000 56 56 * 0xE0000000 0xFD000000 57 57 * 0xEC000000 0xFC000000 58 58 * 0xED000000 0xFB000000