From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by mx.groups.io with SMTP id smtpd.web12.9628.1574764098008523944 for ; Tue, 26 Nov 2019 02:28:18 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@akeo-ie.20150623.gappssmtp.com header.s=20150623 header.b=agYj3u1J; spf=none, err=permanent DNS error (domain: akeo.ie, ip: 209.85.128.66, mailfrom: pete@akeo.ie) Received: by mail-wm1-f66.google.com with SMTP id f129so2654549wmf.2 for ; Tue, 26 Nov 2019 02:28:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akeo-ie.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=LLNYorh9mj2Psl03R+CEA+cwjN4P8RZMZ11fDB7m4qQ=; b=agYj3u1Jxkt0uxaXjAymqFX4AvmHenn3aLNBJ+rYDC7YsJtwBH8Sis6HbFHePeDCuy U2WoMBvDA9KXCgIBDnc3/UAfyeXnw6pPgnKRcQbaStthZdqh1xzfCn5osXcRRLkIZWiC G+eMbymaOCWvm5QL20qxuDU2/kysUerqCeNXodcuVzRP9KxBKSjRbesLlEjoAbbK6yQ1 N3sevU3H7+UId2TJqc0vxM7/Xt1MfZKPMbxN/sjnxc8hTKUVXntO8Mwz14gmMbxFiehH ULM1qTsNXFIwUbQ9B4JPBZzy688zRMTjzzyQi3HB2hAChfkWX6ng6UFA6kh/8mtlXXdS VEnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=LLNYorh9mj2Psl03R+CEA+cwjN4P8RZMZ11fDB7m4qQ=; b=EeS5s/hxu9YGjqGDurETFSJiRh3sa5z0XZKItldCSpKMABtQ9tGu0Oa9M/BbVZQZq3 fbgSKXBuYNd2LL0JY5Sk50S7UxT/+WxQ4PHcfIvw786Mw2pTFZu9MMYh8I4A4HJl+S47 kBYvyaiWQwunU/IBji6/DIgQePXEqDTPqp2/IinqtXFLjvhQDsyNdOc6BQEEBv35NdXk O8TN+IR3AzHkdfhTzE+O99kt7nLGiKvSjVlR1ExRoNYh7sfHtJb7k578xZbQvupbmWx5 UXTXrsvg7Rp8K79Uvb/ay4/ZaRboxibZgji56BbzTSGoHYtIsiY98/B8txABi8r4ZL1u C5gg== X-Gm-Message-State: APjAAAUxrZFUKHwjX68hq98kzsH75vwCt+umRs65S2R0o5VRmnf1PaQh KOkydBxQ8fTOboXdPdE8Cb3oIA== X-Google-Smtp-Source: APXvYqw+KSaS/OL5fweBMiO0kDUE4c4kOOMP0kbruyT7b3P1FomrpHZwcEy4WRVHmu3IAZar3rPssQ== X-Received: by 2002:a05:600c:2244:: with SMTP id a4mr3347439wmm.110.1574764096564; Tue, 26 Nov 2019 02:28:16 -0800 (PST) Return-Path: Received: from [10.0.0.122] ([84.203.37.1]) by smtp.googlemail.com with ESMTPSA id u69sm2725747wmu.39.2019.11.26.02.28.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Nov 2019 02:28:15 -0800 (PST) Subject: Re: [edk2-devel] [PATCH v2 2/2] EmbeddedPkg: implement EDK2 IoMmu protocol wrapping DmaLib To: devel@edk2.groups.io, philmd@redhat.com, ard.biesheuvel@linaro.org Cc: leif.lindholm@linaro.org References: <20191125231242.12193-1-ard.biesheuvel@linaro.org> <20191125231242.12193-3-ard.biesheuvel@linaro.org> <3a48b4e8-7c13-6e92-8834-5d01ad246071@redhat.com> From: "Pete Batard" Message-ID: Date: Tue, 26 Nov 2019 10:28:14 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <3a48b4e8-7c13-6e92-8834-5d01ad246071@redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit On 2019.11.26 08:19, Philippe Mathieu-Daudé wrote: > On 11/26/19 12:12 AM, Ard Biesheuvel via Groups.Io wrote: >> Implement a version of the EDK2 IoMmu protocol that is a simple wrapper >> around DmaLib. This is intended to be used to wrap NonCoherentDmaLib so >> that the generic PCI infrastructure can be used to implement support for >> non cache-coherent DMA. >> >> Signed-off-by: Ard Biesheuvel >> Reviewed-by: Leif Lindholm >> --- >>   EmbeddedPkg/Drivers/NonCoherentIoMmuDxe/NonCoherentIoMmuDxe.c   | >> 257 ++++++++++++++++++++ >>   EmbeddedPkg/Drivers/NonCoherentIoMmuDxe/NonCoherentIoMmuDxe.inf | >> 43 ++++ >>   EmbeddedPkg/EmbeddedPkg.dsc                                     |   5 + >>   3 files changed, 305 insertions(+) > > Reviewed-by: Philippe Mathieu-Daude Tested-by: Pete Batard