netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Diego Viola <diego.viola@gmail.com>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
	cooldavid@cooldavid.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: Computer fails to resume from suspend unless I rmmod jme before initiating the suspend
Date: Mon, 22 Feb 2016 20:20:15 +0100	[thread overview]
Message-ID: <20160222192015.GA4011@amd> (raw)
In-Reply-To: <CA+ToGPE3=OBsNDP_O7EoT76FqMdxdjdt=+tHNGBbm-oUkQHA4Q@mail.gmail.com>

On Mon 2016-02-22 15:59:48, Diego Viola wrote:
> On Mon, Feb 22, 2016 at 7:09 AM, Pavel Machek <pavel@ucw.cz> wrote:
> > Hi!
> >
> >> >>>> Every time I initiate a suspend (systemctl suspend) the machine hangs
> >> >>>> at resume unless I unload the jme driver.
> >
> > It seems to have some kind of suspend/resume support. ... and it is
> > rather complex.
> >
> > Maybe jme_start_irq(jme) should be moved to the end of jme_resume
> > function?
> >
> >> > So I found that disabling async as in:
> >> >
> >> > $ echo 0 > /sys/power/pm_async
> >> >
> >> > Helps with my issue, I can't reproduce the hang anymore, tried
> >> > suspend/resume almost ~15 times.
> >> >
> >> > Diego
> >>
> >> Can someone please help?
> 
> Hi Pavel,
> 
> This did the trick, suspend/resume is now working perfectly for me
> (tried more than 10 times). :)
> 
> Thank you so much, should I send a patch?

Yes please.

									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

  reply	other threads:[~2016-02-22 19:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-10  4:19 Computer fails to resume from suspend unless I rmmod jme before initiating the suspend Diego Viola
2016-02-10 21:36 ` Diego Viola
2016-02-12  8:17   ` Diego Viola
2016-02-13 20:38     ` Diego Viola
2016-02-14 20:16       ` Diego Viola
2016-02-14 20:21         ` Richard Weinberger
2016-02-22 10:09         ` Pavel Machek
2016-02-22 18:59           ` Diego Viola
2016-02-22 19:20             ` Pavel Machek [this message]
2016-02-23  0:38               ` Diego Viola
2016-03-02  5:04           ` Guo-Fu Tseng
2016-03-07  1:35             ` Diego Viola

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=20160222192015.GA4011@amd \
    --to=pavel@ucw.cz \
    --cc=cooldavid@cooldavid.org \
    --cc=diego.viola@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=rjw@rjwysocki.net \
    /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).