From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web10.73219.1679579570607382004 for ; Thu, 23 Mar 2023 06:52:50 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=joqz0h4b; spf=pass (domain: intel.com, ip: 134.134.136.31, 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=1679579570; x=1711115570; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=pqDIpH6vE8b2jqxNSa/1uhMDtiYVMAf69bUo1Jy2X8E=; b=joqz0h4b60vVc+pTnFDJxVbEwpUsR4IFY3fY50MhnHdzFP6krWHJK5XX dgfQZmCI2ZNm+UR9j2UCACKSRpR17R3+IPutV/3ob0TbopGs5eHdHVGx9 hJSvj1k22OekDZK/JTfWTjCn4zIaBZ+AXbMgQ8tME0ZbcsTFXwAnFLj9S 8R0QTJ0zHljhTZ0QCgSsjqmt00+zBsp7TQY20/pxp0jCqqbfDOEZdL1k8 c8XcaOHS6y7hnsJZCr22+ZsAKO4XFBb7Xd8X+TDYa1242tkozSHLWKyrx 5vYyY7FlHhhJ0yBKdWjOS7w6f51wFq+Nx1v+f1D03/Th+YVmf3Vl/oqoI Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10657"; a="402070514" X-IronPort-AV: E=Sophos;i="5.98,285,1673942400"; d="scan'208";a="402070514" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2023 06:40:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10657"; a="825824982" X-IronPort-AV: E=Sophos;i="5.98,285,1673942400"; d="scan'208";a="825824982" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga001.fm.intel.com with ESMTP; 23 Mar 2023 06:40:43 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 23 Mar 2023 06:40:43 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Thu, 23 Mar 2023 06:40:43 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.45) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.21; Thu, 23 Mar 2023 06:40:43 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fGey2uuJDzQsPxdL1gUbxaF2+UALcs9fGf421F/an7X+hknXGEGa0Ul3Wse3q0eqOST9svNyLOIZS+UdzEmMHmdhy/KZ/7fXAVwWWk8stFWDp6n1R1Cc6kFdD4OGY9wG0U2oDCbx2eIZ/2OnoPNOZWQb0TIXdnXj7BcbHTg6hotV5ydB6I4Pidte0Dg5LnCArk0WdG/blmqEuJTtMXn3RnNpnqiZY/aoHiyLX4TLhEyE6mo5pfwxgJl2SQfQt4SaxXB7LQTzZftddU/Lj/457Xh5qeWQ1eLR0tapO1gpekb6bNblq1wDoeXbVf1AU/b/PwBWrx9k/1WQ/I46o0YBgw== 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=NNQgePRAA5Q8MdiXW83lhJivN9nT/7ZIjNMCU8pD84E=; b=GuzMNRAcqULa7mU9Y32UHGOhxh2Yxo+jxNJtLpSAgLtyLBxQYCRg/b4FRkkCrJu8ums5hGLpvfLmzVf0qqhY5vHykeCavM8Bz+o0nHULm7+exno1SHbSJvsOX2OSzwF2HCXXU+gWNQt6sZ6QtePIWckBrg0V7chqjI/m3YB9eI0BxM9+kjeOkv97LKY/PRfyP/naT2WBMhX4j7odUwWbYo5U3zMSf+MFNgIIzorF+iISSw92aLL2XhcYo9wIevgLEDrZX71yZSgfDGqg6OF6Bs2b8kxiZjEJQLvBpbmeAfiW4ZJmvkvck/Yztujxi/B4cg3Mcoe1a8kLO7TZy7ydCg== 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 MN6PR11MB8244.namprd11.prod.outlook.com (2603:10b6:208:470::14) by SA1PR11MB8328.namprd11.prod.outlook.com (2603:10b6:806:376::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.38; Thu, 23 Mar 2023 13:40:41 +0000 Received: from MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::ae07:e96a:4a24:8a69]) by MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::ae07:e96a:4a24:8a69%7]) with mapi id 15.20.6178.037; Thu, 23 Mar 2023 13:40:41 +0000 From: "Ni, Ray" To: "Tan, Dun" , "devel@edk2.groups.io" CC: "Dong, Eric" , "Kumar, Rahul R" , Gerd Hoffmann Subject: Re: [Patch V4 21/21] UefiCpuPkg/CpuPageTableLib: Reduce the number of random tests Thread-Topic: [Patch V4 21/21] UefiCpuPkg/CpuPageTableLib: Reduce the number of random tests Thread-Index: AQHZXVr7hinwwGRDqk2RNYfyddF9s68IX13w Date: Thu, 23 Mar 2023 13:40:41 +0000 Message-ID: References: <20230323074057.549-1-dun.tan@intel.com> <20230323074057.549-22-dun.tan@intel.com> In-Reply-To: <20230323074057.549-22-dun.tan@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-traffictypediagnostic: MN6PR11MB8244:EE_|SA1PR11MB8328:EE_ x-ms-office365-filtering-correlation-id: 485aa7b1-0a64-48b2-ee36-08db2ba431d6 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6Fev/8+sY+t+pxKdxVZPcoF8ykfdtfObPCgyvkD4f27pUsdd8ss/EJY57BPRvfEJk7et6yGnzqi00Nhy/LcstCfLbkRI6HVF5cFhSTBo0IQXoZP8xHb853nk8TlwYOXyTS3hIxBuP4ewUtk1S1oAmoqCTW8lcDeLE8EB1QgkKpwr+r8DLeEwpKam9LbVWtunElhJFu8IcaQb9ewXxkdLjpjhgkFJww91r6n3UGgSza+Gb0IDQZAS7W55PZ9fSiToTeBImeEBGtQwSfDuY2t+WmqIur8gnemdCbNeQaJOd6IxHLEktLOQaqM1ALmCSa81of4oUjrw4g24rLyRLPTQmcmaNMnnJNKYRc7v26oQ/q3Z8pUxKBRN+CzkqjJ/Jk1yiqiCy1vr6iI/CDCa/jgXThR+YDC2yCMJgY/JJ14fJrmqatTEq0ZRMJIPtOYZs8wO1g0sYa81j3FVFsF7k/h/j3b7RJWheTdSGbBYe0i5AI0Aegy7OL0Yzyeryk/RIVdzJFEVHQRRcxyOFmf9fMGwsx2wauB+czvEj7v+953JtkPJD6b5dgUjGeWneHDyjTEmUsQ/ArAohr6kuNK7t5qMOBOOqFDsQB9HHVifSds8LOdl6jD0XU/WSG/hdq/2o1fT9g0T04kcTcu4xYusx1IpPp6cavdBe66HgTTgrV6VPqhho2A3oe1B46rbB2S1tbZ3OH7PKJrXH9jcHGYomqDt/g== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN6PR11MB8244.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(376002)(366004)(39860400002)(396003)(136003)(346002)(451199018)(53546011)(6506007)(33656002)(38070700005)(82960400001)(83380400001)(55016003)(38100700002)(9686003)(186003)(26005)(122000001)(8936002)(54906003)(41300700001)(52536014)(5660300002)(478600001)(86362001)(110136005)(8676002)(66476007)(66446008)(64756008)(4326008)(66556008)(66946007)(76116006)(19627235002)(316002)(7696005)(2906002)(71200400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Ts1PGcuK4jz+pi25tR6mHofscxipKauxr1Hg6x+oGWp/wQ9WL4ZZRsd1bMJL?= =?us-ascii?Q?RCUfNO1KfpChcr+tmiVtuETsAtNdgI8KtjXORVJ9WXhdJW2BBbWCojFxwv6a?= =?us-ascii?Q?Qy/IVLmMvn28RCU18ds+SN8JQbhUNFFB3axHKiiqfg17888lvVsgq5mejX9Q?= =?us-ascii?Q?/508WBanmBTsnxlf7u6U+2In5+hKphHU4fcCNb0pZWgTRFWQlPpZ/6xLriZE?= =?us-ascii?Q?N7fWXBcEpFEpuS3ghshBocgaBBfDAZkrZVi8ZcwhqJzt/Sg4s76trDZNG9hb?= =?us-ascii?Q?n1gYUBXDn7F9gfpT+Whnnmb8p74oRyhtmUE5G7AvmMWo9U9XY/Qhydhf6E2q?= =?us-ascii?Q?SElgPMOAtiya1Qj7RX0nWTCNAozbn6bibUAK5E1FRh0qRixrN2L/s7m0lxoF?= =?us-ascii?Q?IhW4wsoCaYGrHPA1a3fYTCG8W9FV5sjn8Plv10tN41xJwmFtl2jFkwnZVJ6g?= =?us-ascii?Q?djXACtej9Ckt7/FRJzWGi7jbPly6mYZ7mpW423Fd9c4/hW9ehrcqq283tCJ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G1Kd/yon3K3Gq+nUJHiv1o8Q4B4hhxUe?= =?us-ascii?Q?F2JbN8m5s1VcoMxc+4PoIuFxmjbgjqlWxGCFXLxEaLS5NSfJsWxkOt14jzxJ?= =?us-ascii?Q?0Xux3k2+uotvgP3Eg3rOwKgOSCU4uBLguLxIo7FGR09Dndav9F8KaJj3s9Qa?= =?us-ascii?Q?o+OuhgYe1e/6HQzRJW1LungtkHHgQ+T6tcmvUIJE?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN6PR11MB8244.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 485aa7b1-0a64-48b2-ee36-08db2ba431d6 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Mar 2023 13:40:41.3701 (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: 4KhvO3srGH9uvkyrN0emvRLeAWbJh08wXc8IHuJr83vBaIMEoxv6PHLJJNIIkvwHR85oDc5P87pzxa0c1zD2Zw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB8328 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 Reviewed-by: Ray Ni > -----Original Message----- > From: Tan, Dun > Sent: Thursday, March 23, 2023 3:41 PM > To: devel@edk2.groups.io > Cc: Dong, Eric ; Ni, Ray ; Kumar, > Rahul R ; Gerd Hoffmann > Subject: [Patch V4 21/21] UefiCpuPkg/CpuPageTableLib: Reduce the number > of random tests >=20 > Reduce the number of random tests. In previous patch, non-1:1 > mapping is enbaled and it may need more than an hour and a half > for the CI test, which may lead to CI timeout. Reduce the number > of random test count to pass the CI. >=20 > Signed-off-by: Dun Tan > Cc: Eric Dong > Cc: Ray Ni > Cc: Rahul Kumar > Cc: Gerd Hoffmann > --- >=20 > UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTestHo > st.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) >=20 > diff --git > a/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTest > Host.c > b/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTest > Host.c > index 8554eefa39..c60302eeac 100644 > --- > a/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTest > Host.c > +++ > b/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTest > Host.c > @@ -9,11 +9,11 @@ > #include "CpuPageTableLibUnitTest.h" >=20 > // ---------------------------------------------------------------------= -- PageMode-- > TestCount-TestRangeCount---RandomOptions > -static CPU_PAGE_TABLE_LIB_RANDOM_TEST_CONTEXT > mTestContextPagingPae =3D { PagingPae, 100, 20, USE_RANDOM_ARRAY }; > -static CPU_PAGE_TABLE_LIB_RANDOM_TEST_CONTEXT > mTestContextPaging4Level =3D { Paging4Level, 100, 20, > USE_RANDOM_ARRAY }; > -static CPU_PAGE_TABLE_LIB_RANDOM_TEST_CONTEXT > mTestContextPaging4Level1GB =3D { Paging4Level1GB, 100, 20, > USE_RANDOM_ARRAY }; > -static CPU_PAGE_TABLE_LIB_RANDOM_TEST_CONTEXT > mTestContextPaging5Level =3D { Paging5Level, 100, 20, > USE_RANDOM_ARRAY }; > -static CPU_PAGE_TABLE_LIB_RANDOM_TEST_CONTEXT > mTestContextPaging5Level1GB =3D { Paging5Level1GB, 100, 20, > USE_RANDOM_ARRAY }; > +static CPU_PAGE_TABLE_LIB_RANDOM_TEST_CONTEXT > mTestContextPagingPae =3D { PagingPae, 30, 20, USE_RANDOM_ARRAY }; > +static CPU_PAGE_TABLE_LIB_RANDOM_TEST_CONTEXT > mTestContextPaging4Level =3D { Paging4Level, 30, 20, > USE_RANDOM_ARRAY }; > +static CPU_PAGE_TABLE_LIB_RANDOM_TEST_CONTEXT > mTestContextPaging4Level1GB =3D { Paging4Level1GB, 30, 20, > USE_RANDOM_ARRAY }; > +static CPU_PAGE_TABLE_LIB_RANDOM_TEST_CONTEXT > mTestContextPaging5Level =3D { Paging5Level, 30, 20, > USE_RANDOM_ARRAY }; > +static CPU_PAGE_TABLE_LIB_RANDOM_TEST_CONTEXT > mTestContextPaging5Level1GB =3D { Paging5Level1GB, 30, 20, > USE_RANDOM_ARRAY }; >=20 > /** > Check if the input parameters are not supported. > -- > 2.31.1.windows.1