From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F486C07E96 for ; Thu, 8 Jul 2021 06:39:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4899C61CD1 for ; Thu, 8 Jul 2021 06:39:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229737AbhGHGmZ (ORCPT ); Thu, 8 Jul 2021 02:42:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229608AbhGHGmY (ORCPT ); Thu, 8 Jul 2021 02:42:24 -0400 Received: from gpm.stappers.nl (gpm.stappers.nl [IPv6:2001:981:6c6a:1::49]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9C3C7C061574 for ; Wed, 7 Jul 2021 23:39:42 -0700 (PDT) Received: by gpm.stappers.nl (Postfix, from userid 1000) id 6F78E3041A7; Thu, 8 Jul 2021 08:39:41 +0200 (CEST) Date: Thu, 8 Jul 2021 08:39:41 +0200 From: Geert Stappers To: Matthew Wilcox , rust-for-linux , linux-kernel Subject: Re: [PATCH 00/17] Rust support, NVMe Message-ID: <20210708063941.xkpf6pr4for7y6gj@gpm.stappers.nl> References: <20210704202756.29107-1-ojeda@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Precedence: bulk List-ID: X-Mailing-List: rust-for-linux@vger.kernel.org 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. > > Why are you so resistant to writing a real driver that deals with actual hardware? } Why are we so resistant to writing a real driver that deals with actual hardware? It is not dodging hardware, it is universal available. > 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. Summary of https://qemu.readthedocs.io/en/latest/system/nvme.html NVMe hardware is universal available. Groeten Geert Stappers -- Silence is hard to parse