Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp249890pxv; Thu, 8 Jul 2021 01:30:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2QoyG5VSl43kDkURfk3lI7ngDh+sYKma7xlzP/hY3UHOYeokD6NB7C/XIGN6IaHDHn3+D X-Received: by 2002:a02:8521:: with SMTP id g30mr25833380jai.113.1625733050972; Thu, 08 Jul 2021 01:30:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625733050; cv=none; d=google.com; s=arc-20160816; b=eLMbu/oPFa99kgggvfr4SCLTysDg7GP0OrVm9fKenwispURwjL2Gm6dq7G0z6ufYxX r6msXX3MQIjjGRZHwn5SOR7Lf57wGMuHtb7Hi9U/qv3g32Lgm+TS5QuJjVQknDHZFgUS MzrJX/kT2HhbEizpb/gFkN6OhQ+HLiZybMBoYspCfZy797JddFkm0i/VgymGP0qAraWb +mSUDIvB0UG3RKb7LJ2n1psds3VZ3plARPwW2fSd50U9+/eNvCMogMpRKjx3uXrES8jC fYad3JR2vxjwE1CRLFuaN/+8lbPtHgA7YmL2ka4PB4uTdTK2JYWPN45u5GrGQ355TgS5 14PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=Cf6dCGfDVlTYgLrwDzmcya0jU0Cn1PW1cOkDKNHpgBk=; b=M+1BbPwFevZBFOLayNeSN9Q1WVFj6FlPCvknlB730LAbGGM0KVzKrDiL2qJi0aSvtL 5ZyZPLxJ7pSLR2+QBS3BJjN0WsXFP62m/NZQIzWtY2h97dNbVRUiFq73tBzT2l9proD3 4i7dw7ot91eodNyTSeevEYMPouwchpbYU1RuFrGHy8o0ldglU3QDvVPoD3X/tqC20ktt TuqXOEiEaIzeYH8I/NM2bDKHSWB4weFs6QZC6+NTNCyu197J7iiii7TTmiQmKg35avTH BD6rBGP2eQE8Wd8jCHygNrTpcPoSLAr4ZjQCabOV+SaP7M0W6TsxrpjB2vywqDR8gEdX JQ6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kloenk.dev header.s=mail header.b=F+X8j0IW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=kloenk.dev Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z6si1829378ils.150.2021.07.08.01.30.38; Thu, 08 Jul 2021 01:30:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kloenk.dev header.s=mail header.b=F+X8j0IW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=kloenk.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231173AbhGHIco (ORCPT + 99 others); Thu, 8 Jul 2021 04:32:44 -0400 Received: from gimli.kloenk.dev ([195.39.247.182]:48982 "EHLO gimli.kloenk.dev" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230414AbhGHIco (ORCPT ); Thu, 8 Jul 2021 04:32:44 -0400 Content-Type: text/plain; charset=utf-8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kloenk.dev; s=mail; t=1625733001; bh=nsLyPY9TFvdVAsKf24sz2i6+zJKmFfVuOlHVjrT1Wcg=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=F+X8j0IW1g0OcymY5PnahQp/ZFBdq5PH7IpJ3H89kKZKTzp3vnvaD4+r5cVV3wp0X d39Axsj4eCAk8ELeDN7np7WIOjZvd285pJokHrAOH+wkQWzlS4jrQrQNx+eEX7XL68 26WFK/9pDmZyrX48D7J0oz0I9ml7kcGwkTMWdDYI= Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: Re: [PATCH 00/17] Rust support, NVMe From: Finn Behrens In-Reply-To: <20210708063941.xkpf6pr4for7y6gj@gpm.stappers.nl> Date: Thu, 8 Jul 2021 10:29:59 +0200 Cc: Matthew Wilcox , rust-for-linux , linux-kernel Content-Transfer-Encoding: quoted-printable Message-Id: References: <20210704202756.29107-1-ojeda@kernel.org> <20210708063941.xkpf6pr4for7y6gj@gpm.stappers.nl> To: Geert Stappers Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On 8. Jul 2021, at 08:39, Geert Stappers wrote: >=20 > On Thu, Jul 08, 2021 at 01:58:32AM +0100, Matthew Wilcox wrote: >> On Wed, Jul 07, 2021 at 10:56:57PM +0200, Finn Behrens wrote: >>> There is a more general use driver (network dummy) still in the >>> making, It is fully operational, just the documentation of the rust >>> bindings are not finished yet, so it is not merged into the rust >>> tree yet, also I have to rebase it. >>=20 >> Why are you so resistant to writing a real driver that deals with = actual hardware? >=20 > } Why are we so resistant to writing a real driver that deals with = actual hardware? >=20 > It is not dodging hardware, it is universal available. >=20 >=20 >> A simple NVMe driver is less than a thousand lines of C. >> I know the one in the kernel now is ridiculously complicated and has >> been thoroughly messed up with abstractions to support NVMeoF instead >> of having a separate driver, but it's really a simple interface at = heart. >=20 > Summary of https://qemu.readthedocs.io/en/latest/system/nvme.html >=20 > NVMe hardware is universal available. >=20 I actually don=E2=80=99t have a clue how nvme works, that is my reason = to not write a nvme driver. But, I=E2=80=99m currently writing a rust = version of e1000. This is also available in qemu and is real hardware. = This is sadly taking quite some time, as I don=E2=80=99t have a good = linux kernel development setup currently. >=20 >=20 >=20 > Groeten > Geert Stappers > --=20 > Silence is hard to parse CU, Finn