Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36924297rwd; Tue, 11 Jul 2023 07:22:04 -0700 (PDT) X-Google-Smtp-Source: APBJJlHM3rWNnvwU/TXAQe4xxLgNKEki/WqPyW5RyyB+fjuyLFm6V/CCu1Rk/zGvx2hSS2mmpm4e X-Received: by 2002:a05:6512:370d:b0:4f9:6b65:32cb with SMTP id z13-20020a056512370d00b004f96b6532cbmr12440571lfr.57.1689085324337; Tue, 11 Jul 2023 07:22:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689085324; cv=none; d=google.com; s=arc-20160816; b=wlUK2pog6a6HvaKuFYgQuYaJyCuEm2Yom4G4Zq0rp1u9RTnsE7XtjKudgLgTYyVOXN zVpPrKv/is7Gi4uYHI1MNAEHbllnhTDBlZnyU08OEQUGfuoZLI56ClfdRDEsxXg3MgTf IE3/SVVuR8Ox8kzZHCSZSE3td1d9qlfw5x7ZyLoB4R8axfYK7c4OeAh6/ndbGHEOlHiK LC44W/P2LGokNdEc4RxJv2gXKYrpT9CHd9w+r9BnWRxFXFKmv2Cu7dWT6EKYyclpf2rH usUePR1E+OHT4atKzacFxE0B0tPEmoq0lKDwMI7VGAhXvsAfI3P2V4jPJDE2uJejswwZ 5nfg== 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=vOIuOqOsuwF3/q5uasrOQ6+tbdvo7/hwKfio5nNH6/A=; fh=7DBxhOykmN39TEMR9gESKvcSXORxRWFRqy8iMngEu8Q=; b=vxHHhydEusfgoGwP5oBnJn3QzE/YThiruQv1rcOnsGFHBI8wH9lKNAwsOC3oKCVt2N KIn4LFytk15GgT8B++x6Jd59z02ruh8cP0/Nq08yUeGXyniH92gQnmIKQUL+qbbaVAzQ oxjKpvmDD6UnelHz8+RoMljYQjKDEQ3whkw1PsKGpvR6L51mu2+K1yH7YjREsyen5S45 Wq0Kxm3WFVjdZiExszx1HrITs2My8wwrcokh1XpJxrVqYsXlIUuAuHKCxMMNlO4MLMot CAsQmSwRtVgxOqiQdDb8SnDsSVdJ0F2QZNiKhM4FwFQNhRw9g+JM+1biEv6g3BUYr3uO CaVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=dv3ZPcOr; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a18-20020aa7cf12000000b0051dd1d7fbeasi2002790edy.683.2023.07.11.07.21.40; Tue, 11 Jul 2023 07:22:04 -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=@linuxfoundation.org header.s=korg header.b=dv3ZPcOr; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233394AbjGKOMM (ORCPT + 99 others); Tue, 11 Jul 2023 10:12:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229928AbjGKOML (ORCPT ); Tue, 11 Jul 2023 10:12:11 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0546B0 for ; Tue, 11 Jul 2023 07:12:10 -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 5BE90614E5 for ; Tue, 11 Jul 2023 14:12:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3ED1CC433C7; Tue, 11 Jul 2023 14:12:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1689084729; bh=NRBCd7EYg1Ttg7Sd52hrW/FKaUnozUqBArGH46pm5Hs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dv3ZPcOrttwlRQ7ym+XMaMprZg4jGyXAIcnMCZRSQeRCMr+rPOx+AR2x6FEX+gXnQ JsZ9nzbfIpxOMv7EyoXY5LJgHFl8NMwBFdr6qI/rnUm22VqNc+CWNgEThskgCZR0JZ 9XOm7XCRs+H/vlnlGMQ5Vg0k9wAffpQtZ8WSlAYw= Date: Tue, 11 Jul 2023 16:12:06 +0200 From: Greg KH To: Sagi Grimberg Cc: Christoph Hellwig , Linux regressions mailing list , 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 Subject: Re: Fwd: Need NVME QUIRK BOGUS for SAMSUNG MZ1WV480HCGL-000MV (Samsung SM-953 Datacenter SSD) Message-ID: <2023071135-opt-choosing-51dd@gregkh> References: <6f333133-2cc4-406a-d6c2-642ac6ccabca@leemhuis.info> <462e0e1e-98ea-0f3c-4aaa-8d44f0a8e664@leemhuis.info> <20230711120609.GB27050@lst.de> <23017407-83eb-8fb0-5d91-2c7c4ae02544@grimberg.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <23017407-83eb-8fb0-5d91-2c7c4ae02544@grimberg.me> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Tue, Jul 11, 2023 at 03:14:54PM +0300, Sagi Grimberg wrote: > > > > 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? > Module parameters do not work on a per-device basis, sorry. This isn't the 1990's anymore, please do not attempt to add new ones :) thanks, greg k-h