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=-6.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 CAC9DC55ABD for ; Fri, 13 Nov 2020 20:41:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 632202065E for ; Fri, 13 Nov 2020 20:41:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ffwll.ch header.i=@ffwll.ch header.b="XxNPjkbm" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726090AbgKMUlf (ORCPT ); Fri, 13 Nov 2020 15:41:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726003AbgKMUlf (ORCPT ); Fri, 13 Nov 2020 15:41:35 -0500 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DD32C0613D1 for ; Fri, 13 Nov 2020 12:41:34 -0800 (PST) Received: by mail-wr1-x441.google.com with SMTP id u12so4326013wrt.0 for ; Fri, 13 Nov 2020 12:41:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=L5e4DIZV3VJ4/DZhaxMedvf932BuCNS+uWtVsQlOpwI=; b=XxNPjkbmXf7MCgGcE/QgflUYbsN17qETnpKjYFS9Tmq8Ug+Eh73nfFd9TdzkCf9AE2 oXqwEtnOGsYB3/Qkqvm7ruzS2MjUIY3aaFb/sI8NiY9wk+1Z71m9h2JfZmeR80VoBtTg 7iQXDKjWZq5LlUw07orJj+TOP6gH4hHKFOli0= 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=L5e4DIZV3VJ4/DZhaxMedvf932BuCNS+uWtVsQlOpwI=; b=Wti74QJBC1abKFYpupi/kRhwn+mA6zie5QLfeTiBOQhe0gU++dfzf7Qt1n0DVHwonP ytuVXgMdWgEVrHQ/Y8Nfzg9BmRhltDYDr5NvNGh8xElB2dBrDwVXpyAkBKz6iBwYn/Uu 7zVDOx/0UaRG9wJpuzUCnPswCaLH9qip3MLgJfT+S1Qpu3DdMvNFLLRUwxeMc0dWjt7j kULRuZiAEdKvt7NS82DSnNfPcSSb4B/H2iApWhM13zkAEsEWw410K/SBzQbX6QtVnslo bZp+UkB9ySMSxogMq0JmdGDmVpNUp02Jz1fkUywhV+hpLwCqeHmnGZL6oocvtzEG7UnD xDjQ== X-Gm-Message-State: AOAM530lqTLr2+TGtE1RhsfFZCtEgjlOzV7MVyjCYWBD7cps9PzdHDg7 S4VQsvpeVOYGdqknUM5vvgpfKA== X-Google-Smtp-Source: ABdhPJy+vZyBmSoL9CBj+APp8QgyaRgbuZ4I7P5mhruXWGfad54Kzai82pflGZdDNk9mmE7+FVR9aA== X-Received: by 2002:a5d:4cca:: with SMTP id c10mr5895092wrt.372.1605300092835; Fri, 13 Nov 2020 12:41:32 -0800 (PST) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id o63sm11571531wmo.2.2020.11.13.12.41.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 12:41:32 -0800 (PST) Date: Fri, 13 Nov 2020 21:41:30 +0100 From: Daniel Vetter To: Jason Gunthorpe Cc: Daniel Vetter , Jianxin Xiong , linux-rdma@vger.kernel.org, dri-devel@lists.freedesktop.org, Leon Romanovsky , Doug Ledford , Daniel Vetter , Christian Koenig Subject: Re: [PATCH v10 6/6] dma-buf: Document that dma-buf size is fixed Message-ID: <20201113204130.GU401619@phenom.ffwll.local> References: <1605044477-51833-1-git-send-email-jianxin.xiong@intel.com> <1605044477-51833-7-git-send-email-jianxin.xiong@intel.com> <20201111163323.GP401619@phenom.ffwll.local> <20201112132514.GR244516@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201112132514.GR244516@ziepe.ca> X-Operating-System: Linux phenom 5.7.0-1-amd64 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org On Thu, Nov 12, 2020 at 09:25:14AM -0400, Jason Gunthorpe wrote: > On Wed, Nov 11, 2020 at 05:33:23PM +0100, Daniel Vetter wrote: > > On Tue, Nov 10, 2020 at 01:41:17PM -0800, Jianxin Xiong wrote: > > > The fact that the size of dma-buf is invariant over the lifetime of the > > > buffer is mentioned in the comment of 'dma_buf_ops.mmap', but is not > > > documented at where the info is defined. Add the missing documentation. > > > > > > Signed-off-by: Jianxin Xiong > > > > Applied to drm-misc-next, thanks for your patch. For the preceeding > > dma-buf patch I'll wait for more review/acks before I apply it. Ack from > > Jason might also be good, since looks like this dma_virt_ops is only used > > in rdma. > > We are likely to delete it entirely this cycle, Christoph already has > a patch series to do it: > > https://patchwork.kernel.org/project/linux-rdma/list/?series=379277 > > So, lets just forget about it I can get behind that :-) Also I realized that even when we need it, probably best if you merge it to avoid a partially broken feature in the rdma tree. So not my problem anyway ... Cheers, Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch 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=-6.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 E6CA2C63697 for ; Fri, 13 Nov 2020 20:41:36 +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 47D9B2223C for ; Fri, 13 Nov 2020 20:41:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ffwll.ch header.i=@ffwll.ch header.b="XxNPjkbm" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 47D9B2223C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch 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 972E96E82C; Fri, 13 Nov 2020 20:41:35 +0000 (UTC) Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id 22BFB6E82C for ; Fri, 13 Nov 2020 20:41:34 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id o15so11547413wru.6 for ; Fri, 13 Nov 2020 12:41:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=L5e4DIZV3VJ4/DZhaxMedvf932BuCNS+uWtVsQlOpwI=; b=XxNPjkbmXf7MCgGcE/QgflUYbsN17qETnpKjYFS9Tmq8Ug+Eh73nfFd9TdzkCf9AE2 oXqwEtnOGsYB3/Qkqvm7ruzS2MjUIY3aaFb/sI8NiY9wk+1Z71m9h2JfZmeR80VoBtTg 7iQXDKjWZq5LlUw07orJj+TOP6gH4hHKFOli0= 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=L5e4DIZV3VJ4/DZhaxMedvf932BuCNS+uWtVsQlOpwI=; b=Ez9AfQHwBh4gZn/Y118zbTzpwqZg37vUoN0Qjt0eaAvjpmAxpIesYKa/UQIXeVKZxa N41etgGTwd2a7eo0qKNluxHZj1pLjZk7zE7Dp8zTvvAl4adQ2mV/i++mZv0s9JCYLMhT 3vDkxZaNBAPV0U473S+vLg5ot1AXYK2Fv3uJJuaPDqm5z3OyCM54t1zwH47w+mIsW3CJ F4HsZmUvfRrZmuOtfWInTjZbs1F/vxu3X61UQr2UbAlwvG4DoWSTmVbucUByWeMbKXxD LjNzsjaIx45BmrfEt/Cvho3+as4ZHDPneE45H/JZXxMsCq3TBR80y63jp3irLL1emkyI 0Cdw== X-Gm-Message-State: AOAM531Nukn4LdxHMxoGE/PYva0zwCIK5hC1CfH1+8Q9djIqqSEjrDEb cFAQrdfcAkiesZb9PTJAA6etbg== X-Google-Smtp-Source: ABdhPJy+vZyBmSoL9CBj+APp8QgyaRgbuZ4I7P5mhruXWGfad54Kzai82pflGZdDNk9mmE7+FVR9aA== X-Received: by 2002:a5d:4cca:: with SMTP id c10mr5895092wrt.372.1605300092835; Fri, 13 Nov 2020 12:41:32 -0800 (PST) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id o63sm11571531wmo.2.2020.11.13.12.41.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 12:41:32 -0800 (PST) Date: Fri, 13 Nov 2020 21:41:30 +0100 From: Daniel Vetter To: Jason Gunthorpe Subject: Re: [PATCH v10 6/6] dma-buf: Document that dma-buf size is fixed Message-ID: <20201113204130.GU401619@phenom.ffwll.local> References: <1605044477-51833-1-git-send-email-jianxin.xiong@intel.com> <1605044477-51833-7-git-send-email-jianxin.xiong@intel.com> <20201111163323.GP401619@phenom.ffwll.local> <20201112132514.GR244516@ziepe.ca> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201112132514.GR244516@ziepe.ca> X-Operating-System: Linux phenom 5.7.0-1-amd64 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: Leon Romanovsky , linux-rdma@vger.kernel.org, dri-devel@lists.freedesktop.org, Doug Ledford , Daniel Vetter , Christian Koenig , Jianxin Xiong Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Thu, Nov 12, 2020 at 09:25:14AM -0400, Jason Gunthorpe wrote: > On Wed, Nov 11, 2020 at 05:33:23PM +0100, Daniel Vetter wrote: > > On Tue, Nov 10, 2020 at 01:41:17PM -0800, Jianxin Xiong wrote: > > > The fact that the size of dma-buf is invariant over the lifetime of the > > > buffer is mentioned in the comment of 'dma_buf_ops.mmap', but is not > > > documented at where the info is defined. Add the missing documentation. > > > > > > Signed-off-by: Jianxin Xiong > > > > Applied to drm-misc-next, thanks for your patch. For the preceeding > > dma-buf patch I'll wait for more review/acks before I apply it. Ack from > > Jason might also be good, since looks like this dma_virt_ops is only used > > in rdma. > > We are likely to delete it entirely this cycle, Christoph already has > a patch series to do it: > > https://patchwork.kernel.org/project/linux-rdma/list/?series=379277 > > So, lets just forget about it I can get behind that :-) Also I realized that even when we need it, probably best if you merge it to avoid a partially broken feature in the rdma tree. So not my problem anyway ... Cheers, Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel