From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753165AbcBVTUY (ORCPT ); Mon, 22 Feb 2016 14:20:24 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:43567 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753033AbcBVTUU (ORCPT ); Mon, 22 Feb 2016 14:20:20 -0500 Date: Mon, 22 Feb 2016 20:20:15 +0100 From: Pavel Machek To: Diego Viola Cc: "Rafael J. Wysocki" , 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 Message-ID: <20160222192015.GA4011@amd> References: <20160222100907.GA32071@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 2016-02-22 15:59:48, Diego Viola wrote: > On Mon, Feb 22, 2016 at 7:09 AM, Pavel Machek 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