Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp1924425rdb; Tue, 5 Sep 2023 09:00:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG7+403ZRROXIdHVEZo2CrOhLSUtr1qvfnQ3A5GnWYKC+zpqCFcrS+7jN6f3O1GxbNG+mCA X-Received: by 2002:a05:6a20:72a5:b0:14e:3ac2:e10d with SMTP id o37-20020a056a2072a500b0014e3ac2e10dmr13115793pzk.47.1693929637451; Tue, 05 Sep 2023 09:00:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693929637; cv=none; d=google.com; s=arc-20160816; b=Lhn3lT2YU4utfuQNm3Zrdh9ZKjXQu//rjBQeMVwi25NCO28BLGA92zwioecaJNUjsg CD2qmUYJccWBKjlL5coLGY/zkio2dyhwA6rMSbNQTvgYf0/g6pcn35jjkqSuycFSggxQ EZJZRq+qXgBGyiH8+6O8IAh/HGMkA32MrzqFlcrzzst0rm0fx36rqzI+OqV6McmA8+cy u0ZnPD0J/hkBwmi13VpnEeDLdKrxvAs80BHco9EAu3kHhAsS9/Xx2kaIoFySE3no4H8+ hNFBwJtNe8ROn2XFoi/crD2+5ex/Q2EBue5EDvRFXOQOnvusnFbEpmKJiOUPNfJW3Ijy ffIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=Y8zm3xOqzxj7nqGEHSP0cyVmc6iB2IW//mzA6c8HvKI=; fh=bN2qqzpjiKhhsggHKZ+DK1MLC3B9bSiRkIQBcFE0LEo=; b=Z65DYSw/aLtBaugMM/yuF5eovnfe2MuLKfxTFTJalv1kvYV1EUTXpvDnybcLZCp4tf oRa/8Xy58x9Wd3RSRXuQX/W5eu3Sinv20oYTGoRM2Izh6OmExGguxd+pwKDNsQ/+Ij6S 0DHkTjfpTj4UEF0ke8mPG3au/0zu+BCV4f7LkXSaQnGIzxe3KXHX4XXydZE12pbEV85B HOvyvXWwz/4WJxwF6jvt977rsaEudA/FQBZgWqp+SRZGaxQsW99Oz/Y2OlOOW8xy+Ro8 4w6+PutjMDoGlkQd2v+7LFXLtaAs5iv9tVc0r4irunZxiAZsxwaaoz80eU5o45tNpNeT rJ+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="RCxq/1ge"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s24-20020a63af58000000b0055be9526b7fsi10065670pgo.416.2023.09.05.09.00.34; Tue, 05 Sep 2023 09:00:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="RCxq/1ge"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351499AbjIBCyl (ORCPT + 12 others); Fri, 1 Sep 2023 22:54:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjIBCyk (ORCPT ); Fri, 1 Sep 2023 22:54:40 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 107DF10FE; Fri, 1 Sep 2023 19:54:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id E980CCE2531; Sat, 2 Sep 2023 02:54:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9760AC433C7; Sat, 2 Sep 2023 02:54:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1693623274; bh=GXCRWO0jMBN7wM4ldPOMOsT+647zmRpPM5BTumXY1Zg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=RCxq/1geyO1kOiweTGCMCADZmcX8Q7A9SBjKTMKU52nVimuUzi8cPoNhB8Rt/UoUi isjtYlSJmnrDPWD/EKnWb3m7A6thN9hd5nHKAm1qrnvQ/oHzl3YqLNcTNbzuUqpNNA QqmadZg6emwVv+Gf7JbfBRumGF29zMDUTViadkvGB+oFhl6kOd8GfzR2UM3qo6imz1 IecLu/NgOlRnU5Hc263fjgaoTxiazw14dCOhv6sSmV7LqZAvcRZLh4sC2bOKkwlcKs LHdA6B1yKvMVRo4DrZF4oJ88bK90i0Cln3BfjyvwU5qmqvrlr5VH9A4loqnmlguSmg 0w5co7S0kpavQ== Message-ID: <91dc19a5-ea7f-1abf-1c35-5a9582036b83@kernel.org> Date: Sat, 2 Sep 2023 11:54:32 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v3] ata: Disable NCQ_TRIM on Micron 1100 drives To: Pawel Zmarzly , Niklas.Cassel@wdc.com Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230901200220.3891806-1-pzmarzly@meta.com> Content-Language: en-US From: Damien Le Moal Organization: Western Digital Research In-Reply-To: <20230901200220.3891806-1-pzmarzly@meta.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/2/23 05:02, Pawel Zmarzly wrote: > Micron 1100 drives lock up when encountering queued TRIM command. > It is a quite old hardware series, for past years we have been > running our machines with these drives using > libata.force=noncqtrim. > > Signed-off-by: Pawel Zmarzly This does not apply cleanly on the fo-6.6 branch. Can you rebase your patch please and make sure it applies to libata tree for-6.6 branch ? > --- > V1 -> V2: Fixed formatting. > V2 -> V3: Added missing Signed off line. Sorry, this is my > first time upstreaming. > > drivers/ata/libata-core.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c > index 175b2a9dc000..116f5fd6e3f7 100644 > --- a/drivers/ata/libata-core.c > +++ b/drivers/ata/libata-core.c > @@ -4564,6 +4564,8 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = { > ATA_HORKAGE_ZERO_AFTER_TRIM, }, > { "FCCT*M500*", NULL, ATA_HORKAGE_NO_NCQ_TRIM | > ATA_HORKAGE_ZERO_AFTER_TRIM, }, > + { "Micron_1100_*", NULL, ATA_HORKAGE_NO_NCQ_TRIM | > + ATA_HORKAGE_ZERO_AFTER_TRIM, }, > > /* devices that don't properly handle TRIM commands */ > { "SuperSSpeed S238*", NULL, ATA_HORKAGE_NOTRIM, }, > -- > 2.39.3 -- Damien Le Moal Western Digital Research