From: Rob Herring Date: Thu, 29 Sep 2011 21:22:02 +0000 (-0500) Subject: ARM: realview: fix map_desc alignment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9ceceb652a0f1e5f45cb6c8af09267e7db875d7b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ARM: realview: fix map_desc alignment REALVIEW_PBX_TILE_GIC_CPU_BASE is not 4KB aligned which causes an overlapping mapping. Use REALVIEW_PBX_TILE_SCU_BASE instead which is aligned. Signed-off-by: Rob Herring Signed-off-by: Nicolas Pitre --- diff --git a/arch/arm/mach-realview/realview_pbx.c b/arch/arm/mach-realview/realview_pbx.c index 63c4114afae9..a15f5d6edb87 100644 --- a/arch/arm/mach-realview/realview_pbx.c +++ b/arch/arm/mach-realview/realview_pbx.c @@ -98,8 +98,8 @@ static struct map_desc realview_pbx_io_desc[] __initdata = { static struct map_desc realview_local_io_desc[] __initdata = { { - .virtual = IO_ADDRESS(REALVIEW_PBX_TILE_GIC_CPU_BASE), - .pfn = __phys_to_pfn(REALVIEW_PBX_TILE_GIC_CPU_BASE), + .virtual = IO_ADDRESS(REALVIEW_PBX_TILE_SCU_BASE), + .pfn = __phys_to_pfn(REALVIEW_PBX_TILE_SCU_BASE), .length = SZ_4K, .type = MT_DEVICE, }, {