From mboxrd@z Thu Jan 1 00:00:00 1970 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 C8E70945A; Mon, 26 Aug 2024 06:30:15 +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=1724653818; cv=none; b=d41riXuBYhCeiyoS5M1fUCe5xdD/ZUr2Vxkz9QFwkHNyi+TwrH/S5s6+mtjyh41moWmLcv2OLCItskuarHgjRYYXrVUFg+Nk8LtjoWfTYta0w7Mj0OCpQ3xWFXGVrMGi4hjj2jbVOty1Lf6eAgfXElRU+Zlo4rYLCqWZtDoYBK8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724653818; c=relaxed/simple; bh=I5vPQa5B0qSf1a0XhjsHqZRzzkETp0uhy9XwdCafnAA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UG38GKBRLoAPk9m0yNvuPfVUaeF0U7U7UL9GYYEDqfJ0bi7+dXXUD/YvWSUuLFy7n77cnv24yLk5OK/ypACv3vyvcAtfrr0hRs9mjIrG2bq5W7gdbghz3o46Dadh+DIU9LNZutBL/wTNxnZ13vuop+KeXpg9MjqcnLHsNt+4s3k= 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 8552E68AA6; Mon, 26 Aug 2024 08:30:03 +0200 (CEST) Date: Mon, 26 Aug 2024 08:30:02 +0200 From: Christoph Hellwig To: Jason Wang Cc: Christoph Hellwig , "Michael S . Tsirkin" , iommu@lists.linux.dev, Marek Szyprowski , Robin Murphy , Sakari Ailus , Bingbu Cao , linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, sparclinux@vger.kernel.org, linux-media@vger.kernel.org, virtualization@lists.linux.dev, xen-devel@lists.xenproject.org Subject: Re: clearly mark DMA_OPS support as an architecture feasture Message-ID: <20240826063002.GA30266@lst.de> References: <20240824035817.1163502-1-hch@lst.de> Precedence: bulk X-Mailing-List: linux-alpha@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: User-Agent: Mutt/1.5.17 (2007-11-01) On Mon, Aug 26, 2024 at 02:27:27PM +0800, Jason Wang wrote: > Actually I meant, we can extend the virtio_config_ops to allow mapping > ops there, then simulator and VDUSE can hook the map ops there. >From a quick glance that feels like the right layer of abstraction, although the config part of the name feels wrong at that point.