Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932180AbbLDRO1 (ORCPT ); Fri, 4 Dec 2015 12:14:27 -0500 Received: from mail1.bemta3.messagelabs.com ([195.245.230.177]:6280 "EHLO mail1.bemta3.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756068AbbLDROX (ORCPT ); Fri, 4 Dec 2015 12:14:23 -0500 X-Env-Sender: Andreas.Werner@men.de X-Msg-Ref: server-11.tower-39.messagelabs.com!1449249260!10289167!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 18:14:21 +0100 Date: Fri, 4 Dec 2015 18:12:24 +0100 From: Andreas Werner To: CC: , Subject: [v2 0/2] ata/libata-eh.c: 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: 1219 Lines: 37 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. Changes in v2: fixed the build issue detected by the kbuild test robot 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/