From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id CD5CC1007D1 for ; Fri, 9 Dec 2011 06:44:20 +1100 (EST) Message-ID: <1323373449.12793.40.camel@pasglop> Subject: Re: [PATCH 01/16 v3] pmac_zilog: fix unexpected irq From: Benjamin Herrenschmidt To: Finn Thain Date: Fri, 09 Dec 2011 06:44:09 +1100 In-Reply-To: References: <20111023141108.856998818@telegraphics.com.au> <20111023141115.208699274@telegraphics.com.au> <1323318004.12793.21.camel@pasglop> <1323318638.12793.23.camel@pasglop> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: linuxppc-dev@lists.ozlabs.org, linux-m68k@vger.kernel.org, Geert Uytterhoeven , linux-serial@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2011-12-08 at 22:26 +1100, Finn Thain wrote: > > Maybe the modem wants a transition on DTR or similar, but it hasn't had > time to initialise when that happens during SCC resumption. > > If so, calling pmz_shutdown() then pmz_startup() from the tail of > pmz_resume() without delay should probably fail to revive it... Well, we power the modem down and back up... but it's possible that we fail to re-enable something, I'll check. That used to work (at least with macserial, maybe I never tried this specific torture with pmz...). I'll figure it out eventually. Cheers, Ben.