From: festevam@gmail.com (Fabio Estevam)
To: linux-arm-kernel@lists.infradead.org
Subject: Suspend/resume broken on mx5/mx6 running 4.16
Date: Mon, 4 Aug 2014 23:33:17 -0300 [thread overview]
Message-ID: <CAOMZO5DhTk+Pd=77OB5nfQonjwHMdozi4C4bzfWLyYXz3_xHsQ@mail.gmail.com> (raw)
In-Reply-To: <CAOMZO5D0a96m0NPibN5pHOMsu+muHygeb=oqPd=etG8WjgyAwQ@mail.gmail.com>
On Mon, Aug 4, 2014 at 3:21 PM, Fabio Estevam <festevam@gmail.com> wrote:
> Hi Russell,
>
> On Mon, Aug 4, 2014 at 3:11 PM, Russell King - ARM Linux
> <linux@arm.linux.org.uk> wrote:
>
>> Right, so the code which oopsed was:
>>
>> 0: e1a0c00d mov ip, sp
>> 4: e92dd818 push {r3, r4, fp, ip, lr, pc}
>> 8: e24cb004 sub fp, ip, #4
>> c: e5904088 ldr r4, [r0, #136] ; 0x88
>> 10: e594302c ldr r3, [r4, #44] ; 0x2c
>>
>> and from the above, we can see that r4 was NULL.
>>
>> fec_suspend(struct device *dev)
>> {
>> struct net_device *ndev = dev_get_drvdata(dev);
>>
>> which would make ndev NULL. I don't see how that could happen though,
>> as we set the driver data in the probe function. Any patches on top of
>> 3.16?
>
> Yes, I still do not understand why we are getting this NULL pointer
> inside fec_suspend().
>
> I am using the original 3.16 with no other patches on top.
I managed to bisect it. Will start a thread at netdev about it.
next prev parent reply other threads:[~2014-08-05 2:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-04 17:53 Suspend/resume broken on mx5/mx6 running 4.16 Fabio Estevam
2014-08-04 18:11 ` Russell King - ARM Linux
2014-08-04 18:21 ` Fabio Estevam
2014-08-05 2:33 ` Fabio Estevam [this message]
2014-08-05 6:06 ` fugang.duan at freescale.com
2014-08-05 6:16 ` Shawn Guo
2014-08-05 6:52 ` fugang.duan at freescale.com
2014-08-05 9:21 ` Russell King - ARM Linux
2014-08-05 18:52 ` Greg KH
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='CAOMZO5DhTk+Pd=77OB5nfQonjwHMdozi4C4bzfWLyYXz3_xHsQ@mail.gmail.com' \
--to=festevam@gmail.com \
--cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.