Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35070986rwd; Mon, 10 Jul 2023 02:02:10 -0700 (PDT) X-Google-Smtp-Source: APBJJlGazDuXM1koPSqufPhW1O0tlpYp6s9KpVmP9/U9O4BTnqtlKM3HNVGvW1T+cNG3zBNERGhy X-Received: by 2002:a05:6808:2381:b0:3a1:df63:60cc with SMTP id bp1-20020a056808238100b003a1df6360ccmr9237040oib.59.1688979730257; Mon, 10 Jul 2023 02:02:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688979730; cv=none; d=google.com; s=arc-20160816; b=c9mTlLCN2ODZ9sFzELLnuhnlH5a/73SEdcf/aeYQfFtCcj+DsKmimXTi+dwQbgohaI ipQ+4feyh1grkp7h6lpgjqLytzHuav3PaY9ddnviP1uxVFv/ja8F8AjL5OaJqecoaRDL 4VRN+iudVDhz/3wExygRvf3c/96u/WH0KGeWcZtL2IB2sSPwoouctQAONapwVu8RnAua 19jyY29B5CO60rt8hB5ld73pKLStH/vR9YUq9YdD4S1cN+cZurUNW7CgguGmAvowQXh/ ngFahv0Aj9a8OtlijJpRJ5XRLX9QGIjdWjXcwWU6EpA5mJPniVI2/173YKkdg4L4pLee AgdQ== 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:reply-to :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id; bh=vot7UJJVpJ71h9n8M8aXN7ul6XziXsbungwW4jgtDo4=; fh=x5wMT5qGziLJMPCsNdLG7TgBmqS/C8LLHUUBda5ioZA=; b=sRWKG18vEJcqwg0bGxN01mCSQPm0uZAnUti1Fj4a0gg0iOKgjm0LVfGUR+OsIW9MTi bA18KFVLBbTGGjMjQn/ca9rDsGhZ6zpU4Cr1mkk0deACeUpr1QY7bV9W8SIfv0oV2MJN zu7O7jybesUMA6B7Rz3kaNRGIIpxP57xynZGf7TpLYO6YoPeCDL33k3QeLgPCCCV6BAB IgxcbpzjdJ0QVziMmT1KsJ2vrjMd8HH9/vL/int80j50E3hS0Aeu8kAOTrfonzvZn6X+ ctvyrgpx6jJAJz1b9gRPB1Q93thwUPIilbQjAXHU7EYQFXOsYrDq/Rw5oZO/0nXRX4Yp DkHw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 32-20020a631860000000b00553c6af75d5si8722521pgy.315.2023.07.10.02.01.57; Mon, 10 Jul 2023 02:02:10 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231437AbjGJIxf (ORCPT + 99 others); Mon, 10 Jul 2023 04:53:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231553AbjGJIxE (ORCPT ); Mon, 10 Jul 2023 04:53:04 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B729C3 for ; Mon, 10 Jul 2023 01:53:03 -0700 (PDT) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1qImdY-0003UR-Rh; Mon, 10 Jul 2023 10:52:52 +0200 Message-ID: <6f333133-2cc4-406a-d6c2-642ac6ccabca@leemhuis.info> Date: Mon, 10 Jul 2023 10:52:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: Fwd: Need NVME QUIRK BOGUS for SAMSUNG MZ1WV480HCGL-000MV (Samsung SM-953 Datacenter SSD) Content-Language: en-US, de-DE To: Keith Busch , Bagas Sanjaya Cc: Jens Axboe , Christoph Hellwig , Sagi Grimberg , "Clemens S." , Martin Belanger , Chaitanya Kulkarni , John Meneghini , Hannes Reinecke , Linux Kernel Mailing List , Linux Regressions , Linux NVMe , Pankaj Raghav , Kanchan Joshi References: From: "Linux regression tracking (Thorsten Leemhuis)" Reply-To: Linux regressions mailing list In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1688979183;eff61626; X-HE-SMSGID: 1qImdY-0003UR-Rh X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,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 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. > It's easy enough for me > to write the quirk patch, but it's not the ideal solution and may harm > devices/firmwares with the same VID:DID that don't have this problem. > Not being the vendor, I'm not in a postition to know that, so CC'ing > some Samsung folks. 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, }, ``` Ciao, Thorsten