From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755257AbYAMW5T (ORCPT ); Sun, 13 Jan 2008 17:57:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754476AbYAMW5L (ORCPT ); Sun, 13 Jan 2008 17:57:11 -0500 Received: from gate.crashing.org ([63.228.1.57]:53803 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754459AbYAMW5L (ORCPT ); Sun, 13 Jan 2008 17:57:11 -0500 Subject: Re: [PATCH: 2/2] [SERIAL] avoid stalling suspend if serial port won't drain From: Benjamin Herrenschmidt Reply-To: benh@kernel.crashing.org To: Pavel Machek Cc: Russell King , Linux Kernel List , Alan Cox , Andrew Morton In-Reply-To: <20080111101721.GA4463@ucw.cz> References: <20080108115148.GB10546@flint.arm.linux.org.uk> <20080108115703.GA27179@flint.arm.linux.org.uk> <20080111101721.GA4463@ucw.cz> Content-Type: text/plain Date: Mon, 14 Jan 2008 09:56:06 +1100 Message-Id: <1200264966.6896.148.camel@pasglop> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2008-01-11 at 10:17 +0000, Pavel Machek wrote: > Is printk() enough for 'we've just lost your data' condition? Maybe we > should abort suspend if we can't drain fifo? YUCK ! Ben.