Received: by 2002:ab2:687:0:b0:1f4:6588:b3a7 with SMTP id s7csp174837lqe; Tue, 9 Apr 2024 20:09:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU0UBmxJcpvedwHcc0li2PDQFddrNZkeEXpkIkuQKsW12tuBWUSj74Z2Ul8QTuYtvy2VKmtIgyLKxuF+paIPMNYFyr010NkCCFtSgNZZA== X-Google-Smtp-Source: AGHT+IH+Mw3OQqv9BbFbPDltaTn0WD8c0Mp6zYEjxFyaqyctM2vsN3xOFpfRcnvogozwE8VeqQjK X-Received: by 2002:a05:6a20:9496:b0:1a7:930f:3300 with SMTP id hs22-20020a056a20949600b001a7930f3300mr1516213pzb.15.1712718548715; Tue, 09 Apr 2024 20:09:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712718548; cv=pass; d=google.com; s=arc-20160816; b=pJSxV8eu3ljB+DZylFsX1jbnMc4Zg2cWWFBn39nrdOPHDWrF/CJ84uMlD4OorK3KYb d3WZZTgwULTHQXKYOZjwkFqwGAYgAO9gw+DjEFywMylye+AGw8VYklaBlyIsEqbjHyWE CAuPz6KMWR/ZSs8T2PNLA8p1c91RU73whnhaT78rcWEoX4l8OCsm0fZk1O4SqaVMOJCh znTHJN4rBSG8QVBaSSTr/As5sfcABMooGtxvZUVlRsMzU6+MRMKgkK1ng/6hzwb+ei7S fWPGg6d1XRkqUFfWOqCwY9vox2EKCOPGT1YJCHoaiEzWxLSPuY0k4usGQxulqnCJMkCl sl4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=LswP6sKv2yCqq2cK5t4lCptCVLRMsozdomeFN0D/yHs=; fh=9HYitm7+67APaXBiy/95J3lKOKfU/5ES8/dG2ifEGMQ=; b=CPQNiAx1guh0mNP3+u15k2h5kUA+ENjJTOIPZjgoKBW74howHoD8u6SIGSYrT0epm5 6Vo7aQtsYk0TvdoPPLizKHIraUfPiC74CNRRkY404RgqdFDnsC5v5AQRHNTb1vSmioIL WCmA6tjAzOFz2EDt+wG+CwOcsOj8s2A9Er3Zr+idAUwgz1Mp3ow73nZLPn9KbPiLSNbg K8rHboPxq1fS/gzSkBheAUX1lfnJrW/6drEa8dXcmik5HQZ08VFeeym8zUWADKgpIRgo y0z8b2Y6WRwYqPfFiy5IXlLRmRyFWoFS4WFdaILMeosYg943Uq7/tNFrKdL4ByYK4T4q xW+A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="j/qjir1e"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-137859-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137859-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id nr21-20020a17090b241500b002a5367aeaf4si606052pjb.3.2024.04.09.20.09.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 20:09:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137859-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="j/qjir1e"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-137859-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137859-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 63477286214 for ; Wed, 10 Apr 2024 03:09:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3F6F78F6C; Wed, 10 Apr 2024 03:09:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="j/qjir1e" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 64D4646B5 for ; Wed, 10 Apr 2024 03:09:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712718541; cv=none; b=cO3bDGMy4NjABZxt819OZavfS60WXp7T+OWh35eg/7DUXGe3O8l69WNmB2ptwrdtSSU+QV9ukhWvYeyiA4qXob5yqDw2rQ9vj/LhHKTiYruDzpVhsAo+isXdTIcgzCpPsna0sNSCAh6n8RsjqJwJfmnAVWFo5VQf/QNfPX9x3aw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712718541; c=relaxed/simple; bh=EM7nowdjdbNVWh8bciK9Ha2EeZjxwFBLgso2R6SZNRg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LMwX5I1yYSnh/KRVrzjBzK1Cl+gbW6O78YdWgQcmO61hs/9Rbifai9IXxZiUAppbTlt5DH1Ao3H3n/58IaGV5pWUe0e3LqqeEVAvN01rJIwk7Bu/LeBrU7JXTDtCwJ41juSVt9PrckDg3WanzYUN7cy9h/q0IjlMxVLQVQL1B30= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=j/qjir1e; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96534C433F1; Wed, 10 Apr 2024 03:09:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712718540; bh=EM7nowdjdbNVWh8bciK9Ha2EeZjxwFBLgso2R6SZNRg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=j/qjir1eLQpUmzvGiwsCTcuX7poh7q1n53pOsndQLCaN8N08FgGHZcHyWtnwJiTDk tdhP1pdvZXueZIu/RWYU1GQerDJdaFwLNP+mrwEQU0ShPPRvc+XwEj0gPfNdKGX6eV 7Oa5rqAbGBrMGnEAqhQr7WgS6E7UQ9BPehhk4pMig6+WpuzBZitbu68SXwBdF1YIQt PpKBGmlQsvxl5fKqKMHy0/A07G4tsGhk7ytmAT3um1HUHkpOhW4wmNPjgIGV2TWIor 469kgbwXHWwsXVrU3rxum8qXLWfV9YQ9x+vO6TYzbQ0dhd06mtbwJl4liAzvPTHcwJ XzEx46LDJ1y/w== Date: Tue, 9 Apr 2024 21:08:58 -0600 From: Keith Busch To: Holger Huo Cc: linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, Holger Huo Subject: Re: [PATCH] drivers/nvme: Add quirks for device 1cc4:6a14 Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Wed, Apr 10, 2024 at 10:05:46AM +0800, Holger Huo wrote: > On Wednesday, April 10, 2024 4:14:42 AM +08 Keith Busch wrote: > > On Wed, Apr 10, 2024 at 03:28:50AM +0800, Holger Huo wrote: > > > This commit adds NVME_QUIRK_BOGUS_NID for device [1cc4:6a14], the > > > Shenzhen Unionmemory Information System Ltd. RPEYJ1T24MKN2QWY PCIe > > > 4.0 NVMe SSD 1024GB (DRAM-less), which can be found on many Lenovo > > > notebooks. This SSD produces all-zero nguid. > > > > > > Other SSDs manufatured by Shenzhen Unionmemory Information System > > > Ltd are likely to face similar issues, but I currently have no > > > device to test. > > > > Are you using the most recent stable kernel and still need this patch? > > These quirks shouldn't be necessary anymore unless it's advertising > > multipath capabilities, and it doesn't sound like this one should be > > doing that. > > Yes. My current Linux kernel version is 6.8.4 by arch. After further > investigation I found these quirks truly had no effects. > But my nvme drive still freezes with Device not ready; aborting reset, > CSTS=0x1 failures and AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0001 ...] > waking from s0 (s2idle) sleep. Are there any other quirks or what that I > should try I've seen the IO_PAGE_FAULT error reported before, but all I've heard is that it means the device attempts to access a memory address that it is not allowed to. I don't know why that would happen, though. I've never first hand experience with this condition, I'm just as confused.