From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=213.95.11.211 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796372700; b=LslySqKJRSvnpJob81+vRSm27sux5BrsWNbrdE6lCP8PPOi31heZOP8luK7u5aHY4d75 qGOcEgnJLbZv8b+RPmNj1Vp0PvdW1Jp7acbB2Y2LwPwKUPFk81U6/4DjwlLDktRb8gEx2 Eeg3pjf3JvIkQOCnv2xwUgKvcwMaMeXvT+68vxQc9lfHvmxpm7qBoL2euGk0g8xNl6gN8 VpPxuiV2wAFeucoAWlqUjhaWg6QU1BuABiQ9kQh+7rFyLXQcROmL2sDbggIeRCkgrWP22 trTbaOsaIdEngtWbOp8uzUnXSf3e7JoOVBNWHRPxntvqOajlMrwZA/DOzrTSgZZqOqQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796372700; h=DMARC-Filter:Received:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; bh=QvD8Jmu/7dLMoygeRKws2oALq0UvGQA7ditlQLsdyJM=; b=XjBD/buOQVj/qvrCK5Fhd4cdXJg6neJ+IzSZm5bjxFf4u/mlcogOJDFd3F4GxM/u39+/ OQGl8kRnAFt89ob/Gjq8lpIfUiCgXppNmuJXwOaBG5N/UNTcDhkXDTDKjiJ4MiOJF+PF7 6IBO6fNUYngvRTcDjRhH8xUbRnaw9YRKDMH7VBqyLpd+OlUlsr+utDm/GntsEJWN6vbjz hhtpf1jCilVm8lNwpXA93wLt5xm9J80/lm4+XgYmwMc5lxsm+xGk9ESzmNERsgaOHqm0I Xd8qIbjE69nFIkjyjBiWu7ZkDnDBXSAyKbeawBlxE4MN+sxi5uptsqkz+gPpvqzUygA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.remote-ip=213.95.11.211 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 39A86606A322; Fri, 4 Dec 2026 08:25:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 39A86606A322 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 BDA6C68B05; Fri, 4 Dec 2026 09:24:56 +0100 (CET) Date: Fri, 4 Dec 2026 09:24:56 +0100 From: Christoph Hellwig To: Josh Hilke Cc: David Matlack , Alex Williamson , Keith Busch , Jens Axboe , Christoph Hellwig , Sagi Grimberg , linux-nvme@lists.infradead.org, kvm@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] vfio: selftests: Add NVMe driver Message-ID: <20261204082456.GA17602@lst.de> References: <20261204015203.318020-1-jrhilke@google.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261204015203.318020-1-jrhilke@google.com> User-Agent: Mutt/1.5.17 (2007-11-01) On Fri, Dec 04, 2026 at 01:52:03AM +0000, Josh Hilke wrote: > Add a VFIO selftest driver for NVMe controllers. It binds to any PCI > function with the NVMe PCI class code 01:08:02, so vfio_pci_driver_test > can run on the NVMe SSDs that are common in servers, and on the nvme > device that QEMU emulates. Err, what? I really don't think the kernel tree is the place for userland nvme drivers. Use one of the existing well-tested ones like SPDK to write your tests, please.