Re: [PATCH v3] net: jme: fix suspend/resume on JMC260
From: Diego Viola
Date: Wed Feb 24 2016 - 19:43:12 EST
On Tue, Feb 23, 2016 at 1:34 PM, Diego Viola <diego.viola@xxxxxxxxx> wrote:
> On Tue, Feb 23, 2016 at 12:04 PM, Diego Viola <diego.viola@xxxxxxxxx> wrote:
>> The JMC260 network card fails to suspend/resume because the call to
>> jme_start_irq() was too early, moving the call to jme_start_irq() after
>> the call to jme_reset_link() makes it work.
>> Prior this change suspend/resume would fail unless /sys/power/pm_async=0
>> was explicitly specified.
>> Relevant bug report: https://bugzilla.kernel.org/show_bug.cgi?id=112351
>> Signed-off-by: Diego Viola <diego.viola@xxxxxxxxx>
>> drivers/net/ethernet/jme.c | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>> diff --git a/drivers/net/ethernet/jme.c b/drivers/net/ethernet/jme.c
>> index b1de7af..8adbe8f 100644
>> --- a/drivers/net/ethernet/jme.c
>> +++ b/drivers/net/ethernet/jme.c
>> @@ -3312,13 +3312,14 @@ jme_resume(struct device *dev)
>> - jme_start_irq(jme);
>> + jme_start_irq(jme);
>> return 0;
> I've sent this v3 patch and I think it's better than v2 and v1, as it
> includes the link to my bug report and the description is better.
I just wanted to say that there's another user that have reported
success with the JMC250 (different card) using the jme driver with the
He was also getting hangs apparently.
I got an email from him, see his response here: http://ix.io/oBA
It's the same user that have posted this: