Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751916AbcCGBf4 (ORCPT ); Sun, 6 Mar 2016 20:35:56 -0500 Received: from mail-ig0-f172.google.com ([209.85.213.172]:34625 "EHLO mail-ig0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751358AbcCGBfq (ORCPT ); Sun, 6 Mar 2016 20:35:46 -0500 MIME-Version: 1.0 In-Reply-To: <20160302045337.M30306@cooldavid.org> References: <20160222100907.GA32071@amd> <20160302045337.M30306@cooldavid.org> Date: Sun, 6 Mar 2016 22:35:45 -0300 Message-ID: Subject: Re: Computer fails to resume from suspend unless I rmmod jme before initiating the suspend From: Diego Viola To: Guo-Fu Tseng Cc: Pavel Machek , "Rafael J. Wysocki" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1777 Lines: 54 On Wed, Mar 2, 2016 at 2:04 AM, Guo-Fu Tseng wrote: > Dear Diego and who concerns about this driver: > > Thanks for reporting it. I can still provide some help, but it's just I'm quite busy. > So that you have not seem me sending patch for a long time. > > I wrote this driver when I wan an intern in JMicron during one of my summer vacation > while I'm still student in 2008. And form that point, I do the maintenance just > for fun, not taking any money from them. > > JMicron stopped contact me for a long time, and Diego told me that JMicron told him > this chip was EOL 6 years ago. > > I have a confidential spec of this chip. I can still provide some help. > > Diego is working closely with me for this issue right now. > > On Mon, 22 Feb 2016 11:09:07 +0100, 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? >> >> Pavel >> -- >> (english) http://www.livejournal.com/~pavelmachek >> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html > > > Guo-Fu Tseng Dear Guo, I just wanted to say thank you for helping me fix the issues I had with this driver. Thank you! You're awesome. :D Diego