Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756257AbbLWLPk (ORCPT ); Wed, 23 Dec 2015 06:15:40 -0500 Received: from rtits2.realtek.com ([60.250.210.242]:56106 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756221AbbLWLPh (ORCPT ); Wed, 23 Dec 2015 06:15:37 -0500 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.56 with qID tBNBFGVm023157, This message is accepted by code: ctloc85258 From: Hayes Wang To: Oliver Neukum CC: "linux-kernel@vger.kernel.org" , "linux-usb@vger.kernel.org" , "netdev@vger.kernel.org" , "peter@lekensteyn.nl" Subject: RE: [PATCH v2] r8152: fix lockup when runtime PM is enabled Thread-Topic: [PATCH v2] r8152: fix lockup when runtime PM is enabled Thread-Index: AQHRMaoYnf1SY6s5ykW+Hxk1Ou29D57BBqoA//+amICAFjEPMP//lG0AgAGXnjD//82xgAASHnPA//+XxQD//3YfkA== Date: Wed, 23 Dec 2015 11:15:16 +0000 Message-ID: <0835B3720019904CB8F7AA43166CEEB2F9964B@RTITEXDAG01.realtek.com.tw> References: <1449573462-28417-1-git-send-email-peter@lekensteyn.nl> <0835B3720019904CB8F7AA43166CEEB2F8DAD9@RTITMBSV03.realtek.com.tw> <20151208143305.GB18728@al> <0835B3720019904CB8F7AA43166CEEB2F94D11@RTITMBSV03.realtek.com.tw> <1450782082.8824.23.camel@suse.com> <0835B3720019904CB8F7AA43166CEEB2F94FFF@RTITMBSV03.realtek.com.tw> <1450858813.6437.2.camel@suse.de> <0835B3720019904CB8F7AA43166CEEB2F9547E@RTITMBSV03.realtek.com.tw> <1450867558.6437.10.camel@suse.com> In-Reply-To: <1450867558.6437.10.camel@suse.com> Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.177.36] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id tBNBFiln015906 Content-Length: 643 Lines: 16 Oliver Neukum [mailto:oneukum@suse.com] > Sent: Wednesday, December 23, 2015 6:46 PM [...] > That is indeed a problem and I need to think a bit about finding > a good solution. If you are happy with an inelegant solution, you can > use a pm_notifier, which will tell you that the system is going > to suspend. This is documented: > > https://www.kernel.org/doc/Documentation/power/notifiers.txt Thanks. I would study it after fixing the reset_resume() issue. Best Regards, Hayes ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?