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.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 21F5DC07E9E for ; Tue, 6 Jul 2021 14:43:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0702261447 for ; Tue, 6 Jul 2021 14:43:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232955AbhGFOqN (ORCPT ); Tue, 6 Jul 2021 10:46:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232763AbhGFOpy (ORCPT ); Tue, 6 Jul 2021 10:45:54 -0400 Received: from mail-vs1-xe2b.google.com (mail-vs1-xe2b.google.com [IPv6:2607:f8b0:4864:20::e2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C288CC08EA73 for ; Tue, 6 Jul 2021 07:37:12 -0700 (PDT) Received: by mail-vs1-xe2b.google.com with SMTP id o12so955984vsr.11 for ; Tue, 06 Jul 2021 07:37:12 -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=PMTBoXGuJgICqnt+EPwYXCB0umyeXzNMgjLCU9TlNOLqmFIMvcpwzUWHREvZxBfPnN AAlrkrhdhCVKZhqj1Y37dl0FsnPEHv1/KgQPLa7U2SJ9dS6eSxpUqlOaaky0mWRWdtlQ YdMzIqugzV0knBhacObhmharujBgkR6jYtU1cHL76l/Q932AOT2rg6oKgDvl+O4jGucJ qBEq8LU+puGTT+RBcpjQHgHDQcS4y2U+T3r1vSE9stUgG2PJ796vW9H9eS2JAPhde9Ne MAyhTicz0Buj6R2FMhIN2mbgboPE+OtcPWo/yS7aEYzOjot03MfLBHZh2AIE9tHRZB2Y lsUQ== X-Gm-Message-State: AOAM533YU59XIlr/tx34APOfEyC3SnAo4U3sf9MRVEiQj9vhEKv5JboZ QrEZsWDosE+4xXZMFRVrVhUenxyPcX8wZA== 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 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-media@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