* Kirkwood issues with 3.8-rc1 - Ooops and hang on reboot
@ 2012-12-28 17:17 Andrew Lunn
2012-12-28 17:38 ` Russell King - ARM Linux
2012-12-28 18:19 ` Josh Coombs
0 siblings, 2 replies; 10+ messages in thread
From: Andrew Lunn @ 2012-12-28 17:17 UTC (permalink / raw)
To: linux-arm-kernel
Hi Josh
What compiler version are you using to get the opps?
I don't see this problem, when building with:
arm-linux-gnueabi-gcc -v
Using built-in specs.
Target: arm-linux-gnueabi
Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-8' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/arm-linux-gnueabi/include/c++/4.4.5 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --disable-sjlj-exceptions --enable-checking=release --program-prefix=arm-linux-gnueabi- --includedir=/usr/arm-linux-gnueabi/include --build=i486-linux-gnu --host=i486-linux-gnu --target=arm-linux-gnueabi --with-headers=/usr/arm-linux-gnueabi/include --with-libs=/usr/arm-linux-gnueabi/lib
Thread model: posix
gcc version 4.4.5 (Debian 4.4.5-8)
The disassembly i get looks similar, but not identical.
BTW:
make drivers/clk/mvebu/clk-gating-ctrl.lst
is useful in situations like this.
Andrew
^ permalink raw reply [flat|nested] 10+ messages in thread
* Kirkwood issues with 3.8-rc1 - Ooops and hang on reboot
2012-12-28 17:17 Kirkwood issues with 3.8-rc1 - Ooops and hang on reboot Andrew Lunn
@ 2012-12-28 17:38 ` Russell King - ARM Linux
2012-12-29 23:31 ` Josh Coombs
2012-12-28 18:19 ` Josh Coombs
1 sibling, 1 reply; 10+ messages in thread
From: Russell King - ARM Linux @ 2012-12-28 17:38 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Dec 28, 2012 at 06:17:49PM +0100, Andrew Lunn wrote:
> Hi Josh
>
> What compiler version are you using to get the opps?
It's a section mismatch warning. Just look at the code line and compare
it with the disassembly. Oh, the code line indicates that the code is
no longer present. Why would that be?
static struct clk __init *mvebu_clk_gating_get_src(
^^^^^^
struct of_phandle_args *clkspec, void *data)
{
struct mvebu_gating_ctrl *ctrl = (struct mvebu_gating_ctrl *)data;
maybe?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Kirkwood issues with 3.8-rc1 - Ooops and hang on reboot
2012-12-28 17:38 ` Russell King - ARM Linux
@ 2012-12-29 23:31 ` Josh Coombs
2012-12-30 0:23 ` Russell King - ARM Linux
0 siblings, 1 reply; 10+ messages in thread
From: Josh Coombs @ 2012-12-29 23:31 UTC (permalink / raw)
To: linux-arm-kernel
Bah, didn't send to everyone last time...
Building with CONFIG_DEBUG_SECTION_MISMATCH enabled, the only warning
I get is for drivers/w1/masters/w1-gpio.o.
WARNING: drivers/w1/masters/w1-gpio.o(.data+0x0): Section mismatch in
reference from the variable w1_gpio_driver to the function
.init.text:w1_gpio_probe()
The variable w1_gpio_driver references
the function __init w1_gpio_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
Shouldn't I be seeing a warning for
drivers/clk/mvebu/clk-gating-ctrl.o at this point as well?
Josh C
On Fri, Dec 28, 2012 at 12:38 PM, Russell King - ARM Linux
<linux@arm.linux.org.uk> wrote:
> On Fri, Dec 28, 2012 at 06:17:49PM +0100, Andrew Lunn wrote:
>> Hi Josh
>>
>> What compiler version are you using to get the opps?
>
> It's a section mismatch warning. Just look at the code line and compare
> it with the disassembly. Oh, the code line indicates that the code is
> no longer present. Why would that be?
>
> static struct clk __init *mvebu_clk_gating_get_src(
> ^^^^^^
> struct of_phandle_args *clkspec, void *data)
> {
> struct mvebu_gating_ctrl *ctrl = (struct mvebu_gating_ctrl *)data;
>
> maybe?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Kirkwood issues with 3.8-rc1 - Ooops and hang on reboot
2012-12-29 23:31 ` Josh Coombs
@ 2012-12-30 0:23 ` Russell King - ARM Linux
2013-01-03 4:50 ` Josh Coombs
0 siblings, 1 reply; 10+ messages in thread
From: Russell King - ARM Linux @ 2012-12-30 0:23 UTC (permalink / raw)
To: linux-arm-kernel
On Sat, Dec 29, 2012 at 06:31:37PM -0500, Josh Coombs wrote:
> Bah, didn't send to everyone last time...
>
> Building with CONFIG_DEBUG_SECTION_MISMATCH enabled, the only warning
> I get is for drivers/w1/masters/w1-gpio.o.
>
> WARNING: drivers/w1/masters/w1-gpio.o(.data+0x0): Section mismatch in
> reference from the variable w1_gpio_driver to the function
> .init.text:w1_gpio_probe()
> The variable w1_gpio_driver references
> the function __init w1_gpio_probe()
> If the reference is valid then annotate the
> variable with __init* or __refdata (see linux/init.h) or name the variable:
> *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
>
> Shouldn't I be seeing a warning for
> drivers/clk/mvebu/clk-gating-ctrl.o at this point as well?
Unfortunately not. mvebu_clk_gating_get_src() is referenced by another
__init function, which is registering the pointer to
mvebu_clk_gating_get_src() into other code. That reference (obviously
from the oops dump) persists past the point where the __init sections
are freed.
Hence why no section mismatch warning issued from the static tools;
they're not infallible.
> Josh C
>
> On Fri, Dec 28, 2012 at 12:38 PM, Russell King - ARM Linux
> <linux@arm.linux.org.uk> wrote:
> > On Fri, Dec 28, 2012 at 06:17:49PM +0100, Andrew Lunn wrote:
> >> Hi Josh
> >>
> >> What compiler version are you using to get the opps?
> >
> > It's a section mismatch warning. Just look at the code line and compare
> > it with the disassembly. Oh, the code line indicates that the code is
> > no longer present. Why would that be?
> >
> > static struct clk __init *mvebu_clk_gating_get_src(
> > ^^^^^^
> > struct of_phandle_args *clkspec, void *data)
> > {
> > struct mvebu_gating_ctrl *ctrl = (struct mvebu_gating_ctrl *)data;
> >
> > maybe?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Kirkwood issues with 3.8-rc1 - Ooops and hang on reboot
2012-12-30 0:23 ` Russell King - ARM Linux
@ 2013-01-03 4:50 ` Josh Coombs
2013-01-03 8:22 ` Andrew Lunn
0 siblings, 1 reply; 10+ messages in thread
From: Josh Coombs @ 2013-01-03 4:50 UTC (permalink / raw)
To: linux-arm-kernel
On Sat, Dec 29, 2012 at 7:23 PM, Russell King - ARM Linux
<linux@arm.linux.org.uk> wrote:
> On Sat, Dec 29, 2012 at 06:31:37PM -0500, Josh Coombs wrote:
>> Bah, didn't send to everyone last time...
>>
>> Building with CONFIG_DEBUG_SECTION_MISMATCH enabled, the only warning
>> I get is for drivers/w1/masters/w1-gpio.o.
>>
>> WARNING: drivers/w1/masters/w1-gpio.o(.data+0x0): Section mismatch in
>> reference from the variable w1_gpio_driver to the function
>> .init.text:w1_gpio_probe()
>> The variable w1_gpio_driver references
>> the function __init w1_gpio_probe()
>> If the reference is valid then annotate the
>> variable with __init* or __refdata (see linux/init.h) or name the variable:
>> *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
>>
>> Shouldn't I be seeing a warning for
>> drivers/clk/mvebu/clk-gating-ctrl.o at this point as well?
>
> Unfortunately not. mvebu_clk_gating_get_src() is referenced by another
> __init function, which is registering the pointer to
> mvebu_clk_gating_get_src() into other code. That reference (obviously
> from the oops dump) persists past the point where the __init sections
> are freed.
>
> Hence why no section mismatch warning issued from the static tools;
> they're not infallible.
Ok, so a workaround would be to remove the __init tag so persists
properly, but it sounds like what I really should do is to find out
where that other reference is and why it's persisting to make sure
that's the right behavior in the first place?
Josh C
^ permalink raw reply [flat|nested] 10+ messages in thread
* Kirkwood issues with 3.8-rc1 - Ooops and hang on reboot
2013-01-03 4:50 ` Josh Coombs
@ 2013-01-03 8:22 ` Andrew Lunn
2013-01-03 23:26 ` Josh Coombs
0 siblings, 1 reply; 10+ messages in thread
From: Andrew Lunn @ 2013-01-03 8:22 UTC (permalink / raw)
To: linux-arm-kernel
On 03/01/13 05:50, Josh Coombs wrote:
> On Sat, Dec 29, 2012 at 7:23 PM, Russell King - ARM Linux
> <linux@arm.linux.org.uk> wrote:
>> On Sat, Dec 29, 2012 at 06:31:37PM -0500, Josh Coombs wrote:
>>> Bah, didn't send to everyone last time...
>>>
>>> Building with CONFIG_DEBUG_SECTION_MISMATCH enabled, the only warning
>>> I get is for drivers/w1/masters/w1-gpio.o.
>>>
>>> WARNING: drivers/w1/masters/w1-gpio.o(.data+0x0): Section mismatch in
>>> reference from the variable w1_gpio_driver to the function
>>> .init.text:w1_gpio_probe()
>>> The variable w1_gpio_driver references
>>> the function __init w1_gpio_probe()
>>> If the reference is valid then annotate the
>>> variable with __init* or __refdata (see linux/init.h) or name the variable:
>>> *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
>>>
>>> Shouldn't I be seeing a warning for
>>> drivers/clk/mvebu/clk-gating-ctrl.o at this point as well?
>>
>> Unfortunately not. mvebu_clk_gating_get_src() is referenced by another
>> __init function, which is registering the pointer to
>> mvebu_clk_gating_get_src() into other code. That reference (obviously
>> from the oops dump) persists past the point where the __init sections
>> are freed.
>>
>> Hence why no section mismatch warning issued from the static tools;
>> they're not infallible.
>
> Ok, so a workaround would be to remove the __init tag so persists
> properly, but it sounds like what I really should do is to find out
> where that other reference is and why it's persisting to make sure
> that's the right behavior in the first place?
Hi Josh
If you look in drivers/clk/mvebu/clk-gating-ctrl.c,
mvebu_clk_gating_get_src() is passed as a parameter to
of_clk_add_provider(). of_clk_add_provider() allocates a structure with
kzalloc() and then assigns the function pointer to a member of the
structure.
Because mvebu_clk_gateing_src() is passed as a parameter, the section
missmatch checks cannot detect a problem. As far as i understand, its
the linker which is checking for section miss matches. However, the
linker is not involved here, its not a function calling a function, its
a function passed to a function, and later a function called via a
function pointer.
As far as i can see, the only error here is the wrong __init tag.
Andrew
^ permalink raw reply [flat|nested] 10+ messages in thread
* Kirkwood issues with 3.8-rc1 - Ooops and hang on reboot
2013-01-03 8:22 ` Andrew Lunn
@ 2013-01-03 23:26 ` Josh Coombs
2013-01-04 7:38 ` Andrew Lunn
0 siblings, 1 reply; 10+ messages in thread
From: Josh Coombs @ 2013-01-03 23:26 UTC (permalink / raw)
To: linux-arm-kernel
I did a test build with the __init tag removed (which is not the
correct answer) and everything works. GPIO is functional (I didn't
catch the power LED wasn't working prior), I don't get a panic, and I
can now reboot cleanly as well. So that confirms the basic diagnosis.
I've been trying to wrap my head around include/linux/init.h to see
what the correct tagging should be but I'll admit, I'm in over my head
so far. If anyone has suggested reading on the topic I'd be very
appreciative.
Josh C
On Thu, Jan 3, 2013 at 3:22 AM, Andrew Lunn <andrew@lunn.ch> wrote:
> On 03/01/13 05:50, Josh Coombs wrote:
>>
>> On Sat, Dec 29, 2012 at 7:23 PM, Russell King - ARM Linux
>> <linux@arm.linux.org.uk> wrote:
>>>
>>> On Sat, Dec 29, 2012 at 06:31:37PM -0500, Josh Coombs wrote:
>>>>
>>>> Bah, didn't send to everyone last time...
>>>>
>>>> Building with CONFIG_DEBUG_SECTION_MISMATCH enabled, the only warning
>>>> I get is for drivers/w1/masters/w1-gpio.o.
>>>>
>>>> WARNING: drivers/w1/masters/w1-gpio.o(.data+0x0): Section mismatch in
>>>> reference from the variable w1_gpio_driver to the function
>>>> .init.text:w1_gpio_probe()
>>>> The variable w1_gpio_driver references
>>>> the function __init w1_gpio_probe()
>>>> If the reference is valid then annotate the
>>>> variable with __init* or __refdata (see linux/init.h) or name the
>>>> variable:
>>>> *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
>>>>
>>>> Shouldn't I be seeing a warning for
>>>> drivers/clk/mvebu/clk-gating-ctrl.o at this point as well?
>>>
>>>
>>> Unfortunately not. mvebu_clk_gating_get_src() is referenced by another
>>> __init function, which is registering the pointer to
>>> mvebu_clk_gating_get_src() into other code. That reference (obviously
>>> from the oops dump) persists past the point where the __init sections
>>> are freed.
>>>
>>> Hence why no section mismatch warning issued from the static tools;
>>> they're not infallible.
>>
>>
>> Ok, so a workaround would be to remove the __init tag so persists
>> properly, but it sounds like what I really should do is to find out
>> where that other reference is and why it's persisting to make sure
>> that's the right behavior in the first place?
>
>
> Hi Josh
>
> If you look in drivers/clk/mvebu/clk-gating-ctrl.c,
> mvebu_clk_gating_get_src() is passed as a parameter to
> of_clk_add_provider(). of_clk_add_provider() allocates a structure with
> kzalloc() and then assigns the function pointer to a member of the
> structure.
>
> Because mvebu_clk_gateing_src() is passed as a parameter, the section
> missmatch checks cannot detect a problem. As far as i understand, its the
> linker which is checking for section miss matches. However, the linker is
> not involved here, its not a function calling a function, its a function
> passed to a function, and later a function called via a function pointer.
>
> As far as i can see, the only error here is the wrong __init tag.
>
> Andrew
^ permalink raw reply [flat|nested] 10+ messages in thread
* Kirkwood issues with 3.8-rc1 - Ooops and hang on reboot
2013-01-03 23:26 ` Josh Coombs
@ 2013-01-04 7:38 ` Andrew Lunn
0 siblings, 0 replies; 10+ messages in thread
From: Andrew Lunn @ 2013-01-04 7:38 UTC (permalink / raw)
To: linux-arm-kernel
On 04/01/13 00:26, Josh Coombs wrote:
> I did a test build with the __init tag removed (which is not the
> correct answer) and everything works. GPIO is functional (I didn't
> catch the power LED wasn't working prior), I don't get a panic, and I
> can now reboot cleanly as well. So that confirms the basic diagnosis.
>
> I've been trying to wrap my head around include/linux/init.h to see
> what the correct tagging should be but I'll admit, I'm in over my head
> so far. If anyone has suggested reading on the topic I'd be very
> appreciative.
Hi Josh
The question is, when can this function be used? Only during boot time?
Or at any time? For functions which are only used during boot, __init is
O.K. However, since modules can also want to use clks, we need to be
able to look up clocks at any time. So this function needs to be around
all the time, which is the default behavior of no tag.
Andrew
^ permalink raw reply [flat|nested] 10+ messages in thread
* Kirkwood issues with 3.8-rc1 - Ooops and hang on reboot
2012-12-28 17:17 Kirkwood issues with 3.8-rc1 - Ooops and hang on reboot Andrew Lunn
2012-12-28 17:38 ` Russell King - ARM Linux
@ 2012-12-28 18:19 ` Josh Coombs
1 sibling, 0 replies; 10+ messages in thread
From: Josh Coombs @ 2012-12-28 18:19 UTC (permalink / raw)
To: linux-arm-kernel
I'm using 4.7.2 as packaged by Arch Linux ARM:
[jcoombs at alarm ~]$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/armv5tel-unknown-linux-gnueabi/4.7.2/lto-wrapper
Target: armv5tel-unknown-linux-gnueabi
Configured with: /build/src/gcc-4.7.2/configure --prefix=/usr
--libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/
--enable-languages=c,c++,fortran,lto,objc,obj-c++ --enable-shared
--enable-threads=posix --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-clocale=gnu
--disable-libstdcxx-pch --enable-libstdcxx-time
--enable-gnu-unique-object --enable-linker-build-id --with-ppl
--enable-cloog-backend=isl --disable-ppl-version-check
--disable-cloog-version-check --enable-lto --enable-gold
--enable-ld=default --enable-plugin --with-plugin-ld=ld.gold
--with-linker-hash-style=gnu --disable-multilib --disable-libssp
--disable-build-with-cxx --disable-build-poststage1-with-cxx
--enable-checking=release --host=armv5tel-unknown-linux-gnueabi
--build=armv5tel-unknown-linux-gnueabi
Thread model: posix
gcc version 4.7.2 (GCC)
On Fri, Dec 28, 2012 at 12:17 PM, Andrew Lunn <andrew@lunn.ch> wrote:
> Hi Josh
>
> What compiler version are you using to get the opps?
>
> I don't see this problem, when building with:
>
> arm-linux-gnueabi-gcc -v
> Using built-in specs.
> Target: arm-linux-gnueabi
> Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-8' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/arm-linux-gnueabi/include/c++/4.4.5 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --disable-sjlj-exceptions --enable-checking=release --program-prefix=arm-linux-gnueabi- --includedir=/usr/arm-linux-gnueabi/include --build=i486-linux-gnu --host=i486-linux-gnu --target=arm-linux-gnueabi --with-headers=/usr/arm-linux-gnueabi/include --with-libs=/usr/arm-linux-gnueabi/lib
> Thread model: posix
> gcc version 4.4.5 (Debian 4.4.5-8)
>
> The disassembly i get looks similar, but not identical.
>
> BTW:
>
> make drivers/clk/mvebu/clk-gating-ctrl.lst
>
> is useful in situations like this.
>
> Andrew
^ permalink raw reply [flat|nested] 10+ messages in thread
* Kirkwood issues with 3.8-rc1 - Ooops and hang on reboot
@ 2012-12-28 16:09 Josh Coombs
0 siblings, 0 replies; 10+ messages in thread
From: Josh Coombs @ 2012-12-28 16:09 UTC (permalink / raw)
To: linux-arm-kernel
In testing 3.8-rc1, after adding the missing clk for USB devices patch
and missing sdio clk patch I got a bootable kernel on my GoFlex Net.
I've got two remaining issues however that I'm not sure are covered by
already posted fixes for -rc2 or not. I don't dare add Tested By
lines to the current fixes pending till I know if what I'm seeing is
related or not.
The first is a kernel oops during init. The dmesg output and
associated objdump of what I think is the offending code section is at
the bottom of this email. This doesn't seem to impact operation on my
GoFlex Net, although I can't rule out it being involved in the second
issue I've observed.
The second issue is a hang when issuing a reboot, the kernel/init will
do everything correctly right up to the point that it should actually
restart the device, at which point it just hangs. When I pull power
to force the issue, the kernel starts to spit something out with a log
timestamp but dies due to a lack of power before showing enough to
know what it's saying, so the kernel is still running at that point.
I haven't tested, but I suspect I could tickle other log messages out
of it by say, plugging in a USB device, etc.
If these are known issues with fixes pending, ignore me. If not, let
me know what information is needed to assist with debugging.
Joshua Coombs
Oops output:
[ 23.256445] Internal error: Oops - undefined instruction: 0 [#1] PREEMPT ARM
[ 23.263538] Modules linked in: orion_wdt(+) autofs4
[ 23.268477] CPU: 0 Not tainted (3.8.0-0-ARCH+ #1)
[ 23.273559] PC is at mvebu_clk_gating_get_src+0x28/0x6c
[ 23.278812] LR is at of_clk_get_from_provider+0x40/0x70
[ 23.284061] pc : [<c06090bc>] lr : [<c03af224>] psr: a0000013
sp : c7329d50 ip : 00000000 fp : c7329f58
[ 23.295588] r10: bf00d000 r9 : 00000000 r8 : 38cd728f
[ 23.300837] r7 : c7329d70 r6 : fffffffe r5 : c0655adc r4 : c7867360
[ 23.307394] r3 : c3263851 r2 : c082e03c r1 : c7861bc0 r0 : 00000000
[ 23.313952] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 23.321119] Control: 0005397f Table: 0732c000 DAC: 00000015
[ 23.326891] Process systemd-udevd (pid: 96, stack limit = 0xc73281b8)
[ 23.333361] Stack: (0xc7329d50 to 0xc732a000)
[ 23.337742] 9d40: 00000001
c7329d70 00000000 00000000
[ 23.345959] 9d60: fffffffe c03ad784 c7329d70 c012be7c c082e03c
00000001 00000007 0000278b
[ 23.354182] 9d80: c7365f80 c7365f00 c7365f80 c012bee4 00000014
000000d0 c082e164 c03ad7dc
[ 23.362405] 9da0: 00000000 c7867d60 00000000 c786c210 c02bce6c
c03ad890 00000000 00000000
[ 23.370628] 9dc0: c7379310 c03ad4f0 c786c210 c786c210 c786c200
bf00b1f8 c786c210 c786c244
[ 23.378851] 9de0: bf00b6f8 c02bdcb4 c02bdca0 c02bcd14 c786c210
c786c244 bf00b6f8 c02bced4
[ 23.387074] 9e00: 00000000 c7329e10 bf00b6f8 c02bb510 c7805c4c
c785ded0 bf00b6f8 bf00b6f8
[ 23.395297] 9e20: c73444e0 c06488c0 00000000 c02bc4c0 bf00b63d
bf00b63d bf00b6f8 00000000
[ 23.403519] 9e40: 00000001 bf00b780 c7365e00 c02bd1d4 c02bdcd8
bf00b738 00000000 00000001
[ 23.411742] 9e60: bf00b780 c7365e00 bf00d000 c0008618 bf00d000
00000000 00000001 bf00b738
[ 23.419966] 9e80: bf00b738 00000000 00000001 bf00b780 c7365e00
0000001c 00000001 c005ada0
[ 23.428192] 9ea0: bf00b744 00007fff c0056ee4 00000000 c7801200
c005870c 00000000 bf00b744
[ 23.436412] 9ec0: bf00b88c 00000078 c045b958 c8a6870c c7329eec
b6ecbed8 000002d2 c05a43e4
[ 23.444633] 9ee0: c7328000 00000000 00000000 c00bbd34 00000000
00000000 00000000 00000000
[ 23.452847] 9f00: 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000
[ 23.461062] 9f20: 00000000 00000000 00000000 00000000 000000d2
b630b008 000025ee b6ecbed8
[ 23.469286] 9f40: 00000080 c0008e24 c7328000 00000000 00000000
c005b10c c8a67000 000025ee
[ 23.477508] 9f60: c8a681e4 c8a68087 c8a69174 000008b4 00000a64
00000000 00000000 00000000
[ 23.485731] 9f80: 00000021 00000022 00000019 00000016 00000014
00000000 00000000 00020000
[ 23.493955] 9fa0: 0005bea0 c0008cc0 00000000 00020000 b630b008
000025ee b6ecbed8 0005bea0
[ 23.502177] 9fc0: 00000000 00020000 0005bea0 00000080 00076830
000025ee b6ecbed8 00000000
[ 23.510401] 9fe0: b6e0f590 bea1cda8 b6ec2d04 b6e0f5a0 60000010
b630b008 00000000 00000000
[ 23.518643] [<c03af224>] (of_clk_get_from_provider+0x40/0x70) from
[<c03ad784>] (of_clk_get+0x38/0x4c)
[ 23.528002] [<c03ad784>] (of_clk_get+0x38/0x4c) from [<c03ad7dc>]
(of_clk_get_by_name+0x44/0xbc)
[ 23.536834] [<c03ad7dc>] (of_clk_get_by_name+0x44/0xbc) from
[<c03ad890>] (clk_get+0x3c/0x48)
[ 23.545406] [<c03ad890>] (clk_get+0x3c/0x48) from [<c03ad4f0>]
(devm_clk_get+0x34/0x6c)
[ 23.553462] [<c03ad4f0>] (devm_clk_get+0x34/0x6c) from [<bf00b1f8>]
(orion_wdt_probe+0x18/0x198 [orion_wdt])
[ 23.563353] [<bf00b1f8>] (orion_wdt_probe+0x18/0x198 [orion_wdt])
from [<c02bdcb4>] (platform_drv_probe+0x14/0x18)
[ 23.573756] [<c02bdcb4>] (platform_drv_probe+0x14/0x18) from
[<c02bcd14>] (driver_probe_device+0xa8/0x200)
[ 23.583458] [<c02bcd14>] (driver_probe_device+0xa8/0x200) from
[<c02bced4>] (__driver_attach+0x68/0x8c)
[ 23.592910] [<c02bced4>] (__driver_attach+0x68/0x8c) from
[<c02bb510>] (bus_for_each_dev+0x48/0x80)
[ 23.602007] [<c02bb510>] (bus_for_each_dev+0x48/0x80) from
[<c02bc4c0>] (bus_add_driver+0xdc/0x230)
[ 23.611100] [<c02bc4c0>] (bus_add_driver+0xdc/0x230) from
[<c02bd1d4>] (driver_register+0x9c/0x12c)
[ 23.620196] [<c02bd1d4>] (driver_register+0x9c/0x12c) from
[<c0008618>] (do_one_initcall+0x90/0x168)
[ 23.629381] [<c0008618>] (do_one_initcall+0x90/0x168) from
[<c005ada0>] (load_module+0x186c/0x1b0c)
[ 23.638475] [<c005ada0>] (load_module+0x186c/0x1b0c) from
[<c005b10c>] (sys_init_module+0xcc/0xec)
[ 23.647481] [<c005b10c>] (sys_init_module+0xcc/0xec) from
[<c0008cc0>] (ret_fast_syscall+0x0/0x2c)
[ 23.656487] Code: 2e312e31 00000030 01724006 020a0014 (2d6e7673)
[ 23.662614] ---[ end trace 408d74142c65198d ]---
objdump:
c0609094 <mvebu_clk_gating_get_src>:
c0609094: e92d40f8 push {r3, r4, r5, r6, r7, lr}
c0609098: e5903004 ldr r3, [r0, #4]
c060909c: e1a06000 mov r6, r0
c06090a0: e1a05001 mov r5, r1
c06090a4: e3530000 cmp r3, #0
c06090a8: c3a04000 movgt r4, #0
c06090ac: ca00000c bgt c06090e4 <mvebu_clk_gating_get_src+0x50>
c06090b0: ea000010 b c06090f8 <mvebu_clk_gating_get_src+0x64>
c06090b4: e5953000 ldr r3, [r5]
c06090b8: e1a07104 lsl r7, r4, #2
c06090bc: e7930104 ldr r0, [r3, r4, lsl #2]
c06090c0: ebf694d7 bl c03ae424 <__clk_get_hw>
c06090c4: e5962008 ldr r2, [r6, #8]
c06090c8: e5d0300c ldrb r3, [r0, #12]
c06090cc: e1520003 cmp r2, r3
c06090d0: 1a000002 bne c06090e0 <mvebu_clk_gating_get_src+0x4c>
c06090d4: e5953000 ldr r3, [r5]
c06090d8: e7930007 ldr r0, [r3, r7]
c06090dc: e8bd80f8 pop {r3, r4, r5, r6, r7, pc}
c06090e0: e2844001 add r4, r4, #1
c06090e4: e5953004 ldr r3, [r5, #4]
c06090e8: e1540003 cmp r4, r3
c06090ec: bafffff0 blt c06090b4 <mvebu_clk_gating_get_src+0x20>
c06090f0: e3e00012 mvn r0, #18
c06090f4: e8bd80f8 pop {r3, r4, r5, r6, r7, pc}
c06090f8: e3e00015 mvn r0, #21
c06090fc: e8bd80f8 pop {r3, r4, r5, r6, r7, pc}
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2013-01-04 7:38 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-28 17:17 Kirkwood issues with 3.8-rc1 - Ooops and hang on reboot Andrew Lunn
2012-12-28 17:38 ` Russell King - ARM Linux
2012-12-29 23:31 ` Josh Coombs
2012-12-30 0:23 ` Russell King - ARM Linux
2013-01-03 4:50 ` Josh Coombs
2013-01-03 8:22 ` Andrew Lunn
2013-01-03 23:26 ` Josh Coombs
2013-01-04 7:38 ` Andrew Lunn
2012-12-28 18:19 ` Josh Coombs
-- strict thread matches above, loose matches on Subject: below --
2012-12-28 16:09 Josh Coombs
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).