Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp232947rdb; Thu, 1 Feb 2024 07:08:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IHXv2uuYb/H8tmfvC3S/zqyMARRD8BozwdIOsODmdOdNcOvtSiW6ynL1qeyvSnY8EM12Yo+ X-Received: by 2002:a17:902:8f87:b0:1d9:11bd:a7af with SMTP id z7-20020a1709028f8700b001d911bda7afmr4766657plo.28.1706800107658; Thu, 01 Feb 2024 07:08:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706800107; cv=pass; d=google.com; s=arc-20160816; b=IKhP19GrCqPIDmKCOKmkhWKg82XJnYh1zbCOZhyziXzETF2FgrisNQ9KsgKsXU5URx dJzqxg32wpw9Ae9ZSegIkesVWEDhjhHBKY8/C7aZ78pX+BriYq5yQSYI57al6EqG3lY5 MEH0PIaCT87lFmHZBICR6dU49U1AtQSp1H2XlYnMXpGfKIqfzJkTAejszCgbPyrpQixV LMl0lxryigNJSGU2NUDdwCerWfz0yTL0bO+ZeoPzrJo5wbtu9x3S7+l5EARMQCCvVko1 tpn7b5m1bC9qMyf24aqDuTH+vphod2z3j4NBgd0fc/pAMe2BkZ2PTmst7sA0KSsqo3DV fYBA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=8P9lUpb5i1FnfP0x0tbZbnbBjbTu5zn2KGY9C83BgSA=; fh=gqawxYFToKiOhogYYSXXawhvsmlt3TSVksVz5eh3PkM=; b=cFV6s4XCRre6tRmUhwkSRi6HhvZS4BEGeQMGcnkFNizU5jVWac3ApgaqEvttmNGV3q PJVfqYMdyP4t4Jg7QcQr/t7MUPhekx6H4QpkBifbts7fE+8oAcIxJmJ4U78UZ87rEnit 5CFEcCv33HidOt0e9wVF5ibt+Xj0RhncjrydnsVJeq3u1EXwEcWiyXWZNJ2Q3NvNB11O +XcxALUu+qauKWadAUNfg8xP04l0fvXT+Jbcki/sLPfgIhnh++GW1XhCuqj2fM1FbXvq elIHvhXEIqJraSnPV29o07lg6me8LLwB6a8TBRpdSjMMDNY0P63CQmNPS4zW+Iw7HoF2 eNkw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YhYk+fye; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-48355-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48355-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org X-Forwarded-Encrypted: i=1; AJvYcCVWIC9sTOAF1DUoCjLCIsxW/ukQKliF3rdj8OLbOsBjguaC019JxclMUULOy/2YQUNruB4kOZOFEmFNgJN06JwpC1JrBaS4wZcedBqbwA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id l1-20020a170903244100b001d9176f56f7si5349874pls.462.2024.02.01.07.08.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 07:08:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48355-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YhYk+fye; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-48355-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48355-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id BF91228E4BC for ; Thu, 1 Feb 2024 15:04:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7091C6216F; Thu, 1 Feb 2024 15:04:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="YhYk+fye" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 8CB8B62151; Thu, 1 Feb 2024 15:03:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706799839; cv=none; b=mpVbnLrL+U1CgK+Udbxsn/DqgAhPoSv3dl9CbEWNeKyUYWJa25ohhgTrwyxofPJGwpAwiONp0MPgMrYNzeoqkyNieM/0ZNSbqxhO2doaFlOeCFCYW7TMtMPO7BHNNBK5q7qUGvsRx8OxurrYXxE6Ai8l/qtz3XEZG7Vk2pDTEuc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706799839; c=relaxed/simple; bh=U09eNR21Lbmrd2l9PZFgQtRK0fx92Ls+0PVGzJDFuko=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=q03mstUH/4jMs0JFa0pEaHIEz/47wgx6HASGlPFsuGCE0UklzIyHKULnv8+zkN1jTLijgZ42FB7djWa04KXT96fFj+4YRS3cre85f1nLfVVAmU4skG587SyvjCb+oV7T33v+DUVGWPzuGUbHLxHc+1vcyrdW7oArAoq2yL5ljf4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YhYk+fye; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E0AFCC43390; Thu, 1 Feb 2024 15:03:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1706799839; bh=U09eNR21Lbmrd2l9PZFgQtRK0fx92Ls+0PVGzJDFuko=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YhYk+fye2duZoKq7wrP/wZM3zLUsVgooOMGedUBMv9sY58Fkhw1LQoOv10cUkea5d XQmlhMIApgGld71PJf4ibrlNyNGdZvNr9qUrHG4/+C3CtP5B0Vc6cpYHLKOg8mOz+M gAaH3/y/b900seFnbfsnWCIoEhJlBzf4hikXk2Ao= Date: Thu, 1 Feb 2024 07:03:58 -0800 From: Greg Kroah-Hartman To: Christoph Hellwig Cc: Chris Leech , Nilesh Javali , 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: <2024020125-bunt-nearest-242b@gregkh> References: <20240131191732.3247996-1-cleech@redhat.com> <20240131191732.3247996-2-cleech@redhat.com> <20240201044637.GC14176@lst.de> 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: <20240201044637.GC14176@lst.de> On Thu, Feb 01, 2024 at 05:46:37AM +0100, Christoph Hellwig wrote: > 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? > Good idea, and perhaps a kernel log warning when this is used as well just to prevent anyone new from ever considering it. thanks, greg k-h