From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 87E4F74003D for ; Fri, 10 May 2024 10:09:30 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=CAKcUVVOAuALDcS9C4bpX4CBlttAwZByiUWdQsiRotg=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1715335769; v=1; b=XHmqLTapa7q10oxDHGwlpE1tzbrC1CEeYqCIhZaQIKk751rcxZAFnxtnHG2nH+1QORYd2ZBY ze+D9jbXdQeUA9q1enuCmBkdy9bSsQIrUnInTE+j26Ng3embgFJWXIMSyIjiTmInHXsf0SJdoxz clAZshvW5QB/ZEF2DF0tMZjNNI5rm00dqF1yyEf9D2rWJC58zT/R2iOr3l8vHhOUELjX/0SNMF0 nX54Lc4MC8BNsDxu2xlZlN3O7uJ3ulmchVh6910JFeTchDoleQjOOveF2xdZmdU0U2VgIx8rq6P Y9aiJ9T99eClzB5YqZK+y5soh29LyaVSY68rJ5I7QkqVQ== X-Received: by 127.0.0.2 with SMTP id xyHkYY7687511x1qq4gNweoJ; Fri, 10 May 2024 03:09:29 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by mx.groups.io with SMTP id smtpd.web10.9485.1715335727366928454 for ; Fri, 10 May 2024 03:09:28 -0700 X-CSE-ConnectionGUID: hdNLDXRARUiCK3VMJ+PdWA== X-CSE-MsgGUID: rKcW+BnmRy+nAargDzgg+w== X-IronPort-AV: E=McAfee;i="6600,9927,11068"; a="28819228" X-IronPort-AV: E=Sophos;i="6.08,150,1712646000"; d="scan'208";a="28819228" X-Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2024 03:09:28 -0700 X-CSE-ConnectionGUID: dmmpEnu8QDyVt6Ill1ux0A== X-CSE-MsgGUID: oMuF5FkqRs6RiszQLyLxjQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,150,1712646000"; d="scan'208";a="60424334" X-Received: from unknown (HELO shwdeopenlab702.ccr.corp.intel.com) ([10.239.55.43]) by orviesa002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2024 03:09:27 -0700 From: "duntan" To: devel@edk2.groups.io Cc: Ray Ni , Laszlo Ersek , Rahul Kumar , Gerd Hoffmann , Jiaxin Wu Subject: [edk2-devel] [PATCH 15/18] UefiCpuPkg:Remove code to handle APIC setting and Interrupt Date: Fri, 10 May 2024 18:08:24 +0800 Message-Id: <20240510100827.1903-16-dun.tan@intel.com> In-Reply-To: <20240510100827.1903-1-dun.tan@intel.com> References: <20240510100827.1903-1-dun.tan@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Fri, 10 May 2024 03:09:28 -0700 Resent-From: dun.tan@intel.com Reply-To: devel@edk2.groups.io,dun.tan@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 91ts9fUpRDJnK6FKamISXlHRx7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=XHmqLTap; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io Remove ProgramVirtualWireMode()/DisableLvtInterrupts() since APs won't be waken by INIT-SIPI-SIPI in CpuS3.c any more. The two functions has been executed in MpInitLibInitialize() in PeiMplib. Signed-off-by: Dun Tan Cc: Ray Ni Cc: Laszlo Ersek Cc: Rahul Kumar Cc: Gerd Hoffmann Cc: Jiaxin Wu --- UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c b/UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c index 9520451d92..65fe903fd3 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c @@ -105,11 +105,6 @@ InitializeCpuBeforeRebase ( IN BOOLEAN IsBsp ) { - ProgramVirtualWireMode (); - if (!IsBsp) { - DisableLvtInterrupts (); - } - // // Count down the number with lock mechanism. // -- 2.31.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#118807): https://edk2.groups.io/g/devel/message/118807 Mute This Topic: https://groups.io/mt/106018141/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-