From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0626.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe44::626]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id D0FC2803DC for ; Mon, 20 Mar 2017 09:39:22 -0700 (PDT) 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=9+cLrO71uBLC3ssQMR62p1uArn5OFbLOQ9CJX6Atvuw=; b=M+qhti11n0WlK86IT1+FYCNd1t7pz277g7YMfnPjeRIgdJUx4Q05bG6/sorItCQhIFzO7wDiSD9X+jty1bg6uwf/ilqgh1WMBPnlTww2JjaA1BlMd4ZQLCVOGgIACtKCEq94xH8EXfu0d+6WuGD1f8tawrDSbeCrtGNZq7TTe50= Authentication-Results: ml01.01.org; dkim=none (message not signed) header.d=none;ml01.01.org; dmarc=none action=none header.from=amd.com; Received: from leduran-Precision-WorkStation-T5400.amd.com (165.204.77.1) by DM5PR12MB1243.namprd12.prod.outlook.com (10.168.237.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.977.11; Mon, 20 Mar 2017 16:39:21 +0000 From: Leo Duran To: CC: Leo Duran Date: Mon, 20 Mar 2017 11:39:09 -0500 Message-ID: <1490027950-8739-1-git-send-email-leo.duran@amd.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: CY4PR13CA0017.namprd13.prod.outlook.com (10.168.161.155) To DM5PR12MB1243.namprd12.prod.outlook.com (10.168.237.22) X-MS-Office365-Filtering-Correlation-Id: 8959be40-6042-499c-ac99-08d46fafa90e X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081); SRVR:DM5PR12MB1243; X-Microsoft-Exchange-Diagnostics: 1; DM5PR12MB1243; 3:HVaou4+vrSwdccjcdARir+dHHnQwYrhEbfAriBCzl47p9Cug8GIIRJDeEP+By5+f8pn+rdnzdIQY6PMZAiq6P6B0LUfBCuTe6PhSozcM1vXWNSpPQyopVkHYgOlKqyyjvgTi68zKrVczX+03W+h5nMpJ+J6n/ums/EQ/0Hja5HGhlNsf6LQaY+N0u4J692SL2aHasahrhmUcylfABXu19X65FnMEbbfSNCeM5QDZZCjOzUITs82XlHeBo6jRQsGEbrgKlwNWvnew8AMvtLXZYrnG5Mr8pRiDbL6LTNhIGyc=; 25:ZMycCH5FZpLmfJrT5DH2AimwMDerhmmyJFLuLigUQUbDloplkYd/Tllbwf4Iott3hOBKvldMhcyV07ZObwAxMwjzZ+SrFo4+2glI2q0N3mmO7Wcmzewr1q1JBn34KRqzyBcwyR9HJCXn1NhHBLNW7YHty7xhzy3S0MQ3p4s6oDL26lZ3GEK1Ja8k8R23/TUl6SRUyeK5ldhvArDFl0ULEIw1+8a6jK/hoebU5nIRdBUQYhvkjTeLsA2iOWve8SCVizETfV5Lka+omGUj/9wCJGZXaSEO46Muv0T8YYypOtanjHSC5MWTi9u2ab9PrJdiM/PJlkh0wh6NuR4a8EliVmw93mISufF+0hyGdj0sEOQ5syd0kCG6K2Mp7HFAGhFYPYYUeReE91udUCiltKNslgU3bKlVSdeQl+7Md3i4cBF80xlNIFXn2rW6h7c7kcxhKwOf5hXxTNF8h0E/QymhwA== X-Microsoft-Exchange-Diagnostics: 1; DM5PR12MB1243; 31:MiTp8pVGaEoMAvq1YV/b/DFyh2BCwlFJp6sMkc9vBxB6l67YcKV5ZjtgBbkUCU3yzrK8YuhksWmFfTlWcPUo5KHHwbOIdUylXbKtsqniX3LM2pdInTJ9QJ0AeZbx8MeE8+3CV3mP1MoJfsthyW7gHsBLtfrXaA3o9ydc398cYlq1fbNjjo3Q64qrzgZpsdEOKIgr8g98lnDN+2y1pil7KEqm12+pfGepLYRL9KmbpEk=; 20:kSIyLwjqXo8uMSH+1+Ux6zLTqjZFRHv1qz08Q8oO82z8qpodHRyVwDxSuB4bFq6hfbZGXaSzJ6FHnYjpu41ESXu+7GGuydk5MHR1ra3FZJDgrXoaGvyGVDgFCZ9hMSZQURaffQhOZvujJw/qPHfWFp4sUkKO+dJOeWS/pt1LjegK4cJPowkYENMLDwKW32tW2Z5bom5k986v9v68X/tGk8WHLGv54zspNUQj1hRvzp9XZSi87yie9C5oev/PP61qG+s1ZuFLD9hXJ7Z+qElHlEJHD6AfprNlRx9GH4CKKDD2cfW4ff94m9THFz0m4SHDoBX2c5WXuVAbNOxy5kQRIuMweI2b3e0t6M1+p5oNrxNp4/OxMsARU7xb9FLyWNYikNyxFA5SISNVVHS6fpxDb+eOHW1j2452HqovciBd884D33JlIrlNJlyacLhLhb3p7eDY/wiV0DtniwEwapSmXl4FTlpspCAFf6iPrsNHgRC7bcMq/0aH7rmT57JAYAtH X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6041248)(20161123558025)(20161123555025)(20161123560025)(20161123562025)(20161123564025)(6072148); SRVR:DM5PR12MB1243; BCL:0; PCL:0; RULEID:; SRVR:DM5PR12MB1243; X-Microsoft-Exchange-Diagnostics: 1; DM5PR12MB1243; 4:lYMV6HPuXgkHiDzx14toa6pVXfJMLpkMMA14lav/ms03abi8/KOY3CPTCHlFZrf9uML52Z0ePlNe2Ro85JxN068OSau0wFSZCavhfHhcG5RrGPayobyfY8r/4b0hqGL/zEtp0jOY47e0gd6uTa2t3hiqGcVMYItj/8COriSNKY8suQ2G9TXxsY4jT7kc8tS+WacxOqyIwGAtT+0ALgDLOtwxD6AXZ4V9Sa78CcELX9JInuxizX9zCePj9g4EMysQZ1Sa59RHmTnrvczgeipxSm7UNVhEvlytj0kb3vfwQ+wNQFFHzS9Dw1chHDj0cH2GV0V8yl4bAdw9VNwKyVnt5ymzCvBnWXvX2AxKCage6iDYAiVFPdzNW4KnHIFKFbU1xKGjPLcw8CNPqPUFj0I5odDW6OuM/UTw/tnIv+yN01wO3FYBqyHOXVhUOCFwWY41+A16YGQGepu/lAR0X5fSWXjIhrK7hH5pXPdST290Ez8qKd1DfZLTjnf0dXiiLDtaOHGLnkWO/oY+MqG6mTNLJCxyGC9tsOrYuxq+nGfUNbkU5vM3w/fXaCCMnEOeF2xwQsb2BnFeHCozOrXhW7GKoYrV5BRYWpv4VO2Eul+/u01SMaDGAuCl8Kj1WTm9Nt5v X-Forefront-PRVS: 02524402D6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6029001)(39840400002)(39850400002)(39410400002)(39860400002)(39450400003)(2906002)(7736002)(2351001)(33646002)(4326008)(6666003)(53416004)(42186005)(6916009)(53936002)(36756003)(5003940100001)(50986999)(110136004)(38730400002)(6486002)(25786008)(66066001)(8676002)(81166006)(48376002)(50466002)(3846002)(6116002)(5660300001)(47776003)(50226002)(305945005)(86362001)(189998001)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR12MB1243; H:leduran-Precision-WorkStation-T5400.amd.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR12MB1243; 23:OfrxLD+RGw/0YCiZMMbrJ2mfqGaTzEPeWBvBclN0n?= =?us-ascii?Q?o+Fm5RCsUGqdPeUprtzxFJ2KqbCIKZnUBjCYD0/VIXOhZAvOnOKZvD7B7TsZ?= =?us-ascii?Q?dzXUttsQ955G0w08H5osqmmM+SJMD0TwCSEFqem6NfbzamITcoWAYiQBjsIx?= =?us-ascii?Q?ZWs8TIBLAvdmAYZlEyRalwOlLP0h9fM3JAd5qTxrvMRnENhMKTNVfn0A6GFF?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i78KKj65zRCI49x7PgyByj6k/C4YwoDIjNwqCi2a+fIDUspbD9JsZYtqqPi6i8IEm+E6HoGnrD5pqRp/Wxfy/Dd7jedI1CFLv39NkSe4JGExeCk5GFJxD2B8RYwkLIGGn2aWcLlIVQ4NV8hDBByQ+eZT1QVl6u7mXcM1+n+jJeO2nbHND1NRuHG/r7sj8bkQ6s70B2dClbx+dcQ1sgWDr7j9xFeOeW1EGv/s2sw5T9oCIhbQlgtsulyDZgw X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Mar 2017 16:39:21.0502 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1243 Subject: [PATCH] MdePkg: BaseIoLibIntrinsic (IoLib class) library X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Mar 2017 16:39:23 -0000 Content-Type: text/plain This patch unrolls REP INSx/OUTSx on IoRead/WriteFifo#() routines when the SEV feature is enabled under a hypervisor environment. This patch follows the series "[PATCH v3 00/10] IoLib class library", which has already being pushed upstream. Brijesh Singh (1): MdePkg: BaseIoLibIntrinsic (IoLib class) library MdePkg/Library/BaseIoLibIntrinsic/Ia32/IoFifo.asm | 180 +++++++++++++++++++-- MdePkg/Library/BaseIoLibIntrinsic/Ia32/IoFifo.nasm | 180 +++++++++++++++++++-- MdePkg/Library/BaseIoLibIntrinsic/X64/IoFifo.asm | 179 ++++++++++++++++++-- MdePkg/Library/BaseIoLibIntrinsic/X64/IoFifo.nasm | 180 +++++++++++++++++++-- 4 files changed, 671 insertions(+), 48 deletions(-) -- 2.7.4