linux/arch/arm/mach-exynos
Yadwinder Singh Brar 7ed76e089a ARM: EXYNOS: Fix low level debug support
Presently, using exynos_defconfig with CONFIG_DEBUG_LL and CONFIG_EARLY_PRIN
on, kernel is not booting, we are getting following:

[    0.000000] ------------[ cut here ]------------
[    0.000000] kernel BUG at mm/vmalloc.c:1134!
[    0.000000] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 3.11.0-rc1 #633
[    0.000000] task: c052ec48 ti: c0524000 task.ti: c0524000
[    0.000000] PC is at vm_area_add_early+0x54/0x94
[    0.000000] LR is at add_static_vm_early+0xc/0x60

Its because exynos[4/5]_map_io() function ioremaps a single 512KB memory
size for all the four uart ports which envelopes the mapping created by
debug_ll_io_init(), called earlier in exynos_init_io().

This patch removes iodesc entries for UART controller for all Samsung SoC's,
since now the Samsung uart driver does a ioremap during probe and any needed
iomapping for earlyprintk will be handled by debug_ll_io_init().

Tested on smdk4412 and smdk5250.

Signed-off-by: Yadwinder Singh Brar <yadi.brar@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
2013-07-24 17:05:32 +09:00
..
include/mach ARM: EXYNOS: change the PHYSMEM_BITS and SECTION_SIZE 2013-07-16 12:42:13 +09:00
common.c ARM: EXYNOS: Fix low level debug support 2013-07-24 17:05:32 +09:00
common.h ARM: SAMSUNG: Add SAMSUNG_PM config option to select pm 2013-07-24 14:06:13 +09:00
cpuidle.c ARM: SAMSUNG: Add SAMSUNG_PM config option to select pm 2013-07-24 14:06:13 +09:00
exynos-smc.S ARM: EXYNOS: Add support for secure monitor calls 2013-04-09 01:52:06 +09:00
firmware.c ARM: EXYNOS: Remove check for device tree presence 2013-06-15 09:33:21 +09:00
headsmp.S ARM: exynos: remove incorrect BSYM usage 2012-01-16 08:36:04 -06:00
hotplug.c ARM: cpu hotplug: remove majority of cache flushing from platforms 2013-04-18 20:08:04 +01:00
Kconfig ARM: EXYNOS: Enable 64-bit DMA for EXYNOS5440 if LPAE is enabled 2013-07-16 12:42:59 +09:00
mach-exynos4-dt.c ARM: EXYNOS: Use exynos_init_io() as map_io callback 2013-06-19 01:37:51 +09:00
mach-exynos5-dt.c ARM SoC late changes 2013-07-02 14:42:51 -07:00
Makefile ARM: SAMSUNG: Add SAMSUNG_PM config option to select pm 2013-07-24 14:06:13 +09:00
Makefile.boot ARM: dts: Add basic dts file for Samsung Trats board 2012-09-21 10:50:27 +09:00
platsmp.c ARM SoC late changes 2013-07-02 14:42:51 -07:00
pm.c ARM: EXYNOS: skip pm support on exynos5440 2013-07-16 12:29:40 +09:00
pm_domains.c ARM: EXYNOS: Remove legacy power domain registration code 2013-06-15 09:33:21 +09:00
pmu.c ARM: EXYNOS5: Fix kernel dump in AFTR idle mode 2013-05-09 13:22:22 -07:00
smc.h ARM: EXYNOS: Add support for secure monitor calls 2013-04-09 01:52:06 +09:00