Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4888252pxv; Tue, 6 Jul 2021 11:33:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjl4ySn8G9YKOtqqQgtMzn3UknflU+x2f/y599PnXytAnb/FvUinS9eQzpLU+awgbGm/w/ X-Received: by 2002:a17:906:4d41:: with SMTP id b1mr19634410ejv.239.1625596386408; Tue, 06 Jul 2021 11:33:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625596386; cv=none; d=google.com; s=arc-20160816; b=NKTUWL0WSDc2fK/qrf/AcN5ppL5DnsjTjbDSWANGd5Q25uyFLNuUVrxig/gpQ+MmSL E9BTNhQfdSSC2lfSd5F/KBYU6ak9yTdMHu3hmfh6VA3Xd67eXXh6v7JJEsH4sqSZzdVs AXGOCwyWP1xHBg89uGXyKY5lyv6lyOCzTIBUKeGuF7XSiGjpRwN59xC6kmZSr1SJMkru CYFOEi+epwlSYmURXZnA7bEJCITLf5VFHzCWQcdxPu8S4KG87MSxi86MJfCHwN5seQNn AOwG8hREPnFUVBVEKROHYEN1iMhv91ejmAeOPVBpufKWDMq7QASO+pbAbXXUap6VSaLA lyew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=xS4jmUfoYf+qsHEX1NkazSuwR3nlQAXkZMVvUw/VAUw=; b=RwC+MXjIhdaE+e9P55Xf8WHFiyhfAC+Iqqz78nLC43qfMAPw+byPkHlnI5/5t3gDfv Vxy4M3SZ6Pp7soroUkazn+syLSuJQ2YHeJP44sISZkB4sveRzPKOLyAHubYQeUlLCefT 8dOygXMIMuj/4ElV6M6j6bcFxC4CDD4e2OHAuUrGn7BCbRIq6J1kctcR6IZ3SFCTb63a texDMcl4BWgDr4TFQEHanu+iNi1QHoRT8gDcy+lKkywXmRyt3fAhMfS9AB6jIjORp0a4 MzRLXJZUN8i5PuzEbjGgNER71yKZX5NG9U7CYnDlk/4wKnYpLk8OneVhaUDe5rsN6Ds/ Pwiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=WvzI34BC; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f25si18121949ejh.576.2021.07.06.11.32.40; Tue, 06 Jul 2021 11:33:06 -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=@ziepe.ca header.s=google header.b=WvzI34BC; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231208AbhGFSe1 (ORCPT + 99 others); Tue, 6 Jul 2021 14:34:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229954AbhGFSe1 (ORCPT ); Tue, 6 Jul 2021 14:34:27 -0400 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1D73C06175F for ; Tue, 6 Jul 2021 11:31:48 -0700 (PDT) Received: by mail-pf1-x42b.google.com with SMTP id y4so20255424pfi.9 for ; Tue, 06 Jul 2021 11:31:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=xS4jmUfoYf+qsHEX1NkazSuwR3nlQAXkZMVvUw/VAUw=; b=WvzI34BCNFC58UqM62eaC15I3Yl4gCH/I8Ta5Ki1kdgAdDX/cqsF343tDXX9SeXxjE a8pdPzapSJ/sQt5ALbN0TSo27XMUHAhF+ez6o1TqVZ0w34FyFoB2xXLpSFnx+kAoI1Oa /2QK4caLLF12JWPBYN7cBaevzABXzTT6p2tWO4RfsWJPrgJzAY9QsaEw4MwwoHGjZjND H+aa1hpGfvT+9YIcsPNAoK1a9s92DpckoP2b2Wv7OA4c2l3ABp1equdZgsXeTEcw/jWG mVVlxVe1jSXOTMYW+Th87k0OQhmUJk8cdCf+SRPXnXQsphxTzFJuGNNuThCnpUmmJqv3 6b6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=xS4jmUfoYf+qsHEX1NkazSuwR3nlQAXkZMVvUw/VAUw=; b=Dbh+wNXbKPIJpebKCSfwXpMGBavzkZmEcT/umxZQNHXthyk3kYh1NzOsZWIZ6IEL2n iZCst2KQ7LIRwFkELKLihe+MuXwtmvpMmEDpOF9EJRiwMqHN4lQIg63b4Hj+6vyqzJ7r IJtHtAVksbfwjvXmlyqdbFWttm6Am2qeeAvvXAHwALfZPSoHGciSO1wmkCZ253JEN5UU qSMcro8xg+tmDGjMdKwi7KFj8HPJRsAzPP0QRLXXCIdDjrxb4+333JBr+ucvGR04b9cV c/TIFYgF4LpPUvkPfjsxcUbIvTZ1t5PUnA08/TCisNSNLjWWa+XuYwBEZMAYTHoEX9Zd w7Ig== X-Gm-Message-State: AOAM532OXQTiPE3qHEy6WdefdCdy4hNCWw3SnWWZiJDVJnwvh+EWXTqe rqXf6XOkXd3slH+IeQZ9iEGHAQ== X-Received: by 2002:a63:5a59:: with SMTP id k25mr10017534pgm.423.1625596307999; Tue, 06 Jul 2021 11:31:47 -0700 (PDT) Received: from ziepe.ca ([206.223.160.26]) by smtp.gmail.com with ESMTPSA id n33sm19327390pgm.55.2021.07.06.11.31.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jul 2021 11:31:47 -0700 (PDT) Received: from jgg by mlx with local (Exim 4.94) (envelope-from ) id 1m0prF-004Wdb-Bw; Tue, 06 Jul 2021 15:31:45 -0300 Date: Tue, 6 Jul 2021 15:31:45 -0300 From: Jason Gunthorpe To: Daniel Vetter Cc: Oded Gabbay , Oded Gabbay , "Linux-Kernel@Vger. Kernel. Org" , Greg Kroah-Hartman , Sumit Semwal , Christian =?utf-8?B?S8O2bmln?= , Gal Pressman , sleybo@amazon.com, Maling list - DRI developers , linux-rdma , Linux Media Mailing List , Doug Ledford , Dave Airlie , Alex Deucher , Leon Romanovsky , Christoph Hellwig , amd-gfx list , "moderated list:DMA BUFFER SHARING FRAMEWORK" Subject: Re: [PATCH v4 0/2] Add p2p via dmabuf to habanalabs Message-ID: <20210706183145.GT4604@ziepe.ca> References: <20210705130314.11519-1-ogabbay@kernel.org> <20210706142357.GN4604@ziepe.ca> <20210706152542.GP4604@ziepe.ca> <20210706162953.GQ4604@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 06, 2021 at 07:35:55PM +0200, Daniel Vetter wrote: > Yup. We dont care about any of the fancy pieces you build on top, nor > does the compiler need to be the optimizing one. Just something that's > good enough to drive the hw in some demons to see how it works and all > that. Generally that's also not that hard to reverse engineer, if > someone is bored enough, the real fancy stuff tends to be in how you > optimize the generated code. And make it fit into the higher levels > properly. Seems reasonable to me > And it's not just nvidia, it's pretty much everyone. Like a soc > company I don't want to know started collaborating with upstream and > the reverse-engineered mesa team on a kernel driver, seems to work > pretty well for current hardware. What I've seen is that this only works with customer demand. Companies need to hear from their customers that upstream is what is needed, and companies cannot properly hear that until they are at least already partially invested in the upstream process and have the right customers that are sophisticated enough to care. Embedded makes everything 10x worse because too many customers just don't care about upstream, you can hack your way through everything, and indulge in single generation thinking. Fork the whole kernel for 3 years, EOL, no problem! It is the enterprise world, particularly with an opinionated company like RH saying NO stuck in the middle that really seems to drive things toward upstream. Yes, vendors can work around Red Hat's No (and NVIDIA GPU is such an example) but it is incredibly time consuming, expensive and becoming more and more difficult every year. The big point is this: > But also nvidia is never going to sell you that as the officially > supported thing, unless your ask comes back with enormous amounts of > sold hardware. I think this is at the core of Linux's success in the enterprise world. Big customers who care demanding open source. Any vendor, even nvidia will want to meet customer demands. IHMO upstream success is found by motivating the customer to demand and make it "easy" for the vendor to supply it. Jason