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=-3.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 5942AC07E96 for ; Tue, 6 Jul 2021 14:24:00 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0EEB161C22 for ; Tue, 6 Jul 2021 14:24:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0EEB161C22 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 94CDD89E5F; Tue, 6 Jul 2021 14:23:59 +0000 (UTC) Received: from mail-qv1-xf29.google.com (mail-qv1-xf29.google.com [IPv6:2607:f8b0:4864:20::f29]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6549489E8C for ; Tue, 6 Jul 2021 14:23:59 +0000 (UTC) Received: by mail-qv1-xf29.google.com with SMTP id fi7so9269866qvb.0 for ; Tue, 06 Jul 2021 07:23:59 -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=qZHtAwt/zSWNS/3IZPFvSYoRr7RORJXJALWpzOhpDoRdScUyWsIOLKbTrgO5P1IlN7 9EWKnqjVrkd0Aq8kWRNy9k8n/ZeT4Lna9UCvfPsQ7m+CGfk5A4Ue3pO5h0NUxot0SMf4 pbsVhTiEHNZdtNoTxueZLUOUDY6MN/ldPEy/+7LM1+dRZlO63nQoGrxV/WOQ6CJU17xj iPMFQ2brAaSTjGTolCK5BAJnzeP6rOMowesxNAuh9YbtWSsqs9zCZvgILYQVYaN4rsaz jqJY1WGvSFeIZKZGgAOXhYfaQUO/LAhl8lKUUFp5w7PlPfjB+35D3lbm9Dm7WS0KoilV HoDA== X-Gm-Message-State: AOAM533nMDfeT9AbCYjOLHN2NwDrqE9r2u0vvqUwhI3L4YKZk9zr2weK QC8AceAYOHHCFPfaazcAn7hfKw== X-Google-Smtp-Source: ABdhPJz1CsC+M5B6A7qlNZPYOtCZ1RD0GqU6WwjApjr7wLD9E1k97rwxhSXS/QrhzlkoPkDPUTVSHw== 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 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: X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gal Pressman , sleybo@amazon.com, linux-rdma , Greg Kroah-Hartman , Oded Gabbay , "Linux-Kernel@Vger. Kernel. Org" , Maling list - DRI developers , "moderated list:DMA BUFFER SHARING FRAMEWORK" , Doug Ledford , Christoph Hellwig , amd-gfx list , Alex Deucher , Christian =?utf-8?B?S8O2bmln?= , Leon Romanovsky , Linux Media Mailing List Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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