From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (NAM10-DM6-obe.outbound.protection.outlook.com [40.107.93.47]) by mx.groups.io with SMTP id smtpd.web12.8067.1667134937459799388 for ; Sun, 30 Oct 2022 06:02:17 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@amd.com header.s=selector1 header.b=eZs2QAMQ; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.93.47, mailfrom: abner.chang@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NkGFteF7povdF7t6hYuRLh3z2g/fSI+WgZNgTHIO2/XrwDiP9bPzOKtiGsjsSTcKEImJjlu1MXyohtiumSHECK3ZfnIDiwWkx3SocrBC/zecv1f60Nbx77MD+lS7B22UYlZk75uy2+iP/zJyU2+mlPNrmWXj43J09XGG9ieSaK5sBDFLCH4tbrIUBX1ziUdN5cf8c4F2AVQ650cKWI9RzvGgLKUudSqfwobhVTRMTx3ZtMKt1BVP5p4ansMpJ+/KJl+rHmJBN29Q6z2DfMfprvASJb0S/FA7Lp9u0oXZC8a5X55i2LtD0BlnauTzmYl1Q8JSvNaqpRf9WlG/cGTnTA== 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=zYb1hXDeAMddjmNMHaweCKqhctgbxDfzTuxjxkmCE5o=; b=HY5WtqpGN3K3HtNApADnPF4QUeDidw7tIq6pNfqqNQs82CYRfSmACo6ez9d4YZ92lzn2CmTAAkA/akEKru1FE+kT1Sw8y05R6TPVZCfkmko4wx4etqCgzHogxi2wM/iF11oiUcnkSy0Yl2UtWpls6khEkoDaG+tBoUG7MMbUnP+5BU5FIog3PXN2/AcaNopUNdCbD3dMzdt6WdUTjoOZSaED5cso062t9UrXwYsJXsTVUgVfDnnYMhju+WOssmE+oyGR64d4AOqNeGhU0q7kiu3/hfcCFYJTiVx2eKg5o/i9+VXSe5xdjNSNjn6tSJ5rXcmNqXQ60t+vfRieCfeVSw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zYb1hXDeAMddjmNMHaweCKqhctgbxDfzTuxjxkmCE5o=; b=eZs2QAMQnz366bCTi2xIbg9h4kLnVwDbrWSjdZjz7W7EjehEX7oOjvaadQkrMMg9+nrz9/rMTWp71wYdlyk+vu+GyrgHMnSy5pnXZPbVuudx5/Wrz22Sps/uuqonsSv7fGgCdDxB2Cg9U3Fg1VRtnFp/cwLCjoUY/ZZgWjdGm3c= Received: from DS7PR03CA0269.namprd03.prod.outlook.com (2603:10b6:5:3b3::34) by DM6PR12MB4188.namprd12.prod.outlook.com (2603:10b6:5:215::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.16; Sun, 30 Oct 2022 13:02:15 +0000 Received: from DM6NAM11FT103.eop-nam11.prod.protection.outlook.com (2603:10b6:5:3b3:cafe::aa) by DS7PR03CA0269.outlook.office365.com (2603:10b6:5:3b3::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.16 via Frontend Transport; Sun, 30 Oct 2022 13:02:15 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DM6NAM11FT103.mail.protection.outlook.com (10.13.172.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5769.14 via Frontend Transport; Sun, 30 Oct 2022 13:02:15 +0000 Received: from TPE-L1-ABNCHANG.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sun, 30 Oct 2022 08:02:10 -0500 From: "Chang, Abner" To: CC: Abdul Lateef Attar , Garrett Kirkendall , Paul Grimes , Eric Dong , Ray Ni , Rahul Kumar Subject: [PATCH V2 3/3] UefiCpuPkg/SmmCpuFeaturesLib: Clean up header file inclusion in SmmStm.c Date: Sun, 30 Oct 2022 21:01:47 +0800 Message-ID: <20221030130147.1143-3-abner.chang@amd.com> X-Mailer: git-send-email 2.37.1.windows.1 In-Reply-To: <20221030130147.1143-1-abner.chang@amd.com> References: <20221030130147.1143-1-abner.chang@amd.com> MIME-Version: 1.0 Return-Path: Abner.Chang@amd.com X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT103:EE_|DM6PR12MB4188:EE_ X-MS-Office365-Filtering-Correlation-Id: bf3d8066-8e44-4bd2-f926-08daba76f808 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2dut71ac+e3ojaM4UPf8QvVRDSXKHrbcvI6hM2dsYsZ1aSf6JSohy/zhxNkQWF6bd3wzKe0aJRu7hWv0sE97MmoPhahMtgyjwDywwb+Aq2RT1y1337cOezRX4C8xeTxtlD7c8WxPYiWy/ouUmLFvr+u7sWW1GsnFx0bVQKBaYFUyJhry19RMRSwy7HgRCZ/OS1bA7noHdedVhuVsaa5YfbWay+Gir7zOgCg9tVZ8bJo48363nvaySYpPJeZ1NlYfL7+LGNpldRG3kx6UpFN4g5Vf/qsmpZP7dPKTWKENGqrGHjpYwS+48syQaOGUVyTXDVwQrs0xMKO41sXQdxKRMs4EgMjxpUo/gJsZdgGXGAIwv8QXGIlahu5rNPcAF3GK9Ix7R45oFUyfRQK4jmaHp9XTLGXfEAI+CMSz94AcVT4uXnPRgcBiQEkktoBaHEiCoji35Jui0ePMiGwF476csHF6+MMZmReB1p5S6ze2obXsdcX2E5DlwYgWlDexKkDQ7iaGX6z9sZRBRqipWFPaRs5N+4v/PtcKPy1ZpgJn7Si1Im0t7jBy0kAv33wBYY4reNOTkITYp3FXhWySCUbmk86b+ZWPG5pCExBdS1dxohTjImudMCkQmlv0ROHVio4HEmn6VgX60F2xoOqDFdUjHuvqXFyo6m05akoxPXaIo8lyGAgsFpe+VtM5WMM/sPWyMWaohtA3ckzQTlI5jPtFAMBf21lIXiCgH6gYBdGSjGd4AGLlqY6WHEObjdCCMxxT0IwEXvfnf39a6SKmqeqAPKYtLipOc5+MSz0s3A6A6o0tb3p65StK4KfqirgIJbtY X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230022)(4636009)(396003)(376002)(346002)(136003)(39860400002)(451199015)(46966006)(36840700001)(40470700004)(478600001)(6666004)(26005)(7696005)(316002)(54906003)(6916009)(82310400005)(40480700001)(36860700001)(81166007)(40460700003)(47076005)(2616005)(426003)(36756003)(82740400003)(336012)(186003)(16526019)(83380400001)(1076003)(356005)(2876002)(86362001)(2906002)(4326008)(8676002)(70586007)(70206006)(41300700001)(8936002)(5660300002)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Oct 2022 13:02:15.5810 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bf3d8066-8e44-4bd2-f926-08daba76f808 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT103.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4188 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Abner Chang BZ# 4093: Abstract SmmCpuFeaturesLib for sharing common code Remove the header files those are already included in CpuFeatureLib.h. Signed-off-by: Abner Chang Cc: Abdul Lateef Attar Cc: Garrett Kirkendall Cc: Paul Grimes Cc: Eric Dong Cc: Ray Ni Cc: Rahul Kumar --- UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmStm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmStm.c b/UefiCpuPkg/Lib= rary/SmmCpuFeaturesLib/SmmStm.c index 4e8f897f5e9..3cf162ada01 100644 --- a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmStm.c +++ b/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmStm.c @@ -7,11 +7,8 @@ **/ =20 #include -#include #include -#include #include -#include #include #include #include --=20 2.37.1.windows.1