From: Kukjin Kim <kgene@kernel.org>
To: 'Yadwinder Singh Brar' <yadi.brar@samsung.com>
Cc: linux-samsung-soc@vger.kernel.org, arnd@arndb.de, olof@lixom.net,
dianders@chromium.org, thomas.abraham@linaro.org,
t.figa@samsung.com, yadi.brar01@gmail.com
Subject: RE: [v2 PATCH 0/2] EXYNOS: Fix low level debug support
Date: Wed, 24 Jul 2013 17:01:53 +0900 [thread overview]
Message-ID: <0e8501ce8844$0f5eae60$2e1c0b20$@org> (raw)
In-Reply-To: <1373806020-7336-1-git-send-email-yadi.brar@samsung.com>
Yadwinder Singh Brar wrote:
>
> Presently, using exynos_defconfig with CONFIG_DEBUG_LL and
> CONFIG_EARLY_PRINTK
> 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 issue seems to be occured after :
> commit ee4de5d99aeac44f4507b7538b2b3faedc5205b9
> ARM: 7781/1: mmu: Add debug_ll_io_init() mappings to early mappings
>
> This series removes static iodesc entries for UART controller for all
> Samsung
> SoC's and modifies pm debug code to save/restore only the selected debug
> uart
> registers.
>
> changes since v1:
> - removed uart iodesc entires instead of just moving inside
> CONFIG_DEBUG_LL
> check, as suggested by Thomas Abraham.
> - Fixed the possible issue after removing uart entries pointed by Tomasz
> Figa.
>
> Tested doing suspend/resume on smdk5250.
>
> Yadwinder Singh Brar (2):
> ARM: SAMSUNG: pm: Save/restore only selected uart's registers
> ARM: EXYNOS: Fix low level debug support
>
> arch/arm/mach-exynos/common.c | 26 --------------------------
> arch/arm/plat-samsung/pm.c | 14 +++-----------
> 2 files changed, 3 insertions(+), 37 deletions(-)
This series looks good to me, applied into -fixes.
Just note, I was looking at the static iodesc for UART because of booting
problem ;)
Anyway, thanks,
Kukjin
prev parent reply other threads:[~2013-07-24 8:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-14 12:46 [v2 PATCH 0/2] EXYNOS: Fix low level debug support Yadwinder Singh Brar
2013-07-14 12:46 ` [PATCH 2/2] ARM: " Yadwinder Singh Brar
2013-07-14 12:47 ` [PATCH 1/2] ARM: SAMSUNG: pm: Save/restore only selected uart's registers Yadwinder Singh Brar
2013-07-24 8:01 ` Kukjin Kim [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='0e8501ce8844$0f5eae60$2e1c0b20$@org' \
--to=kgene@kernel.org \
--cc=arnd@arndb.de \
--cc=dianders@chromium.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=olof@lixom.net \
--cc=t.figa@samsung.com \
--cc=thomas.abraham@linaro.org \
--cc=yadi.brar01@gmail.com \
--cc=yadi.brar@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox