Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp4856100rwp; Sun, 16 Jul 2023 12:30:40 -0700 (PDT) X-Google-Smtp-Source: APBJJlEC8WbNgLDNhCblS0bPSltSQ+SBMIfnV06CXd0jKawHacl1DE7zFrqYNSgLdOV10Bk8WO8D X-Received: by 2002:a05:6a20:5482:b0:133:5eca:a8aa with SMTP id i2-20020a056a20548200b001335ecaa8aamr12751998pzk.46.1689535840032; Sun, 16 Jul 2023 12:30:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689535840; cv=none; d=google.com; s=arc-20160816; b=wUTIbJbkmLjFYjfHbvQLZOCHl9eGzygtU3sl3hezykH0qgO7BV0iYaQBx12fsia5K/ ljOxU9mAlv8jarVGbohxjQi8igUEh2/9DXKB9nLuu856nEktFFyBWOw9NvhC2qgMcRO3 CVvhPS7DVFI8EZo49z6OoaEOcSucXEXJ0oGDxsfYEAY31XAuxL95uPEatpzZzT+Af5+V Zp1NNMP/JIAXGJu+9Dh1EwWcGexYXMEHjZ+IIHXto1p1LlfhlvR7YBr51IVIKh5unIny /RoBkUZFsTrSUTFL+/5R7/WHMZ5h32cCbpLqSJOl/wK8Y6AjhXhse/maMxRpbknWU61q dAIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:reporting-meta:content-transfer-encoding :in-reply-to:content-language:references:cc:to:subject:from :mime-version:date:message-id:dkim-signature:dkim-signature; bh=vhgu6g5YOVEL+bJ5PxdEHK2qtn3eZn9eR/zLiwfZlaw=; fh=7lICeIQeA+Pd0nNOxRH9ISakmToF+k/NLgHZz1qnY/M=; b=Sdv/o/e4Zx4MFGdd5+JP8wreXYJPvGvYsHWSZb9LCwZbut6n6ZZX8zuABt0ITG2Hzp T67DlxWa00/+rGxDSiw98EHrXX47YoSItkgXusGeE1Ra5ZZpf/2td/ALWdi93EVRGJVe laNMBTkZ3J5ptVhDfPDdh7CLMwNfM56ECG7F0qjoj9RlBI14cNF/p7EpUN3ppGj8a+Uy nz0XSrL2O2rC85w91KS+s8z7MOGPlP2OU8urC+mj0I7op17CJW1TSL/XoXd2gf8mpsez EdcA+l44jW/J+2NAKXPFkzxGeiZWNVkDOkbvuTtXiTLUp5OSNHf3Dhd/74GgPsmVQBwk Gblg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@augustwikerfors.se header.s=oci-arn1-20220924 header.b=P9lof9Hp; dkim=pass header.i=@arn1.rp.oracleemaildelivery.com header.s=prod-arn-20211201 header.b=fXol21Wp; 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=QUARANTINE sp=REJECT dis=NONE) header.from=augustwikerfors.se Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k3-20020a63ff03000000b0055befc89e11si5292511pgi.84.2023.07.16.12.30.27; Sun, 16 Jul 2023 12:30:39 -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=@augustwikerfors.se header.s=oci-arn1-20220924 header.b=P9lof9Hp; dkim=pass header.i=@arn1.rp.oracleemaildelivery.com header.s=prod-arn-20211201 header.b=fXol21Wp; 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=QUARANTINE sp=REJECT dis=NONE) header.from=augustwikerfors.se Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229823AbjGPTZJ (ORCPT + 99 others); Sun, 16 Jul 2023 15:25:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229886AbjGPTZI (ORCPT ); Sun, 16 Jul 2023 15:25:08 -0400 X-Greylist: delayed 302 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 16 Jul 2023 12:25:05 PDT Received: from abi149hd126.arn1.oracleemaildelivery.com (abi149hd126.arn1.oracleemaildelivery.com [129.149.84.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFF69E4C for ; Sun, 16 Jul 2023 12:25:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=oci-arn1-20220924; d=augustwikerfors.se; h=Date:To:From:Subject:Message-Id:MIME-Version:Sender; bh=vhgu6g5YOVEL+bJ5PxdEHK2qtn3eZn9eR/zLiwfZlaw=; b=P9lof9HpebDSDc+dr53P7w+3+JDFVCVdkKbxjf7k7Gu2pZKFdwed2wDWWdpCW0arOajdxpsWPLfQ 75Ba7m9812h8XqdZK+9rQugmGU9imufmoQnUdNMIWK81EmB+t+e8kmGJktZ1zFFnYCTP4gpIjrv7 h9jsi5riGHbUWdh15fHr+wIOTU66r6sgEua4P6TXLXs0b8Vm1BIuXZiY/aV+wl7Z0rcLnhaFU5dr Zmn3JgH7aIMEP0F8VbqJ6CsFaWXgAiPdninjtvm+e1+kd9un5hZpa7rRK5mJ3V2A5y+F/kbQQqtD aUwbwuo4oUA0Sbz7TIYyFG0CPec4MaO68MbRdg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=prod-arn-20211201; d=arn1.rp.oracleemaildelivery.com; h=Date:To:From:Subject:Message-Id:MIME-Version:Sender; bh=vhgu6g5YOVEL+bJ5PxdEHK2qtn3eZn9eR/zLiwfZlaw=; b=fXol21WpT09sXeHr0iRWb36UzH2rcKW4jwdaK69PIjLTop8+Ojs5XRqc9T1ls8+MfHoIQWqs6OO/ Cjuk4Ksv+HRIt1Tries36yusEIjiUAiF9LIqrYSgcEejCUnig2Ca3zzpZTFyqeFieTWyNVd8dS8O ZJtbK4Dj5wb+me6y78J41eOsYXAP4HKG2uibbYqflot79tSAiIeGs/d7PWG6AORoVr8HAAyDRfn/ IWqj26LzGgjewYzQKO8Sda8d7ZHaBYnAftMBlpAZJM7KB8v87BgwdkWh550E4avzW2I8SDYoB3J4 TeeDe9qVJknI3VS0gEH7o3w30Sl83tIAuCkYaA== Received: by omta-ad1-fd3-401-eu-stockholm-1.omtaad1.vcndparn.oraclevcn.com (Oracle Communications Messaging Server 8.1.0.1.20230629 64bit (built Jun 29 2023)) with ESMTPS id <0RXW007UCLPCV720@omta-ad1-fd3-401-eu-stockholm-1.omtaad1.vcndparn.oraclevcn.com> for linux-kernel@vger.kernel.org; Sun, 16 Jul 2023 19:20:00 +0000 (GMT) Message-id: Date: Sun, 16 Jul 2023 21:19:56 +0200 MIME-version: 1.0 From: August Wikerfors Subject: Re: Fwd: Need NVME QUIRK BOGUS for SAMSUNG MZ1WV480HCGL-000MV (Samsung SM-953 Datacenter SSD) To: Pankaj Raghav Cc: Keith Busch , Linux regressions mailing list , Bagas Sanjaya , Jens Axboe , Christoph Hellwig , Sagi Grimberg , "Clemens S." , Martin Belanger , Chaitanya Kulkarni , John Meneghini , Hannes Reinecke , Linux Kernel Mailing List , Linux NVMe , Kanchan Joshi , Javier Gonzalez , =?UTF-8?B?67CV7KeE7ZmY?= References: <6f333133-2cc4-406a-d6c2-642ac6ccabca@leemhuis.info> Content-language: en-US In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 7bit Reporting-Meta: AAET+Clyr9vC9JSs59PNNgJ3bR0x5ue9VFjv5oHhEYeaYfKHXsjMXts9hrb6tWeU 2lKXLDIjDyswKdI7ODl2Sy6Uejyk2PwirMox5k1amJtObCMmjVcSafeZK/xrEVIo MMSZrQupb9nNJa8RLZjWnhqMh0kygZOUtdcTOyBaVkjl8kuuad0yf8ObQE2WgZnR wt+O+q9xC/rvX3FMBKEEuaI/XutZE5C5Oz/t6miNzTwjN/XjhwV27z5bZFs+OoQM DFLKQO461accRDEcK1EePLLMQD2w7jV4oJOzL0iFq2oWUC5JdXwvAFiDBhspVvQ2 MoN35HNsAHM6blYXaH6gqCZLiy7V5yx5Ph/yBSmHz1ILg7k5P3s9TnWy1Iba99Ys XxSWDkjB/JCr0yexO+8RYedZZtnCvDRWhADwcVA7dib6RpdHp6aCO+HO0afcBHrT 8bETdTg= X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 2023-07-11 08:54, Pankaj Raghav wrote: >>> 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? > > This looks a like a new device that might have a firmware update. I will ping > internally first. (Note that this is a different issue from the regression in this thread) I reported this back in November [1] and was told by Kanchan Joshi at Samsung that it was fixed in new firmware [2]. Lenovo was also contacted and said they were working on the update in December [3]. I'm not sure what happened then, but in March, Mark Pearson at Lenovo wrote [4]: > I'm stuck on this one - the FW team reached out to Samsung to see if > there were fixes that we should be picking up and Samsung reported back > that there are no Linux issues reported against this part :( The release process then seems to have started over [5] and the latest update as of May is that the update is supposed to be released this month. [1] https://lore.kernel.org/all/20221116171727.4083-1-git@augustwikerfors.se/ [2] https://lore.kernel.org/all/20221206055928.GB24451@test-zns/ [3] https://github.com/tomsom/yoga-linux/issues/9#issuecomment-1368013293 [4] https://github.com/fwupd/firmware-lenovo/issues/308#issuecomment-1466631468 [5] https://forums.lenovo.com/topic/findpost/27/5196929/5984302