From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web10.1739.1682489766222879852 for ; Tue, 25 Apr 2023 23:16:06 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=lqhzqFfD; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: zhiguang.liu@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682489766; x=1714025766; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=mjpjSTKuF0tY8sImcAqGcYXjlw8uC/In1mHy8641w5k=; b=lqhzqFfDTnX/bUfiJbmb3Ljo3My6nUUr6VYlRXlOhhAKfNhDDrzIHE/2 kDsw0xPSUXz5mXPQ6GCoBfQhS3tFC+w4J+fVWfXHlFS+FYcvLGtjqGuCp PQSxtNIIEnhV9c0+s/8nosIZsPcgmsaYx5DZhOojUFQoS2uDgp+k4ecDL 3Vl0ZMf0gxWvtDf14WjYshy9QAEmYB3PUACrejileMoeRB7OAXSGu/1wq WsiPBnFw/nzcWwQDmRDMLEf8A49injPWDcvPp+af6OG2Ik5rknI5ikgvg 7kCwquxeVWhvicrUEAYXThX1sr0Yu9rsiDBsJlEF5e39svXKorlof/6g0 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10691"; a="331235109" X-IronPort-AV: E=Sophos;i="5.99,227,1677571200"; d="scan'208";a="331235109" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Apr 2023 23:16:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10691"; a="644125114" X-IronPort-AV: E=Sophos;i="5.99,227,1677571200"; d="scan'208";a="644125114" Received: from shwdesfp01.ccr.corp.intel.com ([10.239.158.151]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Apr 2023 23:16:04 -0700 From: "Zhiguang Liu" To: devel@edk2.groups.io Cc: Zhiguang Liu Subject: [PATCH v2 0/5] refine Smm range code in BoardX58Ich10 Date: Wed, 26 Apr 2023 14:15:44 +0800 Message-Id: <20230426061549.1254-1-zhiguang.liu@intel.com> X-Mailer: git-send-email 2.31.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In BoardX58Ich10 platform, two modules has hard-code about how SMM range should be, and this causes a issue since PEI phase may change SMM ranges now. This patch set refine Smm range related code. v2 refine comments and commit message Zhiguang Liu (5): SimicsOpenBoardPkg: Build gEfiSmmSmramMemoryGuid Hob in S3 path SimicsOpenBoardPkg: Move AcpiVariableGuid hob to MemDetect SimicsOpenBoardPkg: Use SmmAccessLib instead of SmmAccessPei.inf SimicsOpenBoardPkg: Use another SmmAccess Driver SimicsX58SktPkg: Remove unused Smm related modules .../BoardX58Ich10/OpenBoardPkg.dsc | 11 +- .../BoardX58Ich10/OpenBoardPkg.fdf | 3 +- .../SimicsOpenBoardPkg/SimicsPei/MemDetect.c | 136 +++---- .../SimicsPei/SimicsPei.inf | 5 +- .../SimicsX58SktPkg/SktUefiBootInclude.fdf | 4 +- .../Smm/Access/SmmAccess2Dxe.c | 148 -------- .../Smm/Access/SmmAccess2Dxe.inf | 54 --- .../SimicsX58SktPkg/Smm/Access/SmmAccessPei.c | 346 ------------------ .../Smm/Access/SmmAccessPei.inf | 65 ---- .../Smm/Access/SmramInternal.c | 200 ---------- .../Smm/Access/SmramInternal.h | 82 ----- 11 files changed, 79 insertions(+), 975 deletions(-) delete mode 100644 Silicon/Intel/SimicsX58SktPkg/Smm/Access/SmmAccess2Dxe.c delete mode 100644 Silicon/Intel/SimicsX58SktPkg/Smm/Access/SmmAccess2Dxe.inf delete mode 100644 Silicon/Intel/SimicsX58SktPkg/Smm/Access/SmmAccessPei.c delete mode 100644 Silicon/Intel/SimicsX58SktPkg/Smm/Access/SmmAccessPei.inf delete mode 100644 Silicon/Intel/SimicsX58SktPkg/Smm/Access/SmramInternal.c delete mode 100644 Silicon/Intel/SimicsX58SktPkg/Smm/Access/SmramInternal.h -- 2.31.1.windows.1