From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (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 C96D530F934 for ; Tue, 19 May 2026 07:14:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779174895; cv=none; b=OpVmAx26GZjG7CGD0s2pVjb61wQMFmfrK0ILXHnl2Bezb4ho0rjKp0cZeuLrmOg0WMIMD5TVfMseFFy4JkfqvcfJ6YWvmSwez5rhIyUcam9nCaE/VidFwY5Uwud3NoJlxgoIWbHNFeUOJPavvTOmVhKB+ernaf8aE5Fl0VnneNI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779174895; c=relaxed/simple; bh=jWGacyzZqIQnDViUb4ICPWZSf5exTS9iemifaKxaHsc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=meBXd/qS2Lxf3V5Yg2338KrrcSQCQwlolBvlCChACoA2yQDCVByLUjlwg+wmPq0dLBv9789nenbaWyByyRB/ad0PbFkUExc4VPoa6TPmFEOtnuSsPe98K/PWAzAX33TD0MdHhzBbX8ZGzG3GTB8vkLI7jgpiKPvZN0prtkj/Lg4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 5A6DE68C4E; Tue, 19 May 2026 09:14:49 +0200 (CEST) Date: Tue, 19 May 2026 09:14:48 +0200 From: Christoph Hellwig To: Chao Shi Cc: linux-nvme@lists.infradead.org, Keith Busch , Christoph Hellwig , Sagi Grimberg , Jens Axboe , Tatsuya Sasaki , Maurizio Lombardi , linux-kernel@vger.kernel.org, Sungwoo Kim , Dave Tian , Weidong Zhu Subject: Re: [PATCH v2] nvme: reserve a keep-alive admin tag for all transports Message-ID: <20260519071448.GA9841@lst.de> References: <20260515071248.2689513-1-coshi036@gmail.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20260515071248.2689513-1-coshi036@gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) On Fri, May 15, 2026 at 03:12:48AM -0400, Chao Shi wrote: > A quirk-based approach was considered but no PCIe controller > documented to declare KAS != 0 was found (two enterprise SSDs tested > locally report KAS=0), so an allowlist has no entries today. Quirking for spec allowed behavior sounds odd. If we care about testing KA for PCIe it should be trivial to implement in nvmet-epf in the kernel, but I'm not sure there is much of a point in that. > Reproducer (run as root on an unpatched kernel with a PCIe NVMe device): Can you wire this up as a testcase in blktests? The patch itself looks good: Reviewed-by: Christoph Hellwig