From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web08.34565.1661498550477439604 for ; Fri, 26 Aug 2022 00:22:30 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=LxJi/KA0; spf=pass (domain: intel.com, ip: 134.134.136.65, mailfrom: ray.ni@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661498550; x=1693034550; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ga73eVBpeaBW1geSRkePaZd3oJF9OgO0MuooQ8ul3g0=; b=LxJi/KA0Dnk4JB6DZ1aY/DZScH2iDBQnnSXiyho+pJEHdgnr1Q1hkjSs n26Fizb5ztglCWXnPH/JIKcYm5gVZRx6wdcgprkBeT/L2Q4AMjblbDEKW sFGHxZM2BcDVM6nvP5SdjI2VRwDFz5RefziAJAZEL7fW5tY+wrwenylQk sWC3gR8rIqi2uTAc8L8WxU0u2duecnG6NWQScDn8aOoW5RxsysMS7SBiZ bfXpP9THJ8FaJysRxS/JNnlT2VFupwBXW69XkJL6P0GSydKSHDZjsVAfQ XFPr4nNTPo4mm3IE34yimcP7dz9WAYCPwfWuBeJAdsoPoMn+adm6ok2qx Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10450"; a="295718584" X-IronPort-AV: E=Sophos;i="5.93,264,1654585200"; d="scan'208";a="295718584" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Aug 2022 00:22:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,264,1654585200"; d="scan'208";a="587205385" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga006.jf.intel.com with ESMTP; 26 Aug 2022 00:22:21 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 26 Aug 2022 00:22:21 -0700 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 26 Aug 2022 00:22:21 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Fri, 26 Aug 2022 00:22:21 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.105) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Fri, 26 Aug 2022 00:21:47 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Kvc5vQB/6hLTcnflQVeUxKI+FkdL3mhbo1yNA6b6Wd7LetmjmC+Ba+V76N0+v901vm/Sq3GzKnfQatqACqXYF3Nib4KiXdzRabriR6ZPZT6yvKrlBeKzn9Ch5x2iwWJnIVEPTU7V3XIme8jIUHtxJw5nM2LxqtYykkOn0kNLjKikSARDuiNxqr80N/p7Ax7fCvw+B7ZwPaHROgBVgR1hz3+vQ8nvB7TpqhU6SuZdRULjMTJLmvGj9l02GLTb6HVI02o3f2KGGfPDHDS5uAqPJdy3o4ZSfQk9ZnOHZRPDaPkCLctWb8Eib0JacC5AHZWlSNcQYwN7Yx2JFu1t4nUFNw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=MIOP9GJV9D7MT/2ncr4ITEc9FgabZ4twU0Olr3x5lyo=; b=ftl1lKVAtnjfQats+2+sNdzrnSwY76qkTFFlH4fcE+6MGpCSxJ1SPyQd09T1SNlt7PdsC+yKjpzw6Gk922wVdOdErJJ95DIuA1N1neDM7gQHJkUd9PlbzlypONQ6RjB2tKfqvXkf/z/crtswgR0zONWdhDVIpLnF468eQosXOBXpdA8YlnRB6wbimMz+xwqQt8tD7fI/k6eOeTC59biL6iqmyo8iRQh7QRDrYfJhOQYVj0sn0MmFplIIWy58P/AYjZWnzz43j3rlImzTbw5xP2v7+eS0d63AJNAxpQ3HHG6+XcA8Pk+wbgLDzkyxYcZVH8R9yenGHJSjZJ2dcxPy+w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MWHPR11MB1631.namprd11.prod.outlook.com (2603:10b6:301:10::10) by BN8PR11MB3666.namprd11.prod.outlook.com (2603:10b6:408:8c::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.15; Fri, 26 Aug 2022 07:21:34 +0000 Received: from MWHPR11MB1631.namprd11.prod.outlook.com ([fe80::958b:cc9d:ac3:288a]) by MWHPR11MB1631.namprd11.prod.outlook.com ([fe80::958b:cc9d:ac3:288a%10]) with mapi id 15.20.5566.015; Fri, 26 Aug 2022 07:21:34 +0000 From: "Ni, Ray" To: "Liu, Zhiguang" , "devel@edk2.groups.io" CC: "Dong, Eric" , "Kumar, Rahul R" Subject: Re: [PATCH v2] UefiCpuPkg: Enhance logic in InitializeMpExceptionStackSwitchHandlers Thread-Topic: [PATCH v2] UefiCpuPkg: Enhance logic in InitializeMpExceptionStackSwitchHandlers Thread-Index: AQHYuRoqf07x04EeLEu9uxUL3LurMq3AxhzA Date: Fri, 26 Aug 2022 07:21:34 +0000 Message-ID: References: <20220826070447.2508-1-zhiguang.liu@intel.com> In-Reply-To: <20220826070447.2508-1-zhiguang.liu@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 233effb8-2203-4820-697d-08da87339b16 x-ms-traffictypediagnostic: BN8PR11MB3666:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: LoGRMq+LpSHx6dlEXLFV3XEsE96/tfZDFJ/90EJRwZeJ2VhLQy14olp36uAcAMLQJcL1E1iRzSoyxKRZJMukNQQBwtZmpafEeMbFuHKxSHmtrmFN7mg8DxlqIj65HvMo44XpXg9H5sGJWkZqSRBl4wH64YAea9gN1wS0iNu7+AtoF7SdJ4YcQUdFV/2dZ/+szFbopqnl1bbIo2PxbEhSuJhD8+Nzn3HEbTdwXfjL6nVlkXlCJZp+SdISEyNndJofpyhoXIKU1GikhhYENtkhf8G5kEGX6xH1BWr8RlzEVUWYsDK2X/Yn0LhEAHQg+ZEtDGI+slTjUmLTw4LPUo54PO+cgxbcPUgRPaqecz4Nr21FgtRPUlbsIrxlU8crpZWBYkPceK1kQHjAg5bA/FnM7LBwfCxwH9gXk37xrIHSmcjH7GEpfWmlbkEPfGp0nGc1vThEu0KzYjhUFO4HD78dELQyM/7BnQwGGecvICLKbM3+PubDbs9TkQUtPRaKqohb85zhUb5Ty1aJK4MkSEDrRmXRH+/ij/7EJO+rAvTXs4xdtBc/Ko1m/sXuOkCPvdrju5Ij1L+6LYdoxGGjQAB+K2q5kOMfHNUc3wvQXZWknoftNzT1l6+t9/5Bt90lDWOhRUcYy3tFtfWlBxp3XzSgNTQwm9KtcK8peZJCn1aCCQJz0yk1YNB+4SVe26agb+anqnmcUYsXyS1M1ofc5x/4Cek6zYQcY6g86dXWd29SF0cIkiF1ySDqBHTgLCT/SQLgdMC2OKZe6O01ZDnwLn9RGA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR11MB1631.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(6029001)(376002)(366004)(396003)(136003)(39860400002)(346002)(38070700005)(478600001)(110136005)(82960400001)(4326008)(71200400001)(8676002)(86362001)(66946007)(66476007)(64756008)(316002)(76116006)(54906003)(186003)(66446008)(66556008)(9686003)(41300700001)(122000001)(26005)(107886003)(7696005)(6506007)(2906002)(33656002)(55016003)(38100700002)(52536014)(558084003)(8936002)(5660300002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?6e2yEHlwfivUO1cROTxQfij6Mh9tf/5ETXRWJbIOMXlD32wya6wVtKNLryA7?= =?us-ascii?Q?fcrSv7IZx8sYpSJb3+Zpwg/U+9OZ7YfZTEAETrZIKxGxp/cw1d5va9TKX2n7?= =?us-ascii?Q?L3L5/fUdfXoOrfl6I60FNz1Y0Rx43xKRuKzuANQRWMDE0GLvk1dVXLqrN3Il?= =?us-ascii?Q?Cg6vUxd1EQPRU640vRIVGxjskj6AsB94lDx0Ke6uu+trXMS/aiHfu/FX8iEh?= =?us-ascii?Q?SEsclQaQDcaSRbc7s1/VgPht/LoacS+5cD1112kf09z9rWFLnlrB2baZhrNV?= =?us-ascii?Q?MNNBVsJaVvx0e2IiYkKhqQx+SB0oGcKw8XRiNKxP6RIgG0j+dIVcNgUCKN4m?= =?us-ascii?Q?LWfV4+0OhaRNJsKCvCUHSNE3wd3+yXLAQmYU5UxxEJm/xbqFU+H7TdJdY0/A?= =?us-ascii?Q?H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P0Yw9EX?= =?us-ascii?Q?/RIOyg+uuK1UlNNNXpF4/CUd/KhgHTb2XbHcMgAk6+LMqpXNqN8GMVGjHX6v?= =?us-ascii?Q?X+AY4IXSiQ++SOUp8lHEDjO0ugh6vw/jh8lkAJ2Rgrrj3jTuORTDgTjO56A4?= =?us-ascii?Q?ys70/bZj3yc8fbeCWg9qAp2zOsQvsq6HMpO5mmHrZzWinWedGXzOIxDmXP0i?= =?us-ascii?Q?8TGRjqa+D7O3YmxiBbamzNW/fVTVHMbJgtaIjk8MNm/fSK1jaAPEtqLTYl7M?= =?us-ascii?Q?x6MArfQCyLBg8cSRnMf7slLoJy7WAJ/PR4exxi4c?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1631.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 233effb8-2203-4820-697d-08da87339b16 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Aug 2022 07:21:34.0740 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: yz8z4oeIz73h0G01Cbt5cot2kD8xLdKPWIrukgi1BT8nnvkZ/GA0VNb3+qFjzJNtdVANpwOKUFXvC4RYNiMz6w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR11MB3666 Return-Path: ray.ni@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable > + SwitchStackData =3D AllocateZeroPool (NumberOfProcessors * sizeof > (EXCEPTION_STACK_SWITCH_CONTEXT)); Please use AllocatePage()