Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753713AbbLDPyT (ORCPT ); Fri, 4 Dec 2015 10:54:19 -0500 Received: from mail1.bemta14.messagelabs.com ([193.109.254.114]:9707 "EHLO mail1.bemta14.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753385AbbLDPyR (ORCPT ); Fri, 4 Dec 2015 10:54:17 -0500 X-Env-Sender: Andreas.Werner@men.de X-Msg-Ref: server-16.tower-194.messagelabs.com!1449244453!6320106!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 Fri, 04 Dec 2015 16:54:13 +0100 Date: Fri, 4 Dec 2015 16:52:18 +0100 From: Andreas Werner To: CC: , Subject: [PATCH 0/2] libata: introduce ATA_FLAG_NO_LOG_PAGE Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline 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: 1146 Lines: 34 This patchset add a new ata port flag ATA_FLAG_NO_LOG_PAGE to be able to blacklist ports/controller which e.g. locks up on a log page read. This flag is added to the sata_fsl driver which is the first affected one. The lockup was detected on Freescale P1013/P1022, T4240 using a ATP mSATA. The device failed during initialisation if the SATA device includes the devslp feature. With this patchset, we blacklist the fsl sata controller and return a error on any attempt to read a log page. This allows us to access the mSATA. Andreas Werner (2): libata-eh.c: Introduce new ata port flag for controller which lockup on read log page ata/sata_fsl.c: add ATA_FLAG_NO_LOG_PAGE to blacklist the controller for log page reads drivers/ata/libata-eh.c | 9 +++++++++ drivers/ata/sata_fsl.c | 3 ++- include/linux/libata.h | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) -- 2.6.2 -- 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/