From patchwork Sun Oct 3 09:07:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oded Gabbay X-Patchwork-Id: 12532661 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA76CC433F5 for ; Sun, 3 Oct 2021 09:08:06 +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 7F95961B44 for ; Sun, 3 Oct 2021 09:08:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7F95961B44 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C61B86E0C4; Sun, 3 Oct 2021 09:08:05 +0000 (UTC) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id 199BA6E0C4; Sun, 3 Oct 2021 09:08:05 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 8D78961B25; Sun, 3 Oct 2021 09:08:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633252084; bh=PVqEi5vS4sOFikZvEUz9K9XB4b13SG5dvriACizO90o=; h=From:To:Cc:Subject:Date:From; b=k2BJ8jdGkipevlIeFKbDgD0Xn68LrqPTSXktFty+JhpHrECRhwoX8pTJMs6y9HSri YiizPCP00fWnSzdIEGESVGnONvUyYnRRQVBJZx7vgiraxN+6uu02sSlfkw7mJgmsJI SKpj6R9AVdrgsItUJh+A8Y6C8IrtQ/I/AZyeKaF4OTTOPrgW+ctx4guBkpTO0pcmUJ dQNibzlvbHxUVxmL3WN2MC5Fj+CFgxrxU5EHqnXBrT3CVReaBc2Z1z5ejgUJzvCcG7 fW/IEnA4mlTZ2crGP+GgET8eVOMDH3+lREtCrJES4jDMmzdf5rusMGCEOVVshWoSBd PdtPF3v4zPXyQ== From: Oded Gabbay To: linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, jgg@ziepe.ca, airlied@gmail.com Cc: christian.koenig@amd.com, daniel.vetter@ffwll.ch, galpress@amazon.com, sleybo@amazon.com, dri-devel@lists.freedesktop.org, linux-rdma@vger.kernel.org, linux-media@vger.kernel.org, dledford@redhat.com, alexander.deucher@amd.com, leonro@nvidia.com, hch@lst.de, amd-gfx@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org Subject: [PATCH v7 0/2] Add p2p via dmabuf to habanalabs Date: Sun, 3 Oct 2021 12:07:54 +0300 Message-Id: <20211003090756.117809-1-ogabbay@kernel.org> X-Mailer: git-send-email 2.17.1 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, I'm sending v7 after the latest review from Jason. All the changes are detailed in the commit messages. Dave, I'll appreciate if you can also a-b this patchset. Thanks, Oded Oded Gabbay (1): habanalabs: define uAPI to export FD for DMA-BUF Tomer Tayar (1): habanalabs: add support for dma-buf exporter drivers/misc/habanalabs/Kconfig | 1 + drivers/misc/habanalabs/common/habanalabs.h | 22 + drivers/misc/habanalabs/common/memory.c | 514 +++++++++++++++++++- drivers/misc/habanalabs/gaudi/gaudi.c | 1 + drivers/misc/habanalabs/goya/goya.c | 1 + include/uapi/misc/habanalabs.h | 28 +- 6 files changed, 563 insertions(+), 4 deletions(-)