From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (NAM12-DM6-obe.outbound.protection.outlook.com [40.107.243.62]) by mx.groups.io with SMTP id smtpd.web11.6317.1592917107873366583 for ; Tue, 23 Jun 2020 05:58:28 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=x7unkmeb; spf=none, err=SPF record not found (domain: amd.com, ip: 40.107.243.62, mailfrom: thomas.lendacky@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UsVnRlaFR8Gph9+X1KkZUmJWnyGC3xS7GMt1JNQcT+b9KrKQK/t4Ra/QLGYfyq45VSNVI664Ckfxz7HlZL+vkhoNUKmRp8nECkJuu50cPJtlb8YjhBbdty009A+TkTvH+e0ELVlICfndRkgeBDOU3MSoeeEabolu9yXZTMIbOYyKI6XpwCyD3AIijKaI39wmKVYIZxfl5NmParm8FDHtn3kqCKuVysyCJEnVqEcZB6YK6TQHn2ZsRgEk7Z40ZH/8KQRn4zmiTsotPWAFFWx5Nf1Q+XW0A2VJaLixpLHBJRCUElnNLSKtwa7mb6DufC5In8QLbsC5ShlUNdDEtk9MZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9t7+GW7w/reBNx5x+pJh1ipnW0rRW1QZoL1v2BvGxoE=; b=PloMKca6PSxYdg9g1ceUVrirqrhXU6JyaRAuGAzbu3oMDYQ6MfS9QunsIMNoExC5mkmArbnaYAup6qXR5N7kE0BpM2pvqKuUXiud3JBXR0yXgoLCcAun9iDA7ld5srNpwa2FQdwqKkGI8lUgcpMzvitA73aQNvPrd/Hx+Y+lgMoJzEiyb/RV/EnPBQmFZLXMYK9pCL4cytyBaRUCKNdZ1GEvnv0KztBuOLnn0NO4kAKo4/lWt44qkgOgBzCZK5E4/UXAt1jsJ8vh79mDPiQvTBTLzB22gNiOaJ7G0TTNnTEyzJ0YxrXc8hQ3RpaI7cw7Ahhiqt8d2KY2ARG+xefKXQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9t7+GW7w/reBNx5x+pJh1ipnW0rRW1QZoL1v2BvGxoE=; b=x7unkmebufpqwjrdiCA2+8TxNby072TsLOR7BtcCdt34L2d/KxxQKTEBANC8M+W3JPnuIFbwMtEFr6+RymThdswDm5Wqzt4gz78NV0O/3Cza+JFx+jVS/ayltUkqV9eQl2Viegn6U+HCgLtu233FfKYmNNE3MoiSoeMyQJTIP28= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=amd.com; Received: from DM5PR12MB1355.namprd12.prod.outlook.com (2603:10b6:3:6e::7) by DM6PR12MB3083.namprd12.prod.outlook.com (2603:10b6:5:11d::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.24; Tue, 23 Jun 2020 12:58:26 +0000 Received: from DM5PR12MB1355.namprd12.prod.outlook.com ([fe80::4ce1:9947:9681:c8b1]) by DM5PR12MB1355.namprd12.prod.outlook.com ([fe80::4ce1:9947:9681:c8b1%10]) with mapi id 15.20.3109.027; Tue, 23 Jun 2020 12:58:26 +0000 Subject: Re: [edk2-devel] [PATCH v9 08/46] UefiCpuPkg: Implement library support for VMGEXIT To: devel@edk2.groups.io, eric.dong@intel.com, "lersek@redhat.com" Cc: Brijesh Singh , Ard Biesheuvel , "Justen, Jordan L" , "Gao, Liming" , "Kinney, Michael D" , "Ni, Ray" References: <79f21141-07c6-d63f-7680-1ef08c53ecec@amd.com> <2d5f88ec-b3c4-8beb-dd60-68640f96b0da@amd.com> From: "Lendacky, Thomas" Message-ID: Date: Tue, 23 Jun 2020 07:58:24 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 In-Reply-To: X-ClientProxiedBy: DM5PR18CA0077.namprd18.prod.outlook.com (2603:10b6:3:3::15) To DM5PR12MB1355.namprd12.prod.outlook.com (2603:10b6:3:6e::7) Return-Path: thomas.lendacky@amd.com MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [10.236.30.118] (165.204.77.1) by DM5PR18CA0077.namprd18.prod.outlook.com (2603:10b6:3:3::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22 via Frontend Transport; Tue, 23 Jun 2020 12:58:25 +0000 X-Originating-IP: [165.204.77.1] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 73df00f7-4107-43fb-85a0-08d817751e54 X-MS-TrafficTypeDiagnostic: DM6PR12MB3083: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-Forefront-PRVS: 04433051BF X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: R3Pq//onYTQbowK+CSUPSBK330gnZJ8HvVgWs4keSfGcJSsw0Wk3YiJoyx4Z77BbTkny6XClyDsPGfQnREnMm2A9vdcYu3nKU6Mz/lzIErCSAb8XEDVgu1HPnu26FFpCatXmrOvqrpuA5JCELhP2474kAnC9JiSOxlb/usFvgVBonTOsKtd8xBQ4uSKT9tdN0TOz0SHWl8omNAlIPJ1lyxMtucvmQ5LYn2yAuEM7BiIkt3mODTuM5eaaWPNeojU9MqqWI+/j5wd6/EScv0y68jpE9d94ESt8CI7G2BW0RHrEIcVA8mTHOTkcVKfTZyxTUG/Om2n359Asaq7YKWBRrXzQO8sWki1L06DgJoq8egcq8s9yWfjefT3z6cSeM4teq5Y07dwsit5Zs95nF9o3y4FAThFct8nMI4hvSG2zqtiYR564KnedUNfALS0uZnGYlLDjNruTTNd//F/VkciGiw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM5PR12MB1355.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(366004)(376002)(396003)(136003)(346002)(39860400002)(52116002)(54906003)(8936002)(26005)(83380400001)(2906002)(4326008)(186003)(16526019)(36756003)(8676002)(86362001)(478600001)(956004)(2616005)(5660300002)(45080400002)(6486002)(316002)(53546011)(31696002)(66476007)(6916009)(66556008)(966005)(31686004)(16576012)(66946007)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: oYJvQSyj0IbCSAD/JQOtNdaQ7TvMk/5i+Y7Noul2Hgx+r/pRiVMf2QUj13DOnR3gYnkOQ5uJeKqtKFoivBKWOf229qsSEjFRyFrYiwGTT8UAeDsrfOp4WlKrQUG46IeajSlb5YPDfYcHB/4obkwwY5jlO7LZCLmLhcDVuURzagXPfRVJ5kn0ypioovLwcN/FzzyqriY9lB8B4MOAS+IilhZuDv8/PpE6J20cExNvg+Av8mVPBR/Vg5BRiPY181AmYsbQfJjZdAgFkSepbdQ4mkvOunplqXJE07lISVGT440BaJ9b2LtXKlFCMEgoJXWMT0cgamF3TOgwclEDMSTGcqsQ4Gq0j5ptc/oyhKOIOHMSkCfu0yGX00Rop6fDsRRs+oe8qGlK+B4DfNChCuTzgXh4Nigjl76NxOYUHPsMl2ZiKnKnUw2cHV5DX2geP3/WmDvafo5sqSTdV/wIg1HTnfw/PYwYADA4FEfM+RLuSk8= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 73df00f7-4107-43fb-85a0-08d817751e54 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jun 2020 12:58:26.4041 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: gK4PAvW/R+PJTTh0+Cfh8IRM5m3KxfF//IA9Xj7W/ilTjVj2JB1ii9hyMY8DWSLhHnn2obIlOmrMBCtXuoLTkA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3083 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit On 6/22/20 8:16 PM, Dong, Eric via groups.io wrote: > > >> -----Original Message----- >> From: devel@edk2.groups.io On Behalf Of Laszlo >> Ersek >> Sent: Friday, June 19, 2020 11:39 PM >> To: Tom Lendacky ; devel@edk2.groups.io; >> Dong, Eric >> Cc: Brijesh Singh ; Ard Biesheuvel >> ; Justen, Jordan L ; >> Gao, Liming ; Kinney, Michael D >> ; Ni, Ray >> Subject: Re: [edk2-devel] [PATCH v9 08/46] UefiCpuPkg: Implement library >> support for VMGEXIT >> >> On 06/19/20 15:50, Tom Lendacky wrote: >>> On 6/19/20 2:47 AM, Dong, Eric via groups.io wrote: >>>> >>>> >>>>> -----Original Message----- >>>>> From: devel@edk2.groups.io On Behalf Of >>>>> Lendacky, Thomas >>>>> Sent: Thursday, June 18, 2020 10:09 PM >>>>> To: Dong, Eric ; devel@edk2.groups.io >>>>> Cc: Brijesh Singh ; Ard Biesheuvel >>>>> ; Justen, Jordan L >> ; >>>>> Laszlo Ersek ; Gao, Liming ; >>>>> Kinney, Michael D ; Ni, Ray >>>>> >>>>> Subject: Re: [edk2-devel] [PATCH v9 08/46] UefiCpuPkg: Implement >> library >>>>> support for VMGEXIT >>>>> >>>>> On 6/18/20 2:23 AM, Dong, Eric wrote: >>>>>> Hi Tom, >>>>>> >>>>>> When use VS2015 to build this code, it reports below error. Please >>>>>> help to >>>>> fix it. >>>>>> >>>>>> k:\edk2\UefiCpuPkg\Include\Library/VmgExitLib.h: error C2220: >> warning >>>>>> treated as error - no 'object' file generated >>>>>> k:\edk2\UefiCpuPkg\Include\Library/VmgExitLib.h: warning C4335: >> Mac >>>>>> file format detected: please convert the source file to either DOS or >>>>>> UNIX format >>>>> >>>>> That is strange... I didn't see this when I ran through the CI. When >>>>> I do a file >>>>> command against the file it reports: >>>>> >>>>> UefiCpuPkg/Include/Library/VmgExitLib.h: C source, ASCII text, with >> CRLF >>>>> line terminators >>>>> >>>>> I'll investigate this and try and figure out what's going on, but if >>>>> anyone else >>>>> has some ideas, please let me know. >>>> >>>> Hi Tom, >>>> >>>> I met this error again when I trig below patch from AMD again for CPU >>>> change. >>>> "UefiCpuPkg: Move StandardSignatureIsAuthenticAMD to >> BaseUefiCpuLib" >>> >>> Hmmm... I think we could be running into issues with sending patches >>> through our mail servers. Let me send you the patch series directly >>> using some changes I made to my git config file to see if that helps. >>> Would that be ok? >> >> both sender and recipient git clones should have >> >> [core] >> whitespace = cr-at-eol >> >> and the recipient clone should have >> >> [am] >> keepcr = true >> >> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftianocore%2Ftianocore.github.io%2Fwiki%2FLaszlo%27s-unkempt-git-&data=02%7C01%7Cthomas.lendacky%40amd.com%7Cd461956236264e4a6d3a08d81713205d%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637284718210751789&sdata=ftFiRZkC3n2n2MZyL6t9HKnp1fYgzUQV4FRBvVNQ4%2FA%3D&reserved=0 >> guide-for-edk2-contributors-and-maintainers#contrib-05 >> >> These are also set by "BaseTools/Scripts/SetupGit.py". >> > > Hi Tom, > > I see below context in another mail thread and base on the latest status, this solution works and that patch has fixed the issue. Can you follow below suggest fixing your issue? > > Hi Garrett, > > I encounter below error when build > UefiCpuPkg\Library\BaseUefiCpuLib\BaseUefiCpuLib.c: warning C4335: Mac file format detected: please convert the source file to either DOS or UNIX format' > > I encounter the issue ever, it result by mail encoding. > To resolve this issue, you can run [BaseTools\ Scripts\SetupGit.py] first, and then send the patch again. > > Could you try it and send the patch again? Hi Eric, I already had those settings in my git config file, so I'm thinking it was still something else. I sent you a direct set of patches with some other setting tweaks. Let me know how those work out for you. Thanks, Tom > > Thanks, > Eric > >> Thanks >> Laszlo >> >> >> > > >