Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932407AbbLBJls (ORCPT ); Wed, 2 Dec 2015 04:41:48 -0500 Received: from mail1.bemta14.messagelabs.com ([193.109.254.117]:13907 "EHLO mail1.bemta14.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756930AbbLBJlp (ORCPT ); Wed, 2 Dec 2015 04:41:45 -0500 X-Greylist: delayed 373 seconds by postgrey-1.27 at vger.kernel.org; Wed, 02 Dec 2015 04:41:44 EST X-Env-Sender: Andreas.Werner@men.de X-Msg-Ref: server-14.tower-194.messagelabs.com!1449048927!5601871!1 X-Originating-IP: [80.255.6.145] X-StarScan-Received: X-StarScan-Version: 7.19.2; banners=-,-,- X-VirusChecked: Checked X-PGP-Universal: processed; by keys.men.de on Wed, 02 Dec 2015 10:35:28 +0100 Date: Wed, 2 Dec 2015 10:33:10 +0100 From: Andreas Werner To: Tejun Heo CC: Andreas Werner , , , Hannes Reinecke , "Martin K. Petersen" Subject: Re: libata-core: devslp fails on ATP mSATA Message-ID: <20151202093310.GE10207@awelinux> References: <20151201092234.GB29791@awelinux> <20151201161715.GA12922@mtj.duckdns.org> <20151201190410.GA21252@mtj.duckdns.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20151201190410.GA21252@mtj.duckdns.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [192.1.1.170] X-ClientProxiedBy: MEN-EX01.intra.men.de (192.168.1.1) To MEN-EX01.intra.men.de (192.168.1.1) X-EXCLAIMER-MD-CONFIG: e4841e51-7998-49c0-ba41-8b8a0e2d8962 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1854 Lines: 49 On Tue, Dec 01, 2015 at 02:04:10PM -0500, Tejun Heo wrote: > On Tue, Dec 01, 2015 at 11:17:15AM -0500, Tejun Heo wrote: > > So, I suppose this is a fallout from 9faa643855df ("libata: use > > READ_LOG_DMA_EXT"). The description just says "we should try use it" > > but is there any benefit from using NCQ variant of read log page? I > > mean, it's used during config and error handling, so it's not like > > queueing is gonna help anything. It ends up issuing NCQ commands on > > controllers which don't support NCQ and causes failures on devices > > which lie about supporting the feature. > > Hmmm... so, the controller locks up on READ_LOG_EXT issued as pio? > That's just weird. I suppose you can blacklist the controller so that > any attempt to read the log page fails without actually issuing the > command. > > Thanks. > > -- > tejun Hi, yes since i am using 3.14 where the READ_LOG_DMA_EXT is not it, it seems that the controller locks up even on READ_LOG_EXT as PIO. I have checked the current ERRATA sheet of the CPU but there are no issues regarding this problem. Test on a Freescale T4240 show the same behaviour as on P1013/P1022. It seems that some FSL Cpus are affected. I have asked my FAE at Freescale if he has some information about that kind of issue. Blacklisting the controller would be a solution yes, but I just wanna wait the answer from the FAE to be sure we really have a problem. What kind of identifier can I use for blacklisting? The driver name from the host driver? (fsl-sata) I did not find any register in the sata controller to read out an ID. Regards Andy -- 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/