From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web10.73794.1682406195842322329 for ; Tue, 25 Apr 2023 00:03:16 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=YR3hS+ZP; spf=pass (domain: intel.com, ip: 192.55.52.88, 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=1682406195; x=1713942195; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=F723y10vTvrVKRwDX6aZMQtlMkkc8SAcsheRmV82Ae8=; b=YR3hS+ZP3oSg4qhfRF21N4d1qCvQXSiVElP4jAVHbPWSxQKkY4iIuyg3 W1eIBIqWmQ6ay66IhsiB2gPGrIdoFCke2xaAXqgjzR6enRsLU+n8xGLLS HTr+wnq5uajJjrJ1JjCelyzSDD+AChg8o/vCoQTVHCvFrOBkx+8wAFJEp 9vV+apBbGTdcKtEvnK3ARw/fA+ggicAeBlmSpOm3MRYOkWtAZz1ywnm6r +eTbBfUqjtu6yZj88KzY252/mimCYz9Zk6+sf6waVOIa45Q0+O3ACb9IU PhhdtbrYLQdEWLh306Wp6j331Ffdm/9Yl5uJXx6ju6ZyPJO6LJEu+pUvY Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10690"; a="374623033" X-IronPort-AV: E=Sophos;i="5.99,224,1677571200"; d="scan'208";a="374623033" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Apr 2023 00:03:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10690"; a="867781544" X-IronPort-AV: E=Sophos;i="5.99,224,1677571200"; d="scan'208";a="867781544" Received: from shwdesfp01.ccr.corp.intel.com ([10.239.158.151]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Apr 2023 00:03:14 -0700 From: "Zhiguang Liu" To: devel@edk2.groups.io Cc: Zhiguang Liu Subject: [PATCH 0/5] refine Smm range code in BoardX58Ich10 Date: Tue, 25 Apr 2023 15:02:59 +0800 Message-Id: <20230425070304.2120-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. 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 | 9 +- .../BoardX58Ich10/OpenBoardPkg.fdf | 1 - .../SimicsOpenBoardPkg/SimicsPei/MemDetect.c | 124 +++---- .../SimicsPei/SimicsPei.inf | 3 + .../SimicsX58SktPkg/SktUefiBootInclude.fdf | 2 +- .../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, 64 insertions(+), 970 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