From: Simon Horman <horms@verge.net.au>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH v2 0/8] SH pinctrl DT support
Date: Mon, 25 Feb 2013 13:04:39 +0000 [thread overview]
Message-ID: <20130225130439.GA14846@verge.net.au> (raw)
In-Reply-To: <1357693395-1653-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com>
On Wed, Jan 09, 2013 at 02:03:07AM +0100, Laurent Pinchart wrote:
> Hello,
>
> Here's the second version of the SuperH and SH Mobile pin controllers (PFC) DT
> support patch set. The patches are based on the second version of my previous
> PFC pinctrl and pinmux patch series ("[PATCH v2 00/29] SH pinctrl and pinmux
> implementation") and are available from my git tree at
>
> git://linuxtv.org/pinchartl/fbdev.git pinmux-dt
Hi Laurent,
I am experiencing some difficulty in booting the kzm9g board using the
branch above (HEAD commit id: f6f658f46274a06835c7ae562793a5144fac36ad)
with its defconfig plus CONFIG_ARM_APPENDED_DTB=y.
I see the following and I was wondering if you could take a look into this.
I'm quite prepared to believe that I have messed something up but at this
stage I'm entirely unsure what it might be.
...
sh_mobile_sdhi sh_mobile_sdhi.0: mmc0 base at 0xee100000 clock rate 69 MHz
Unable to handle kernel NULL pointer dereference at virtual address 0000002c
pgd = c0004000
[0000002c] *pgd\0000000
Internal error: Oops: 5 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 0 Not tainted (3.8.0-rc2+ #605)
PC is at __gpio_to_irq+0x18/0x3c
LR is at mmc_gpio_request_cd+0x20/0xb8
pc : [<c0194a48>] lr : [<c02392e0>] psr: 20000113
sp : de04bd78 ip : de04bd88 fp : de04bd84
r10: 00000000 r9 : 00000a00 r8 : c0443f00
r7 : c0443ef0 r6 : 0000000d r5 : de279000 r4 : de279280
r3 : c04848f0 r2 : 0000000d r1 : 0000000d r0 : 00000000
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 10c5387d Table: 4100404a DAC: 00000015
Process swapper/0 (pid: 1, stack limit = 0xde04a238)
Stack: (0xde04bd78 to 0xde04c000)
bd60: de04bdb4 de04bd88
bd80: c02392e0 c0194a3c de04bdb4 de04bd98 c01d5158 de279280 de279000 de27e9c4
bda0: c0443ef0 c0443f00 de04bdec de04bdb8 c023d42c c02392cc c0443ef0 de04bdfc
bdc0: c045fc20 de27e9c0 c0443ef0 c0444828 c045fc20 de27e9c4 0000006a c0443f00
bde0: de04be2c de04bdf0 c023e94c c023d0fc 00000000 c045fc20 c040a270 00000000
be00: de04be1c c0443f00 c0443f34 00000000 c045fc20 c040a270 0000006a 00000000
be20: de04be3c de04be30 c01d10f0 c023e7cc de04be5c de04be40 c01cfd44 c01d10dc
be40: c0443f00 c0443f34 c045fc20 00000000 de04be7c de04be60 c01cfee0 c01cfc8c
be60: c045fc20 de04be80 c01cfe78 00000000 de04bea4 de04be80 c01ce5e8 c01cfe84
be80: de05b718 de13cb74 c045fc20 de27ecc0 c045a268 00000007 de04beb4 de04bea8
bea0: c01cfb68 c01ce5a0 de04bedc de04beb8 c01cedfc c01cfb54 c03bdec0 de04bec8
bec0: c045fc20 c041e44c c0465f00 00000007 de04befc de04bee0 c01d0528 c01ced60
bee0: c042737c c041e44c c0465f00 00000007 de04bf0c de04bf00 c01d13e0 c01d048c
bf00: de04bf1c de04bf10 c041e460 c01d13a0 de04bf6c de04bf20 c0009414 c041e458
bf20: c003c5f0 c040a27c 00000006 00000006 0000006a c0407160 60000113 c0a67164
bf40: de04bf6c c042737c c042ff4c c0465f00 00000007 c040a270 0000006a c0427384
bf60: de04bfac de04bf70 c031e428 c0009370 00000006 00000006 c040a270 c031e330
bf80: 00000000 00000000 c031e330 00000000 00000000 00000000 00000000 00000000
bfa0: 00000000 de04bfb0 c000f058 c031e33c 00000000 00000000 00000000 00000000
bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 fb7fffff ffff77ff
Backtrace:
[<c0194a30>] (__gpio_to_irq+0x0/0x3c) from [<c02392e0>] (mmc_gpio_request_cd+0x20/0xb8)
[<c02392c0>] (mmc_gpio_request_cd+0x0/0xb8) from [<c023d42c>] (tmio_mmc_host_probe+0x33c/0x3b0)
r8:c0443f00 r7:c0443ef0 r6:de27e9c4 r5:de279000 r4:de279280
[<c023d0f0>] (tmio_mmc_host_probe+0x0/0x3b0) from [<c023e94c>] (sh_mobile_sdhi_probe+0x18c/0x420)
[<c023e7c0>] (sh_mobile_sdhi_probe+0x0/0x420) from [<c01d10f0>] (platform_drv_probe+0x20/0x24)
[<c01d10d0>] (platform_drv_probe+0x0/0x24) from [<c01cfd44>] (driver_probe_device+0xc4/0x1f8)
[<c01cfc80>] (driver_probe_device+0x0/0x1f8) from [<c01cfee0>] (__driver_attach+0x68/0x8c)
r7:00000000 r6:c045fc20 r5:c0443f34 r4:c0443f00
[<c01cfe78>] (__driver_attach+0x0/0x8c) from [<c01ce5e8>] (bus_for_each_dev+0x54/0x94)
r7:00000000 r6:c01cfe78 r5:de04be80 r4:c045fc20
[<c01ce594>] (bus_for_each_dev+0x0/0x94) from [<c01cfb68>] (driver_attach+0x20/0x28)
r7:00000007 r6:c045a268 r5:de27ecc0 r4:c045fc20
[<c01cfb48>] (driver_attach+0x0/0x28) from [<c01cedfc>] (bus_add_driver+0xa8/0x218)
[<c01ced54>] (bus_add_driver+0x0/0x218) from [<c01d0528>] (driver_register+0xa8/0x140)
r7:00000007 r6:c0465f00 r5:c041e44c r4:c045fc20
[<c01d0480>] (driver_register+0x0/0x140) from [<c01d13e0>] (platform_driver_register+0x4c/0x60)
r7:00000007 r6:c0465f00 r5:c041e44c r4:c042737c
[<c01d1394>] (platform_driver_register+0x0/0x60) from [<c041e460>] (sh_mobile_sdhi_driver_init+0x14/0x1c)
[<c041e44c>] (sh_mobile_sdhi_driver_init+0x0/0x1c) from [<c0009414>] (do_one_initcall+0xb0/0x180)
[<c0009364>] (do_one_initcall+0x0/0x180) from [<c031e428>] (kernel_init+0xf8/0x29c)
[<c031e330>] (kernel_init+0x0/0x29c) from [<c000f058>] (ret_from_fork+0x14/0x3c)
Code: e24cb004 e59f3024 e1a02000 e7930180 (e590302c)
---[ end trace 97935dbe35bb7737 ]---
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
CPU1: stopping
Backtrace:
[<c00129f4>] (dump_backtrace+0x0/0x110) from [<c03254f0>] (dump_stack+0x18/0x1c)
r7:c043a458 r6:de085f60 r5:00000001 r4:00000000
[<c03254d8>] (dump_stack+0x0/0x1c) from [<c0013c9c>] (handle_IPI+0xe0/0x138)
[<c0013bbc>] (handle_IPI+0x0/0x138) from [<c0009330>] (gic_handle_irq+0x64/0x6c)
r5:f0000110 r4:f000010c
[<c00092cc>] (gic_handle_irq+0x0/0x6c) from [<c000eb80>] (__irq_svc+0x40/0x70)
Exception stack(0xde085f60 to 0xde085fa8)
5f60: 00000020 c043aa08 00000001 00000000 de084000 c043d4a0 c0465fc8 c032b09c
5f80: 4100406a 412fc098 00000000 de085fb4 de085fb8 de085fa8 c000fbbc c000fbc0
5fa0: 60000113 ffffffff
r7:de085f94 r6:ffffffff r5:60000113 r4:c000fbc0
[<c000fb94>] (default_idle+0x0/0x34) from [<c000ffb8>] (cpu_idle+0x90/0xdc)
[<c000ff28>] (cpu_idle+0x0/0xdc) from [<c032024c>] (secondary_start_kernel+0x114/0x138)
r7:c0466298 r6:de084000 r5:00000001 r4:c0447b88
[<c0320138>] (secondary_start_kernel+0x0/0x138) from [<4131fa88>] (0x4131fa88)
r7:c0466298 r6:10c0387d r5:00000015 r4:5f07006a
prev parent reply other threads:[~2013-02-25 13:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-09 1:03 [PATCH v2 0/8] SH pinctrl DT support Laurent Pinchart
2013-01-09 1:03 ` [PATCH v2 1/8] sh-pfc: Add OF support Laurent Pinchart
2013-01-12 17:18 ` Guennadi Liakhovetski
2013-01-15 1:10 ` Simon Horman
2013-01-21 0:38 ` Simon Horman
[not found] ` <20130121003828.GD19062-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
2013-01-24 11:17 ` Laurent Pinchart
2013-01-25 2:32 ` Simon Horman
2013-01-24 11:28 ` Laurent Pinchart
2013-01-09 7:06 ` [PATCH v2 0/8] SH pinctrl DT support Simon Horman
2013-02-25 13:04 ` Simon Horman [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=20130225130439.GA14846@verge.net.au \
--to=horms@verge.net.au \
--cc=linux-sh@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).