Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4725104pxv; Tue, 6 Jul 2021 07:44:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUdOlMRlGbAGDKJ79sBMRCOikXcnsQbKbsQ2EVW9F8ToemU1ye+ax+DQaEE9zk92XoIOV+ X-Received: by 2002:a50:afe2:: with SMTP id h89mr23932074edd.308.1625582691185; Tue, 06 Jul 2021 07:44:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625582691; cv=none; d=google.com; s=arc-20160816; b=d9lsyFJcktSKdR61ZBVxmeXXmiqoG3a1H/KCDGDIdm30syhWXDDvdqMmQhj615utY/ cG3ncjr9twoNR6ON22IslecpMEjqulszCwtT9gSdT7wijt95FA+P7SYWIF4df1xAtqT9 p3Hle+LBlwDXIXgxumy2sZEe8Wa7azCRKPl+syfXY6V2T67eA7vKTAlJ5t9JRNDYs+HJ 8KTR3X4I94zM82f5tix3UN4YgWHhrIcd11JUCZssMPAanSWoK6ArCSsnsCy/3A7fA49s rcz96JKdY4EVdQtb8nWMpubZ2ve6ICfd0RztY8DYtENofNNNzPVJwfYdqn6YOyoEoKj2 BGuQ== 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=YFV6rk8SCk3lOjLONoCa6QpHpLH5GrV0fP6FZz2KGC4=; b=S8mDFP9oi+kbaDFUAQLQtjdWGT/xrEaGPuTrMWHVCFrw02keYTKEeKb9+/cpMhsvSb lheGUpsuT5HJxQlMGWJ/5z4xbhBS82Ks3Q8brjMYZT7d40/VMqyhxzpcwHCACZCjbavE t5TbMRu2XkArzNliheMUzrKmTuGlbIFEh+d9Ixv5yOJgFllr7/XBfXmNoUjzvhRCwTDW OGpCREr7wb6QJIup97XxUvQ/0aCr3/R6OjCw6x1YzfouNEVb5Ld582pvtzL2GkWIus1N ahT/ULWH6/BCQiR8MuVQY3ocVId5tUIlvgvdgnihZkqYKJNDBn9Q8B/exX2Apk/4Bi4U IMnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=i36XoWKR; 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 p21si6135104eds.590.2021.07.06.07.44.28; Tue, 06 Jul 2021 07:44:51 -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=i36XoWKR; 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 S232944AbhGFOqJ (ORCPT + 99 others); Tue, 6 Jul 2021 10:46:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232803AbhGFOpy (ORCPT ); Tue, 6 Jul 2021 10:45:54 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5AA1C08EA70 for ; Tue, 6 Jul 2021 07:37:03 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id c15so12107807pls.13 for ; Tue, 06 Jul 2021 07:37:03 -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=YFV6rk8SCk3lOjLONoCa6QpHpLH5GrV0fP6FZz2KGC4=; b=i36XoWKRqU8KJek9jwEW2vzH1kXRjuehGEigeg5Akp/37tkny8vakSr0jIAXiOGu1u GHL0ilRliQ9oc9iQmH0an9uV7JDwd/mzX3DacIwdaf7HcjAKD8DG/JUXrWtMORT34TXg BYTz5cnKNmWDAd3HuxUJ6kG/qwZoiWbpmkdvRPgflY5DbEzGQI/QtT0N02w4M1gse04r jsMypKxf5auUb2hsbqD5cFX7qeepAXsueX82eDVDxqpjWSWLMJVdOufDNgfIs7QguF2V gCqp8r5nbz2rp8BmskQCVyWGVWJsMkQ7QtZ+ygTqYTusq6gu7yTTPo1WNdN0ZZrvKsSb lqLA== 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=YFV6rk8SCk3lOjLONoCa6QpHpLH5GrV0fP6FZz2KGC4=; b=RemmrPb6qZzAs1jPXDqj6eND/dv1ugum6iEzhNInWz2Q2ceoTRxO1/EbKRmrqf+Tvc 7jUCd2d1s1mLSX6Sjpnoq6TOYHLF5jOswQT1v9LyMTF6nRstp/f71dkreBZ4IQKG5p6Y btMn0jlB3eX5iq5XGqP/L1dQZf4yPE3qqqrN4tFvIgnKUhWQH1CPeXgZQInw+puXBVR4 p5cDDjy4tQKivLA3UTYBPsFxnZ0Yx5942rLLrQQu9nrbQrEwkCbXmDoNMfXUEJEOtfxc zK3ZBeZReJ5SUCcTU3WrmWpmWECYBLhZWqysrkNg1512Y/2eiWhiMizN7QsoB4yH1zJW l+mg== X-Gm-Message-State: AOAM530NNXWOfDdsbu3/NyNzqWVRdg5NMjR8PGPGwwLajAPgg9EZ+wAT LHV48mnlrpxjhuu09wYJ/2EqKvUl2Hs6Fw== X-Received: by 2002:a0c:c401:: with SMTP id r1mr18387245qvi.46.1625581438559; Tue, 06 Jul 2021 07:23:58 -0700 (PDT) Received: from ziepe.ca ([206.223.160.26]) by smtp.gmail.com with ESMTPSA id b25sm6994985qkk.111.2021.07.06.07.23.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jul 2021 07:23:58 -0700 (PDT) Received: from jgg by mlx with local (Exim 4.94) (envelope-from ) id 1m0lzR-004RHF-1S; Tue, 06 Jul 2021 11:23:57 -0300 Date: Tue, 6 Jul 2021 11:23:57 -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: <20210706142357.GN4604@ziepe.ca> References: <20210705130314.11519-1-ogabbay@kernel.org> 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 12:36:51PM +0200, Daniel Vetter wrote: > If that means AI companies don't want to open our their hw specs > enough to allow that, so be it - all you get in that case is > offloading the kernel side of the stack for convenience, with zero > long term prospects to ever make this into a cross vendor subsystem > stack that does something useful. I don't think this is true at all - nouveau is probably the best example. nouveau reverse engineered a userspace stack for one of these devices. How much further ahead would they have been by now if they had a vendor supported, fully featured, open kernel driver to build the userspace upon? > open up your hw enough for that, I really don't see the point in > merging such a driver, it'll be an unmaintainable stack by anyone else > who's not having access to those NDA covered specs and patents and > everything. My perspective from RDMA is that the drivers are black boxes. I can hack around the interface layers but there is a lot of wild stuff in there that can't be understood without access to the HW documentation. I think only HW that has open specs, like say NVMe, can really be properly community oriented. Otherwise we have to work in a community partnership with the vendor. Jason