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: 12532655 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 B3E64C4332F for ; Sun, 3 Oct 2021 09:08:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9251661B46 for ; Sun, 3 Oct 2021 09:08:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229863AbhJCJJw (ORCPT ); Sun, 3 Oct 2021 05:09:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:56978 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229823AbhJCJJw (ORCPT ); Sun, 3 Oct 2021 05:09:52 -0400 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 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org 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(-)