From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web11.6627.1676694566485660017 for ; Fri, 17 Feb 2023 20:29:26 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=cHoKVY4S; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: andrei.warkentin@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676694566; x=1708230566; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=8B+T3DMvx0ES7NJyGsi2ZHod6oPiHHBUj6QpgrLMzdc=; b=cHoKVY4SOwRufRsTVU7QS1Ct0TFR76pmVrHr81lNCeITfR8iRZNd1gzQ /WlYvFvPbdfoS0UXOGyCcvrI4mST1UuG17T7ABY2S9x7njV2YspJ7Nscx g91vE3QR1OBfL6raqCXoIhrYDQWP2fdgj4sDny42dT0WQYh+jRjXl2cxm DgNpOhLiPF9JSw1YJfHzho/HiK4zqzCU92dMfmlkgySqtt5T+j/4V9t6X dRYdwQmGl8ypoRhEwAO6w1fRWvGuzdtAxcVgEJWDqD09rJcrDzeuPQGiP r/bBiYtvEVfs1VDmOJn0xzKJy7Ui21wtmnAQDYdxrixreyZL3uCiZQmd8 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10624"; a="330808371" X-IronPort-AV: E=Sophos;i="5.97,306,1669104000"; d="scan'208";a="330808371" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2023 20:29:25 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10624"; a="672809192" X-IronPort-AV: E=Sophos;i="5.97,306,1669104000"; d="scan'208";a="672809192" Received: from awarkent-mobl1.amr.corp.intel.com ([10.213.189.88]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2023 20:29:24 -0800 From: "Andrei Warkentin" To: devel@edk2.groups.io Cc: Andrei Warkentin , Sunil V L , Daniel Schaefer , Michael D Kinney , Liming Gao , Zhiguang Liu Subject: [edk2 1/1] BaseLib: don't log in InternalSwitchStack Date: Fri, 17 Feb 2023 22:29:21 -0600 Message-Id: <20230218042921.922-1-andrei.warkentin@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable InternalSwitchStack may be called with a TPL high enough for a DebugLib implementation to assert. Other arch implementations don't log either. Cc: Sunil V L Cc: Daniel Schaefer Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Andrei Warkentin --- MdePkg/Library/BaseLib/RiscV64/InternalSwitchStack.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/MdePkg/Library/BaseLib/RiscV64/InternalSwitchStack.c b/MdePkg/= Library/BaseLib/RiscV64/InternalSwitchStack.c index cf646e498aba..b78424c16383 100644 --- a/MdePkg/Library/BaseLib/RiscV64/InternalSwitchStack.c +++ b/MdePkg/Library/BaseLib/RiscV64/InternalSwitchStack.c @@ -44,14 +44,6 @@ InternalSwitchStack ( {=0D BASE_LIBRARY_JUMP_BUFFER JumpBuffer;=0D =0D - DEBUG ((=0D - DEBUG_INFO,=0D - "RISC-V InternalSwitchStack Entry:%x Context1:%x Context2:%x NewStack%= x\n", \=0D - EntryPoint,=0D - Context1,=0D - Context2,=0D - NewStack=0D - ));=0D JumpBuffer.RA =3D (UINTN)EntryPoint;=0D JumpBuffer.SP =3D (UINTN)NewStack - sizeof (VOID *);=0D JumpBuffer.S0 =3D (UINT64)(UINTN)Context1;=0D --=20 2.25.1