Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1190275ybn; Wed, 2 Oct 2019 12:11:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqxSDZP/f7tgz4SVSQo8IHOqKghaW0fpdsSJe6Oo1F0Ls1+uEsuXcrkzII4CiNzslJ5679rl X-Received: by 2002:a17:906:1f57:: with SMTP id d23mr4549071ejk.103.1570043478918; Wed, 02 Oct 2019 12:11:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570043478; cv=none; d=google.com; s=arc-20160816; b=FmijWdvag3kU57i63U8ZI89cLJxsYYvarcbIlGzvHB+AkLCy1PTTRqKfmaqedxGGGZ ZirhQHwa6AjDDCw0+j1aJjOw7jil28f+sFkN+xvvGim4SOpdcL0xY6we3Y54UChzQFvM Gaijm5BAUxKdD1J4MaKf4iYesHutIZ7TqzSCHPiOs0BSU3hx08P/lUORBy6srJnhV9OU SnC5ArtYU1GP99UIQNRJrKKkywf7ZiONx5GvbKtFa3upZ7fQYAJNf03/eYkbZf4Dd7Q8 ysmZU96o4DicuYPuZ3SYia8OY0n5v0b1O37jVZjZ8vFezpbnk/teAzrVquc7vzEVufuf UkpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition; bh=8RY85XlZKyPo1wkdtZeHBzqcHOfUDACxf1UBRPGFcDM=; b=JtXD2EtoB8yX9Mm7wjgqeVovN64L8ECAQ2R81umkp5gJ2iZX904UFhrUk4VPLAH+Ks elEtB3xv5NttanBGwVvULhY4hob5i94PJgV+KyaVuVtPS4nOXwKEfdpk3/m1ej5syu5b CSFcHE81t6isbam/HgqVIKyMngg8il3fUuiMuHVjVMpyiDFZUrdBhfmVwpujhsueFOkl iu2f+1kR+ChUQCDXmekRg9DHsiLSlwPelz+zbuBb1qSR7Vui6NtUjzmGMS+ceUWyAxuL laBObGiBr8Qvlwz5ggX6BvU1yRgDd3Z3BuuIRAjk5V3cfiQRhDtxFd4zkaDoUZ4eLBEE Nkrg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s2si538ejj.327.2019.10.02.12.10.54; Wed, 02 Oct 2019 12:11:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729753AbfJBTKA (ORCPT + 99 others); Wed, 2 Oct 2019 15:10:00 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:35982 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729344AbfJBTIS (ORCPT ); Wed, 2 Oct 2019 15:08:18 -0400 Received: from [192.168.4.242] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iFjyx-00036L-Tj; Wed, 02 Oct 2019 20:08:16 +0100 Received: from ben by deadeye with local (Exim 4.92.1) (envelope-from ) id 1iFjyo-0003eQ-VS; Wed, 02 Oct 2019 20:08:06 +0100 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, Denis Kirjanov , "Jens Axboe" , "Hans de Goede" , "Martin K. Petersen" Date: Wed, 02 Oct 2019 20:06:51 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) X-Patchwork-Hint: ignore Subject: [PATCH 3.16 57/87] libata: Extend quirks for the ST1000LM024 drives with NOLPM quirk In-Reply-To: X-SA-Exim-Connect-IP: 192.168.4.242 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.75-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Hans de Goede commit 31f6264e225fb92cf6f4b63031424f20797c297d upstream. We've received a bugreport that using LPM with ST1000LM024 drives leads to system lockups. So it seems that these models are buggy in more then 1 way. Add NOLPM quirk to the existing quirks entry for BROKEN_FPDMA_AA. BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1571330 Reviewed-by: Martin K. Petersen Signed-off-by: Hans de Goede Signed-off-by: Jens Axboe Signed-off-by: Ben Hutchings --- drivers/ata/libata-core.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -4176,9 +4176,12 @@ static const struct ata_blacklist_entry { "ST3320[68]13AS", "SD1[5-9]", ATA_HORKAGE_NONCQ | ATA_HORKAGE_FIRMWARE_WARN }, - /* drives which fail FPDMA_AA activation (some may freeze afterwards) */ - { "ST1000LM024 HN-M101MBB", "2AR10001", ATA_HORKAGE_BROKEN_FPDMA_AA }, - { "ST1000LM024 HN-M101MBB", "2BA30001", ATA_HORKAGE_BROKEN_FPDMA_AA }, + /* drives which fail FPDMA_AA activation (some may freeze afterwards) + the ST disks also have LPM issues */ + { "ST1000LM024 HN-M101MBB", "2AR10001", ATA_HORKAGE_BROKEN_FPDMA_AA | + ATA_HORKAGE_NOLPM, }, + { "ST1000LM024 HN-M101MBB", "2BA30001", ATA_HORKAGE_BROKEN_FPDMA_AA | + ATA_HORKAGE_NOLPM, }, { "VB0250EAVER", "HPG7", ATA_HORKAGE_BROKEN_FPDMA_AA }, /* Blacklist entries taken from Silicon Image 3124/3132