From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0628.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe48::628]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 748F081C66 for ; Fri, 13 Jan 2017 14:14:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=UF6NBnXD5vfJNx71Lr/QXQQ3QTpm7q/TEaPQVolYOgY=; b=GChvDepP56ClGtFxWpP2IQRJkRHdvjPNX4qmwkUjIPmaDIprryrO07JbOUMoz/Ea93ZpsNnk0woR36Ucs9O6VzkpEjmXM9V+SXA+PCYHqPdMbGe/PkDhU8/0XxZQp4BuSfA+oegdsK4f3LZ7gujjadTC1HJ4zm1WlqSvKCwO3TI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=leo.duran@amd.com; Received: from leduran-Precision-WorkStation-T5400.amd.com (165.204.77.1) by MWHPR12MB1248.namprd12.prod.outlook.com (10.169.205.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Fri, 13 Jan 2017 22:14:34 +0000 From: Leo Duran To: CC: , , , , , , , , Leo Duran Date: Fri, 13 Jan 2017 16:14:12 -0600 Message-ID: <1484345656-3574-3-git-send-email-leo.duran@amd.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1484345656-3574-1-git-send-email-leo.duran@amd.com> References: <1484345656-3574-1-git-send-email-leo.duran@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: YQXPR01CA0019.CANPRD01.PROD.OUTLOOK.COM (10.165.102.157) To MWHPR12MB1248.namprd12.prod.outlook.com (10.169.205.8) X-MS-Office365-Filtering-Correlation-Id: 42f455bf-bb0a-47e0-e714-08d43c018f19 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:MWHPR12MB1248; X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1248; 3:pc5o4ofjvAuVw1TeXAmBXcUevGi54k29Z4fB6m1rMojRdySCd+pRkJzlD7B//DF77l5kPOx79rMc4savlfOcKcWOlUbsiNtKyEUfWpVnmasMHG3k48QaxMhtwsQq7KLiy1xOfQKKETDB2iS6ZgLqh40KWv+5WfDZvTJtYd5PJean+CZalufxYdIxfHGP4bk9Fjm3mw08WA+UAFTXRD5mPS9oFIcR/oBCqIRTl/dE9P82c2LMoVdI0lzRjxg7wqBgsTxc8wlxVeVJR0j1vPC5qg==; 25:RE7jfkwAPoTgYI3tsOsmMB2nGbpiuZ9n8WjhYfkqPkmtIJvfhXx8fayKCBHwOdaylMHJSpWxFLFnv1/pZJkq/6QKEdwlobEPXDQxqNjnC5QMl1weYw6euHBVICkfkHVWTUFPSM0tA05DzUgmnhEVIj3iAKctOYJ6f0bNcftVD93wZiXwmu1SNo754GcDMLymwhXVIYv2307GvMDDDqE8360BDlCkQd3q1op+NA0aQIbaZikGKnRz6r4DgG+JdjmmOvRJ0Q1ny1jvqtoPOhDky5ajEW5/SOJC7G0jTyYujfE8hDhIWFqdFg2hgjPdmjyq49q0iM+VpQVq8qG6LzMRK2NOXxBg0jGB5nB1qZBWeGxzvUQg4wkBlCS2x9woc7Umq+nZv6oCerab7+9HvAXINWZEejloDGBgDDjZThrj9kICrXZXM8EnrIb55S1UgqqmrONvFX1NF9SRWg82paDSVQ== X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1248; 31:B+6oLhVQqbpp7sd71eepyBgU+Gn6wXFrAIlZi3/G/2FQywxwNgy2dNr61rUxc8KtX72CijFc0PGjL7FTrE/YPBsKDOpaebl1kg3/2/MdXWuH9+Fch8UuU2sPX8pl8zMvLqrpjQ8fxt6EIGnN5J5YQDy3/W0JTf6/Dl8hCoASqerPflM1mK8U3L0f8NwNPG0TGlYjXwEGNbrjtdSd3682BOm9m9TZP1WFiENUR0s71NnMHO3pAPKic5S7jHs6gYeZ; 20:CCWjqmuVctiMeVGQMP9MlqBQCxnxixKcGRsEq1JPwmOjPom1yN7F89YX6kOeotJvXIraoe6L32GQsdorcvMbBNZnTZyz6W/GMsXO7ijeJNUK4AlAmUVfsZSWHF2aPeSafd8HU7xEbQgvKme3Vanhu8t+RcPAbac1YEW+2T0uAheeTeSL3q01n+RYvaEmznwnf8NzoCpB0Cawd6q0qn3Yk1DkeJbujMutk+jJEdKNnWIPgJQdup/OibYV74OXDgNhtoKqnGsI0YCZZ1K35nbyhOvReiR5qLTUAift83uIZH4/HH2a4KAcULglJOysWvKqw/XA9v0bActJiIB8hqhSgydffUrGc9diUJNE6Z+ldx3iRSM0nZ8IzC0MrfTnbn9lBWE8Mrn9CJutwfmRDNSZ0XAfdPjmdd8wy0WNIg9qUmERUlUPTjkftc+rl+cxs6AIiS0eIm1d+5hK6YUypIyoVkohsQVebL5RkRT2vrZNxTJL2H31Dcx647+SW9jMXZjL X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(20161123558021)(20161123555025)(20161123562025)(20161123564025)(6072148); SRVR:MWHPR12MB1248; BCL:0; PCL:0; RULEID:; SRVR:MWHPR12MB1248; X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1248; 4:Ij3/hDJ91qyGYMbf8jbiBUY9cDfZZ9AM6hS0h8iEMGu16WWsRP2KDNIWeXYv1goX7wm641CzCNw1A6hPsHDhPKvkLZ2l/TWMJ1Xm7efuRNJ82N4iM8uaU3UWLc5Zwpajb4hXzX9PYH4dmCCEC78l1dQ0TQbCzF2Cxm+YcCffPkTckSJ6gFO/9lGUeOauUqBENpPh3vGkVysfXa4rWka7tACRVXEf0MFNjCqNEenDjpGWobrwEuJhikJWX+ULsx2SjVZfaAK2rAWX5uWQc5emMyCbd1C04/eOGDOB0ftOO7kxLRByRMlgs+K0jAIo9Nq8dav9DjoRlnhlWtAjbHxTE+yfUt+zE29VvrFO45nGoACkyAO5XeX5TM3rfKVSy9ELmoWr8/8SliGAj15ufdBS3k4ldP6/VM8WCPjkaLXjD4P+DE0GK6VBviWAyxuX+iHVE8HB0IQ75lwXZXwlsdpKqIHQoO/fg6TFagucf32MI/5J2ISxVF92S+Q7Hw1UprS6PSe8L37PxVQ8Avli1km2QR3I30NuPMSnFhHaZVixvd+w0E8otFlcX9CLvu+aZqqXcKXGbmJTA0gnXNOTW82kEuY4DLWr1Y76xFIbZFzfYvVsfvxbjgVCnPW2zjTOCjkCDDB9v+caLoo2/FwNJnkDnJrvkyr3Vdm7XrabiURcUvo= X-Forefront-PRVS: 018632C080 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6029001)(6009001)(7916002)(39450400003)(39410400002)(39860400002)(39840400002)(39850400002)(199003)(189002)(5003940100001)(50466002)(48376002)(50986999)(76176999)(92566002)(25786008)(5660300001)(38730400001)(54906002)(6916009)(2950100002)(6486002)(110136003)(305945005)(7736002)(6666003)(81166006)(81156014)(36756003)(189998001)(68736007)(97736004)(86362001)(8676002)(53416004)(42186005)(33646002)(106356001)(101416001)(2351001)(47776003)(50226002)(6116002)(3846002)(2906002)(4326007)(105586002)(66066001)(27001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR12MB1248; H:leduran-Precision-WorkStation-T5400.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR12MB1248; 23:T6ggQwsY/NMuSpWLZWmudgLrlB91Qi7vZ/COcHnte?= =?us-ascii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7yTPcfFoJHtomfxfFt+Tkgi7OGzityvWeZYQ9dX+E+rZ0=; 24:Sm5z0yumz9HGJleKmZJ/GmCAQWrZu8f2cNbD2K/yN8ytWI6+fr1wWcCa3qnKeX2TcU2sVa2PMDs1vfjz00Veg1Gyce2Cdd3IDUlyCY4Pz0M= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1248; 7:UaNV2uvp6vcF1Be7l4LydrfDlP4x0TzFLCdmbXlhYDJKmJc9a04K2RqdsaYXgTwS5U3I9PrUglOS/W7iqKqJ0HSAhOXn5PwoVAgixLUOgdXZwDNqc6olo1C2cWAZ8KfuPDkHCLs+Dif6WSo6hzQkKD/3t9q3NTsZcwfapE8wVgHZR+dr7EoKxVQua/Q0K3ThCo2npPikKuriSw70vfLfQtdu8A4Qq6HR/KqeIxRQThSICLHDTmmEca0QfoHuNrm5NDLVoK3vuoICLms3i+xesICjcjmEQQO1P7lYrIk3p4VJPqXhmNr8fEkanhlkdDqq4Mh2wiOIE4rxEGX3e5HVplfBIKxK3Xh+5qLsSS4m7j4brTJ4Q0ci9igtRFIif6/+yTBilC44zdtvwhAc36Ku3PfFn1Ba+pJsRgQv6JeMhsokEtqypsBRAHEviKVSkr198h69ELlvP2qWS8dD24iaHg==; 20:OYoGXqT7O3LAsjZqiCDv2Hr6+aYE/5MXFgjpou1G+1MJXy/Jo/b3K5o0xrVTcjzKDQJ0sMWlBa/sr9Uni8uBySkDdV4t4hsCGU8Qji7SXZ3sCkjmEcYdKDxyGRAkYiZFG92ATdEdgEsM98qVgx+/RRzuIw8VvtQovv05tygXqjLWoOHSC0GQTqhZlZ5RMMsShzuhe6ZNVxkv4iumclOIMgYHjxoCXLwtgpnTH6SIuYWzHA9UkLGEjXowNb4PNmCD X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jan 2017 22:14:34.1070 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1248 Subject: [RFC v2 2/6] ArmVirtPkg: Resolve BmDmaLib class for PciHostBridgeDxe driver X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2017 22:14:37 -0000 Content-Type: text/plain This patch adds the new DxeBmDmaLib (BmDmaLib class) library, which provides an abstraction layer for DMA operations implemented by the PciHostBridgeDxe driver. Cc: Laszlo Ersek Cc: Ard Biesheuvel Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Leo Duran Reviewed-by: Laszlo Ersek --- ArmVirtPkg/ArmVirtQemu.dsc | 1 + ArmVirtPkg/ArmVirtQemuKernel.dsc | 1 + 2 files changed, 2 insertions(+) diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc index 0cae996..fb781ac 100644 --- a/ArmVirtPkg/ArmVirtQemu.dsc +++ b/ArmVirtPkg/ArmVirtQemu.dsc @@ -59,6 +59,7 @@ [LibraryClasses.common] TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf NorFlashPlatformLib|ArmVirtPkg/Library/NorFlashQemuLib/NorFlashQemuLib.inf + BmDmaLib|MdeModulePkg/Library/DxeBmDmaLib/DxeBmDmaLib.inf CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf diff --git a/ArmVirtPkg/ArmVirtQemuKernel.dsc b/ArmVirtPkg/ArmVirtQemuKernel.dsc index fe76c22..c03554d 100644 --- a/ArmVirtPkg/ArmVirtQemuKernel.dsc +++ b/ArmVirtPkg/ArmVirtQemuKernel.dsc @@ -58,6 +58,7 @@ [LibraryClasses.common] TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf NorFlashPlatformLib|ArmVirtPkg/Library/NorFlashQemuLib/NorFlashQemuLib.inf + BmDmaLib|MdeModulePkg/Library/DxeBmDmaLib/DxeBmDmaLib.inf CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf -- 1.9.1