From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mo4-p05-ob.smtp.rzone.de ([81.169.146.183]:33510 "EHLO mo4-p05-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754400AbbG3R6Y (ORCPT ); Thu, 30 Jul 2015 13:58:24 -0400 Date: Thu, 30 Jul 2015 19:52:21 +0200 From: Stefan Lippers-Hollmann To: Cc: martin.petersen@oracle.com, hare@suse.de, tj@kernel.org, Subject: Re: Patch "libata: Fall back to unqueued READ LOG EXT if the DMA variant fails" has been added to the 4.1-stable tree Message-ID: <20150730195221.6fc1beb8@mir> In-Reply-To: <1438215953336@kroah.com> References: <1438215953336@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: Hi On 2015-07-29, gregkh@linuxfoundation.org wrote: > This is a note to let you know that I've just added the patch titled > > libata: Fall back to unqueued READ LOG EXT if the DMA variant fails > > to the 4.1-stable tree which can be found at: > http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary > > The filename of the patch is: > libata-fall-back-to-unqueued-read-log-ext-if-the-dma-variant-fails.patch > and it can be found in the queue-4.1 subdirectory. > > If you, or anyone else, feels it should not be added to the stable tree, > please let know about it. > > > From 5d3abf8ff67f49271a42c0f7fa4f20f9e046bf0e Mon Sep 17 00:00:00 2001 > From: "Martin K. Petersen" > Date: Mon, 4 May 2015 21:54:21 -0400 > Subject: libata: Fall back to unqueued READ LOG EXT if the DMA variant fails > > From: "Martin K. Petersen" > > commit 5d3abf8ff67f49271a42c0f7fa4f20f9e046bf0e upstream. > > Some devices advertise support for the READ/WRITE LOG DMA EXT commands > but fail when we try to issue them. This can lead to queued TRIM being > unintentionally disabled since the relevant feature flag is located in a > general purpose log page. > > Fall back to unqueued READ LOG EXT if the DMA variant fails while > reading a log page. This patch, as part of the current -stable queue-4.1 introduces a regression for me on an ivy-bridge Asus P8H77-M PRO[1] mainboard using a Toshiba DT01ACA3 attached. When trying to boot, the system stops with a high spinning loop (and many supressed printks) of ata1.00: READ LOG DMA EXT failed, trying unqueued while still being in the initramfs code. 00:1f.2 SATA controller [0106]: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e02] (rev 04) (prog-if 01 [AHCI 1.0]) Subsystem: ASUSTeK Computer Inc. P8 series motherboard [1043:84ca] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR-