Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751161AbZJKF0p (ORCPT ); Sun, 11 Oct 2009 01:26:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750988AbZJKF0p (ORCPT ); Sun, 11 Oct 2009 01:26:45 -0400 Received: from gate.crashing.org ([63.228.1.57]:49338 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750850AbZJKF0o (ORCPT ); Sun, 11 Oct 2009 01:26:44 -0400 Subject: Re: USB serial regression 2.6.31.1 -> 2.6.31.2 From: Benjamin Herrenschmidt To: Ben Efros Cc: Alan Stern , fangxiaozhi , Greg KH , Kernel development list , USB list , Hugh Blemings , Josua Dietze In-Reply-To: <32355889.563271255220486481.JavaMail.root@mail.pc-doctor.com> References: <32355889.563271255220486481.JavaMail.root@mail.pc-doctor.com> Content-Type: text/plain; charset="UTF-8" Date: Sun, 11 Oct 2009 16:24:41 +1100 Message-Id: <1255238681.2192.30.camel@pasglop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1048 Lines: 27 On Sat, 2009-10-10 at 17:21 -0700, Ben Efros wrote: > > Ben Herrenschmidt's patch[1] to retry without SANE_SENSE might be > combined be able to be used to detect this 'INSANE_SENSE' scenario, > but not in its current form. > > Devices lying about the "additional sense length" doesn't seem all > that common, so it might be better to just flag the device as insane > and not worry about reworking Ben Herrenschmidt's patch. I don't like flagging devices ... though we already somewhat do it for the mode switch so it would be possible to stick the flag there. Another option is to set the insane flag from a retry path similar to what I posted so that it doesn't ping pong. In any case, a decision should be made soon as current -stable is broken and these devices are very common. Cheers, Ben. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/