Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1134658rdb; Sun, 1 Oct 2023 23:09:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGwKziI5hjGIRRSPELEkAz7AfgvYcGV2F9SL9gqfuNJd15kUs016ia9LNpUnstqcloqqEur X-Received: by 2002:a05:6a20:9191:b0:15c:b907:9d6e with SMTP id v17-20020a056a20919100b0015cb9079d6emr16228115pzd.6.1696226987402; Sun, 01 Oct 2023 23:09:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696226987; cv=none; d=google.com; s=arc-20160816; b=vdOQ62T1DGoNUz+tt7vnyX1k9IOna0T372nIakjA1mHpt9MDNQ/KfyhTxjCpzEh7BR eaYxcjc9sVy6QuDM6IAImSP5TC/P59g40meWhCYJSTKSTLk3ul+4aqOurci+6dNHrMhc AL0QLjoSIsf2FeyNZb9OasxajwzWTbWPH2XQ0i9lwK2yaAAtk0g0vEr0n8JBNqaK6xi7 fWytNkiRIXKS58s+lLSInxJuE6kLTQ1pCRpHUjH5QCA8rVUHTXOXhybZD+Y4HZ4PujTz A1rmYyOpx1EAFXjA9SSC8FtG+WnCHMC3n5zeob6usVY/ZtqNOELdMN9hwNfXqkJpQcN1 7AJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=qT/FXTlqtux7n2SMjcufHCIC7YIbZw9X/EO0dNa0Ivc=; fh=TvjHjjzKevWRzdqwUI3y0WHVA8DFmmxXuA+8gCTLSl4=; b=ufyG8z9VsOFysmOqMVfGwp1zmbmGtzXHPW9BqbIrB3se46fXuQiMriwsFqT/TBsD6C aBYHen81asg6pDJsAFpYp7zi1C5JX93bAdTk9+7u6/ZggiPPV8IIP/afUIq007CxIYra +1sout7BttRl8rAmXGWyDXP/ogMShmBDsknc5JQEx5rjl9xosyzyS63E0eqZxQ4Gm4IP 6jIvVGzhDFQ3Nf/Vcl1fQzmuP4PCQ8ffpgq6U1Jrfm1zt81Qb0kfLB6p+B5bSpg7DB6x 4vyz5ssifmtY3+ouOY/yf4ow3XIru7nSxwsb0h82uNW72zNOanLkHcabY7CFnXGXUU/r r22Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id r20-20020a6560d4000000b00565ead2509asi25558175pgv.199.2023.10.01.23.09.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 23:09:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 96BB680C65DA; Sun, 1 Oct 2023 23:09:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235457AbjJBGJo (ORCPT + 99 others); Mon, 2 Oct 2023 02:09:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229529AbjJBGJn (ORCPT ); Mon, 2 Oct 2023 02:09:43 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A57D39B; Sun, 1 Oct 2023 23:09:41 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id C7D0668D07; Mon, 2 Oct 2023 08:09:37 +0200 (CEST) Date: Mon, 2 Oct 2023 08:09:37 +0200 From: Christoph Hellwig To: Chris Leech Cc: Greg Kroah-Hartman , Christoph Hellwig , Rasesh Mody , Ariel Elior , Sudarsana Kalluru , Manish Chopra , Nilesh Javali , Manish Rangankar , Jerry Snitselaar , John Meneghini , Lee Duncan , Mike Christie , Hannes Reinecke , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] uio: introduce UIO_DMA_COHERENT type Message-ID: <20231002060937.GA911@lst.de> References: <20230929170023.1020032-1-cleech@redhat.com> <20230929170023.1020032-2-cleech@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230929170023.1020032-2-cleech@redhat.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 01 Oct 2023 23:09:46 -0700 (PDT) This is the right way to map dma coherent memory to userspace. I have to say I agree with the doubts on what it is actually trying to do, though.