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 0453B5FB95; Mon, 26 Aug 2024 06:30:14 +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=1724653817; cv=none; b=PQnd1wYUFPhAXgQJTYyZZlsUz/fETp+Sea7OIa4uht6p7ue+0c5/7bL4M3vVAmK4CDLr0MKUghqD8raR0UNttbzG1NGynCiBxPXryJEJhNtiJNuTQbZN2riYjMF63QTtkxHrPqj1/VxV7IMoG+wHQocMOdT5M4ObofWOD3BG560= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724653817; c=relaxed/simple; bh=I5vPQa5B0qSf1a0XhjsHqZRzzkETp0uhy9XwdCafnAA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pnrnyOJ7ny167qNRDTdt3gpyi7onxAFjYAcQCr8VH4F0Z6wCyFGOYmIpzU+KsBfgnRaaYo55XwOZk2fXzIsiVlZ+rx6pVWundQWyajrAdfXj7hQ5yq/Rl3HsAzFs26I+AglB7dvYdq0jDSQ6m2tcOSRKoc6sghh5H0Hoe616rpg= 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: virtualization@lists.linux.dev 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.