Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36745598rwd; Tue, 11 Jul 2023 05:19:31 -0700 (PDT) X-Google-Smtp-Source: APBJJlGesvwOKIMLEQbp1Bp5dt+0ahYdBabbRIezoWmb3S6J7gA5LVsCxgQXEQpcPZql3Con2oLe X-Received: by 2002:a05:6a20:8f0e:b0:12e:3394:e2c5 with SMTP id b14-20020a056a208f0e00b0012e3394e2c5mr20958350pzk.2.1689077971093; Tue, 11 Jul 2023 05:19:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689077971; cv=none; d=google.com; s=arc-20160816; b=bMx5u/Y9z5Ud8GIavprctCOzqurpRSBiF06f2VhtlkBTmiGoF3Kzk+eQHAvS5N/JGr q7r5tiz5KBM0FT7cndtLAjJqzIwRpclg5BhR9T3AqIzl9ugWhdDRgewBwlJOpby5WtqC MZiAmZ4gsQxD4NC0kSKdAO4mm/0ATOB97M6rmQ1TWpoZiX1/0KdOncQPtCXeqXAzr3+v lhD+PCLVqQkrHH3zureMXb+HXDRR3lveqjDMjjPpsbL/5cBjWK0zuIWli0koKfiUP+F0 syqjbx5QlkQeyRJAVB5B6hHjC1d+cVKngmWBdOowNNtlqm46sl2eIhy8OMzV3B5kpFuZ oYlw== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=BrZ8yh4nFHBxX4BgGqt9YuV6OVfsRrdwyKxh5AGLUOY=; fh=AdLe0wT0EOdGm5d2HOHU11zctobe+ai8kGg1gZ+24iQ=; b=TMzsyTbZ0CZVpzg2f5kOFsWx2uypCVh/5nGuhty7O1fQ2WrxwWkha06LnUo+P0+Alj LOKO3bA5F8vIG8oHE5YyS4vGmMy02szwR5OaZOAhuy/C/ISSNNgAExrivJBZM0JYTq3q PWAyc/ewfVF2hPkxlHRFiO9gJTiZwjcdnN9c7z5RLQzJMxolJPbW5q0GzRZBYfDQzBdy DBVZyxTr9h4z2OxTLUoSr4lFHsJ81TY6+uqcR+3u1J7FJkR3IVDbfpYrEDlDMwxDJ0GR IaAv57xYeZQZ3OS8bbv2fHvJAQRFHUr6F0mdYtxiP+AlAg+Z7rqVLKq6OCpmrG1STT/Q OR2w== 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 67-20020a630246000000b0054fd5511054si1299538pgc.447.2023.07.11.05.18.56; Tue, 11 Jul 2023 05:19:31 -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 S231228AbjGKMPC (ORCPT + 99 others); Tue, 11 Jul 2023 08:15:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229769AbjGKMPA (ORCPT ); Tue, 11 Jul 2023 08:15:00 -0400 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0D8BE49 for ; Tue, 11 Jul 2023 05:14:58 -0700 (PDT) Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-3facc7a4e8aso11997045e9.0 for ; Tue, 11 Jul 2023 05:14:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689077697; x=1689682497; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=BrZ8yh4nFHBxX4BgGqt9YuV6OVfsRrdwyKxh5AGLUOY=; b=RE7dUDjWinnxgq06CZSJv9PqjRUB33OL7JhMVfglI81PDjC9XsUwd+lZayIGif09ey FSGUOx06vSZu3L3hRC2asjL0CNl5akvoLKOHUS+9M3OE8b+dQIRLLCE+p5Z+ny6uKBQl xBHZJDeBDJTRcGPOFcZatUb9Hd2nx5TBMkFVnpUwlzROD8lOwCQ6FqDRc5pph4T4zuBb QdgzrLhAoHDkSiPe31EHdhmF4jG1VawL2n94MvaIacOB8fUo1t3nHlBcxqXmM41Tz8Yp ekymCOekz8zvuJHE7G8uvNX5KXLDoCMOnUb0lp0bAedFuou+uMbGQlr1EBTFWOs7opRe zakw== X-Gm-Message-State: ABy/qLaEjem4auOX7XsDu1FQ9YIECp4we30wkcZR3DMc1g/leKT78eIE X/Ux9TohEuWpotnkHASUWfg= X-Received: by 2002:a05:600c:4709:b0:3f6:8a3:8e59 with SMTP id v9-20020a05600c470900b003f608a38e59mr16114725wmo.1.1689077696814; Tue, 11 Jul 2023 05:14:56 -0700 (PDT) Received: from [192.168.64.192] (bzq-219-42-90.isdn.bezeqint.net. [62.219.42.90]) by smtp.gmail.com with ESMTPSA id o14-20020a5d684e000000b003145559a691sm2115991wrw.41.2023.07.11.05.14.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Jul 2023 05:14:56 -0700 (PDT) Message-ID: <23017407-83eb-8fb0-5d91-2c7c4ae02544@grimberg.me> Date: Tue, 11 Jul 2023 15:14:54 +0300 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 To: Christoph Hellwig , Linux regressions mailing list Cc: Pankaj Raghav , Keith Busch , Bagas Sanjaya , Jens Axboe , "Clemens S." , Martin Belanger , Chaitanya Kulkarni , John Meneghini , Hannes Reinecke , Linux Kernel Mailing List , Linux NVMe , Kanchan Joshi , Javier Gonzalez , =?UTF-8?B?67CV7KeE7ZmY?= , Linus Torvalds References: <6f333133-2cc4-406a-d6c2-642ac6ccabca@leemhuis.info> <462e0e1e-98ea-0f3c-4aaa-8d44f0a8e664@leemhuis.info> <20230711120609.GB27050@lst.de> From: Sagi Grimberg In-Reply-To: <20230711120609.GB27050@lst.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,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 >> Well, that "They keep pumping out more and more devices with the same >> breakage" and the "new device" comment from Pankaj below bear the >> question: should we stop trying to play "whack a mole" with all those >> quirk entries and handle devices with duplicate ids just like Windows does? > > As far as I can tell Windows completely ignores the IDs. Which, looking > back, I'd love to be able to do as well, but they are already used > by udev for the /dev/disk/by-id/ links. Those are usually not used > on desktop systems, as they use the file system labels and UUIDs, but > that doesn't work for non-file system uses. > > And all this has been working really well with the good old enterprise > SSDs, it's just that the cheap consumer devices keep fucking it up. > > If we'd take it away now we'd break existing users, which puts us between > a rock and a hard place. Maybe the compromise would be to add a modparam that tells the driver to ignore it altogether (like allow_bogus_identifiers) that would default to false. Then people can just workaround the problem instead of having the back-and-fourth with the vendor?