Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35647104rwd; Mon, 10 Jul 2023 10:19:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlFf15ILvWoQf60Ap2zQfdroiSXp+8gOwO7UngA3VMiC3mFp8zUP2w2rXhXSwnqL/QGxbP9h X-Received: by 2002:a05:6512:2249:b0:4fb:81f2:4228 with SMTP id i9-20020a056512224900b004fb81f24228mr12017644lfu.31.1689009558983; Mon, 10 Jul 2023 10:19:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689009558; cv=none; d=google.com; s=arc-20160816; b=OVWFvFGqeGFYrp4bTvaxtyhZXIzvlvaxbsQ8X3DWuNvRSctTpJvZyQwNilB+0lHom5 ie9UomvyAY5Obb60p54/HKNMls5p9RQaasvYEhmrqlS284pJE/7Wg5/ghTEJcqnEAevx q+pqadSiaValA/RCdn8zXaf2Ye9iAb8byJt3pWspPC6h55fW7um++LDtUTAgoB/kOYtK FJbHjFAmz7YzqoZYVoMcMjXKCJKuLE3ZbhLdQj+SzqW4GRvnkT/fFVFlAeOe9a9rQU8X HRTumTAPsxtirEGgQvmRjVNKBNE4m9PycQKOKi9N/LqQwUlktiXTGrEYGkOAww/9Qh56 RS8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=s10TaXvPesPOjUAZWMibCBW/laFSD5My+Gnp4gorR2M=; fh=DnRpu2k2LSUld8nIhw3tcuMTLuT/EEBrc0QagHBg954=; b=kBlFKLIlzLA5XhwlFO2rVCS8DBXK3+wyfECPRibVGXaKlYSJdOdwV01tSHk+kWHdMQ Cqknqwa1rccZVe7pQj1B114yGZhtQjd6m1D9M1dTeOJb10aZbGTINi21RT3vN2hxfiON slUNGPHUgIbIVIK6nZzctz0g3jdRJW56lGA6ESIo+3uJTrHjwwAmPziGVjZpsaog/Ria p/FM8T9bQ002cftO2upXnCxoiixvZPkNVEIBII02CL/QdcmvZbQ2M9AURFmHG2O+pn6A 5S/q6JZJZP6ELYZGtxBaHmM7EEvoYa+1llRSokdPbmcffpF2jJP+dVBNlS2dttWD549h wPsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qErJf3rV; 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 c20-20020aa7df14000000b0051be752fa80si9879831edy.432.2023.07.10.10.18.46; Mon, 10 Jul 2023 10:19:18 -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=qErJf3rV; 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 S233674AbjGJP67 (ORCPT + 99 others); Mon, 10 Jul 2023 11:58:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231299AbjGJP66 (ORCPT ); Mon, 10 Jul 2023 11:58:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B628CA for ; Mon, 10 Jul 2023 08:58:57 -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)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 00F596108F for ; Mon, 10 Jul 2023 15:58:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B242C433C7; Mon, 10 Jul 2023 15:58:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689004736; bh=QUm9t1ezC/IIBjn6xwi8cf0YyRAsFcWX+N8CXwamai4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qErJf3rV0VSpOBIFaXedO/qXItU5H8PQsiFAaXjpq+rI9yjOk+4dSlOoV8gjGnOuL gVsk5LZxUzKimVySyZNlOkD4C28uhf8aVy7JT0F411kCaAYrln0AwBgiQ2w/uIxbBV ETAnqmD71bPt3/uC360q33UqtfVDEyF6ztR+0CmoLqEiUq7VMmqMqc7cun8p3TAZkI YCcmfB6g+dLatvmJjjxYJiihz124cK2wbhkFTw5MT6cspS4oBZicsA/GkfMgb+cRoW IN4n2n8m34M+Wh86LUDLbcKVmoTH0XrL+Pu07/zB20qtJAPB40RHgZnsUU8fEzZfJS tX5RdTFMze6DQ== Date: Mon, 10 Jul 2023 09:58:53 -0600 From: Keith Busch To: Linux regressions mailing list Cc: Bagas Sanjaya , Jens Axboe , Christoph Hellwig , Sagi Grimberg , "Clemens S." , Martin Belanger , Chaitanya Kulkarni , John Meneghini , Hannes Reinecke , Linux Kernel Mailing List , Linux NVMe , Pankaj Raghav , Kanchan Joshi Subject: Re: Fwd: Need NVME QUIRK BOGUS for SAMSUNG MZ1WV480HCGL-000MV (Samsung SM-953 Datacenter SSD) Message-ID: References: <6f333133-2cc4-406a-d6c2-642ac6ccabca@leemhuis.info> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6f333133-2cc4-406a-d6c2-642ac6ccabca@leemhuis.info> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Mon, Jul 10, 2023 at 10:52:52AM +0200, Linux regression tracking (Thorsten Leemhuis) wrote: > On 27.06.23 18:10, Keith Busch wrote: > > On Mon, Jun 26, 2023 at 08:15:49AM +0700, Bagas Sanjaya wrote: > >> See Bugzilla for the full thread. > >> > >> The reporter had a quirk (see above) that fixed this regression, > >> nevertheless I'm adding it to regzbot to make sure it doesn't fall > >> through cracks unnoticed: > >> > >> #regzbot introduced: 86c2457a8e8112f https://bugzilla.kernel.org/show_bug.cgi?id=217593 > >> #regzbot title: NVME_QUIRK_BOGUS_NID is needed for SAMSUNG MZ1WV480HCGL-000MV > > > > These bug reports really should go to the vendors that created the > > broken device with non-unique "unique" fields. > > I understand that, but I think we need middlemen for that, as I or Bagas > don't have the contacts -- and it's IMHO also a bit much too ask us for > in general, as regression tracking is hard enough already. At least > unless this becomes something that happen regularly, then a list of > persons we could contact would be fine I guess. But we simply can't deal > with too many subsystem specific special cases. I'm not asking the Linux regression trackers to fill that role, though. I'm asking people who experience these issues report it to their vendor directly because these device makers apparently have zero clue that their spec non-compliance is causing painful experiences for their customers and annoyance for maintainers. They keep pumping out more and more devices with the same breakage. This particular vendor has been great at engaging with Linux, but that's not necessarily normal among all device makers, and I don't have contacts with the majority of the vendors we've had to quirk for this issue. We did complain to the NVMe spec workgroup that their complaince cert suite is not testing for this. There was a little initial interest in fixing that gap, but it fizzled out... > Another request came in today, even with a pseudo-patch: > https://bugzilla.kernel.org/show_bug.cgi?id=217649 > > To quote: > ``` > As with numerous NVMe controllers these days, Samsung's > MZAL41T0HBLB-00BL2, which Lenovo builds into their 16ARP8 also suffers > from invalid IDs, breaking suspend and hibernate also on the latest > kernel 6.4.2. > > The following change restores this functionality: > > File: root/drivers/nvme/host/pci.c > Change: > > - { PCI_DEVICE(0x144d, 0xa80b), /* Samsung PM9B1 256G and 512G */ > - .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, }, > > + { PCI_DEVICE(0x144d, 0xa80b), /* Samsung PM9B1 256G, 512G and 1TB */ > + .driver_data = NVME_QUIRK_BOGUS_NID | > + NVME_QUIRK_DISABLE_WRITE_ZEROES, }, Panjaj, okay with this one too?