Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5F5F2C433FE for ; Tue, 1 Nov 2022 15:03:01 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.434776.687270 (Exim 4.92) (envelope-from ) id 1opsmr-0002MF-Mg; Tue, 01 Nov 2022 15:02:45 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 434776.687270; Tue, 01 Nov 2022 15:02:45 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1opsmr-0002M8-Jn; Tue, 01 Nov 2022 15:02:45 +0000 Received: by outflank-mailman (input) for mailman id 434776; Tue, 01 Nov 2022 15:02:44 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1opsmq-0002Lv-D7 for xen-devel@lists.xenproject.org; Tue, 01 Nov 2022 15:02:44 +0000 Received: from mailhost.m5p.com (mailhost.m5p.com [74.104.188.4]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 3b47f9e7-59f6-11ed-91b5-6bf2151ebd3b; Tue, 01 Nov 2022 16:02:42 +0100 (CET) Received: from m5p.com (mailhost.m5p.com [IPv6:2001:470:1f07:15ff:0:0:0:f7]) by mailhost.m5p.com (8.16.1/8.15.2) with ESMTPS id 2A1F1vhX015299 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 1 Nov 2022 11:02:03 -0400 (EDT) (envelope-from ehem@m5p.com) Received: (from ehem@localhost) by m5p.com (8.16.1/8.15.2/Submit) id 2A1F1v3f015298; Tue, 1 Nov 2022 08:01:57 -0700 (PDT) (envelope-from ehem) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 3b47f9e7-59f6-11ed-91b5-6bf2151ebd3b Date: Tue, 1 Nov 2022 08:01:57 -0700 From: Elliott Mitchell To: Bertrand Marquis Cc: Stefano Stabellini , Julien Grall , Rahul Singh , Xen developer discussion , Michal Orzel , Oleksandr Tyshchenko , Oleksandr Andrushchenko , Volodymyr Babchuk , Jan Beulich , Roger Pau =?iso-8859-1?Q?Monn=E9?= , Andrew Cooper , Juergen Gross Subject: Re: Proposal for virtual IOMMU binding b/w vIOMMU and passthrough devices Message-ID: References: <227AD28E-DFB8-4EB3-9E0E-61C70A0D19EB@arm.com> <34B31FA6-72D8-4F03-AC94-3DC795D0FF55@arm.com> <222ed837-594d-6301-edec-6f9d26e1fadf@xen.org> <82c45bc1-6052-502b-3007-8a16fbd1d433@xen.org> <9F323893-B1C9-4D31-9A40-213345421860@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9F323893-B1C9-4D31-9A40-213345421860@arm.com> On Mon, Oct 31, 2022 at 01:26:44PM +0000, Bertrand Marquis wrote: > > > On 30 Oct 2022, at 21:14, Stefano Stabellini wrote: > > > > Ideally this would be something quick that can be easily invoked as the > > first step of an external third-party build process. > > I think that we are making this problem a lot to complex and I am not sure > that all this complexity is required. Speaking of complexity. Is it just me or does a vIOMMU had an odd sort of similarity with a Grant Table? Both are about allowing foreign entities access to portions of the current domain's memory. Just in the case of a Grant Table the entity happens to be another domain, whereas for a vIOMMU it is a hardware device. Perhaps some functionality could be shared between the two? Perhaps this is something for the designer of the next version of IOMMU to think about? (or perhaps I'm off the deep end and bringing in a silly idea) -- (\___(\___(\______ --=> 8-) EHM <=-- ______/)___/)___/) \BS ( | ehem+sigmsg@m5p.com PGP 87145445 | ) / \_CS\ | _____ -O #include O- _____ | / _/ 8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445