From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web10.19766.1677837326142731312 for ; Fri, 03 Mar 2023 01:55:26 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=KlKUTehr; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: dun.tan@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677837326; x=1709373326; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=IjJo5OU+G14nytdNhTYMNKQU3JvKRaXPv2cVp0Xf9xM=; b=KlKUTehrOELtiMiuXSRR/iPBiOcc2hq3meSRx3qgpYI1OjP81mL+brVR /pAqnYUqfc3f6DVdC0WIkY8THkE3TnxoeDCih4PLmCcucXBUt9rmwzrk6 XYqmGrO2JXwoJy9L3cUHFsVBc1GUA6RSAc46yWgLstl7EqqZ0hW+TdKmB m+FEixQuGF2r2IlR7Qh0ob2fkzAQ3m3LovA4Iu0cHD31Rw1Z6eAUJSoB0 xAuBTTUPaYrAdDERsb0erhtdQVroEpfWFCdo9t+od6/0Y2ZZ5P0RHpEfv 7FeCWyB+ae9ASXn5hBwak2WPg2+ky+LPxPviCLCiIAhqEymh8Hwwg/MXl A==; X-IronPort-AV: E=McAfee;i="6500,9779,10637"; a="421279320" X-IronPort-AV: E=Sophos;i="5.98,230,1673942400"; d="scan'208";a="421279320" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Mar 2023 01:55:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10637"; a="1004533378" X-IronPort-AV: E=Sophos;i="5.98,230,1673942400"; d="scan'208";a="1004533378" Received: from shwdeopenlab702.ccr.corp.intel.com ([10.239.55.92]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Mar 2023 01:55:25 -0800 From: "duntan" To: devel@edk2.groups.io Subject: [PATCH 0/6] Fix issues in CpuPageTableLib Date: Fri, 3 Mar 2023 17:54:58 +0800 Message-Id: <20230303095504.2010-1-dun.tan@intel.com> X-Mailer: git-send-email 2.31.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 1.UefiCpuPkg/CpuPageTableLib: Remove unneeded 'if' condition 2.UefiCpuPkg/CpuPageTableLib: Fix the non-1:1 mapping issue 3.UefiCpuPkg/CpuPageTebleLib: Check input Mask in PageTableMap 4.UefiCpuPkg/CpuPageTableLib: Add manual TestCase to check input Mask 5.UefiCpuPkg/CpuPageTableLib: Modify RandomTest to check Mask 6.UefiCpuPkg/CpuPageTableLib: Enable non-1:1 mapping in random test Dun Tan (6): UefiCpuPkg/CpuPageTableLib: Remove unneeded 'if' condition UefiCpuPkg/CpuPageTableLib: Fix the non-1:1 mapping issue UefiCpuPkg/CpuPageTebleLib: Check input Mask in PageTableMap UefiCpuPkg/CpuPageTableLib: Add manual TestCase to check input Mask UefiCpuPkg/CpuPageTableLib: Modify RandomTest to check Mask UefiCpuPkg/CpuPageTableLib: Enable non-1:1 mapping in random test UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableMap.c | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------- UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTestHost.c | 130 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- UefiCpuPkg/Library/CpuPageTableLib/UnitTest/RandomTest.c | 164 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------- 3 files changed, 311 insertions(+), 69 deletions(-) -- 2.31.1.windows.1