Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp2094013rdb; Wed, 31 Jan 2024 20:47:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IE3NQmTfIrTYShcR7q2lvoXkdE99EpLWkPc7jrfPtQnpcgqzUeqiZwcSDUTQ4UmpKpy9imX X-Received: by 2002:a0c:df05:0:b0:68c:476a:a5a5 with SMTP id g5-20020a0cdf05000000b0068c476aa5a5mr7271648qvl.12.1706762863786; Wed, 31 Jan 2024 20:47:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706762863; cv=pass; d=google.com; s=arc-20160816; b=roEHo7tRiau0c93gB5PXXAYhfvO5bf7MTp/VBXiHvreulAOK6qIZRWq+WWfiLMfOLj qZQ5ldFTPZhR2KcwdgLZlU6BPgMXUNaU7oHydnwcsYvC63qLnmraHzDlophLdcg8cmx0 FR8BK8KCRXZ+ywUPIRz1y1rB8Hw1zeEL42j6QA17PbTlxG+2oBDrh521Ox5BqVgq6aYM 1VyXnMdEvdpSHkg44FgVJz4xcUNaPph2kdHK43sKjXTOoQtAvB/9dL3NnujllyFXpa/9 AC2yCl60UPMxtbshy5rauDAL7Ef7zA1ZB5tfTZd6QQf5EyMzOE11acmUXJK2sT16cy9t NUVQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=0OnbX1yCvm3sQP0M00aaws33W9O3jQOQMuSIPOlVDSE=; fh=eYg4rYFUJ45bE27dnQM2/dkUq9gkeJy8Aw7MiTgf6QM=; b=bN37/urvdZcfPO4Ozu6ml4BwIE9yprbplZRTC7X+ddn64/OL93981wm9tWI3W6c9XW 2Qv+9OU+lAWDDamCH0CdEhJM1ejcz8L1CDo2qrtIGcXiM8vn+UGiPCIGhmTOXNshjI9E juFiAx8b98XVS1/wiPws3pZq/x0Hatza4w9KtUDtZvTJHp5IqMBnYU/PGfNhYwIE1s5J yoVuhj9GYY8zqtuhAaSHH6fNNwe9Rb5hpq6NrNZtu6GI4GuMYOaVIIqkkgZEbko4cx0m IBBorWT9A5yBJ8NtdNuYIXpX0oTBfoUJu8NfcRgQz4QD9BYn4GXxO+/EKk4zGRFwkCUr Ip2Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-47628-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47628-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCX0wCQ5E01htHbeMHGyRavxJdi8So3eWu/hw94EdsUZe9NK9CF/Gx8b7jObAUm4WoN7Sc1r97SWJLNWFqqlGGTOPfsojQxmVQSKB8peaQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id gh9-20020a05621429c900b0067f85fcf856si10053068qvb.563.2024.01.31.20.47.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 20:47:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47628-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-47628-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47628-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id EA8441C265E4 for ; Thu, 1 Feb 2024 04:46:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D59D03C067; Thu, 1 Feb 2024 04:46:42 +0000 (UTC) Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D3B6E3A8C5; Thu, 1 Feb 2024 04:46:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706762802; cv=none; b=oMjyqXg58n13+DOPMIe0GepLKR1a2zvFWUanva+EpB7cj+YcXjSEO5M/2sPBnYJFMv3nfPhH5OJyz1OgE+B0UhGYE7tgauFlr580+AFoMkKzJhJxNU4psxnZNDnsfb6WLUmpzKO4pu3xvRMXxf/FzanZaKG3VPwBb0ERdc/I7Pk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706762802; c=relaxed/simple; bh=0OnbX1yCvm3sQP0M00aaws33W9O3jQOQMuSIPOlVDSE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kYMw+F3DY7QvIEgDY8nO/fsjE9kp+6ImVcucCuxFXDzvrdhhECP3sWpRUrofo7qLzVMy9KVfBhdNRmnhkXFMM5R6PKyUq6sTjueP55dDIyj/M3iDtn41ctCRvcOj3O3Bm48/g01XLyHWs5id+81FGG7aERGP3p48PgVQf4cbctA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id A8562227A88; Thu, 1 Feb 2024 05:46:37 +0100 (CET) Date: Thu, 1 Feb 2024 05:46:37 +0100 From: Christoph Hellwig To: Chris Leech Cc: Greg Kroah-Hartman , Nilesh Javali , Christoph Hellwig , John Meneghini , Lee Duncan , Mike Christie , Hannes Reinecke , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, GR-QLogic-Storage-Upstream@marvell.com Subject: Re: [PATCH 1/2] uio: introduce UIO_MEM_DMA_COHERENT type Message-ID: <20240201044637.GC14176@lst.de> References: <20240131191732.3247996-1-cleech@redhat.com> <20240131191732.3247996-2-cleech@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240131191732.3247996-2-cleech@redhat.com> User-Agent: Mutt/1.5.17 (2007-11-01) As the least horrible way out this looks ok: Reviewed-by: Christoph Hellwig Bt maybe you can add some commentary why this mem mode exists and why no one should be using it in new code?