From nobody Sun Feb 8 22:50:06 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+67175+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+67175+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linux.alibaba.com ARC-Seal: i=1; a=rsa-sha256; t=1604930190; cv=none; d=zohomail.com; s=zohoarc; b=dDd0vNGqJYBqh5cYk3n1MintQ/RblvSLO22F/lBHGyvGlbulEZoWRe0h0/AsXTXiK9wh+YpnmUo0qFVIe1aiVi/51/k9hhP9VEunSaH+3tjn7Z5r/529NmVAZN/5Yc7evch6eowLgSbWcQgf2FmQCnlPOmyahYQ0hiKAAn2udxM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1604930190; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=7kxQqqEm3aI8laDUUJGREY1f2aSwqdHOJIY/lZPWPi8=; b=jDf1n8V7NPCzdjUnVxfFg5lslH0A9+9ULKCMu+mBgrh/DfNK6dStnm5o3LxaAtREyKmdgQ38LIFwGC/M3yOGtSrbyafGcgGtSyiRE5qdJ08y/z3vAHld3ij1N78Svlf99YeTFHl6ksAuFEtI3FdV1BXtxy5Z2M+K7YZQU+d9jTk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+67175+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1604930190813908.3892307783323; Mon, 9 Nov 2020 05:56:30 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id tb0cYY1788612x2WfnXdvRwH; Mon, 09 Nov 2020 05:56:30 -0800 X-Received: from out30-132.freemail.mail.aliyun.com (out30-132.freemail.mail.aliyun.com [115.124.30.132]) by mx.groups.io with SMTP id smtpd.web08.1538.1604737830772155622 for ; Sat, 07 Nov 2020 00:30:31 -0800 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R141e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e01424;MF=huangming@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0UEUytGW_1604737739; X-Received: from 842effaa37a8.tbsite.net(mailfrom:huangming@linux.alibaba.com fp:SMTPD_---0UEUytGW_1604737739) by smtp.aliyun-inc.com(127.0.0.1); Sat, 07 Nov 2020 16:29:36 +0800 From: Ming Huang To: devel@edk2.groups.io Cc: yitian.ly@alibaba-inc.com, terui.cl@alibaba-inc.com, guoheyi@linux.alibaba-inc.com, ming.huang-@outlook.com, Ming Huang Subject: [edk2-devel] [PATCH edk2 v1 1/2] edk2/StandaloneMmPkg: Fix several print issues Date: Sat, 7 Nov 2020 16:28:56 +0800 Message-Id: <20201107082857.8527-2-huangming@linux.alibaba.com> In-Reply-To: <20201107082857.8527-1-huangming@linux.alibaba.com> References: <20201107082857.8527-1-huangming@linux.alibaba.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,huangming@linux.alibaba.com X-Gm-Message-State: VlPHKBC40OzM1dQeK7UupkpJx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1604930190; bh=FvYrrusZHG3kjiSUTKc4t5LJgeX0UIWFgaHrpCtAl+U=; h=Cc:Date:From:Reply-To:Subject:To; b=KwLKZIzxRHqPA6FiXNgi0W7Sz8EwTMEJ64yhjcW1aQLyFP8tWz5IYPGUVjeHtckR86Q YuzxM5fYfsQsI+KGYYnYTxuk5vut/bs3Qm0crfcbpQkyGckzuNSCfSrUwWqTEJZ/YT9sT W+l+GcoHaEtflYCfe0M9WSyFNg0mhLKK3Do= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 1 DEBUG_ERROR should be used for error print; 2 The %r is finer for edk2 status print; Signed-off-by: Ming Huang --- StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c = | 4 ++-- StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/StandaloneMmCor= eEntryPoint.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c = b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c index 6a25c4c548..3730ee6379 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c @@ -110,7 +110,7 @@ PiMmStandaloneArmTfCpuDriverEntry ( ); =20 if (Status !=3D EFI_SUCCESS) { - DEBUG ((DEBUG_INFO, "Mem alloc failed - 0x%x\n", EventId)); + DEBUG ((DEBUG_ERROR, "Mem alloc failed - 0x%x\n", EventId)); return EFI_OUT_OF_RESOURCES; } =20 @@ -131,7 +131,7 @@ PiMmStandaloneArmTfCpuDriverEntry ( mMmst->CpuSaveState =3D NULL; =20 if (mMmEntryPoint =3D=3D NULL) { - DEBUG ((DEBUG_INFO, "Mm Entry point Not Found\n")); + DEBUG ((DEBUG_ERROR, "Mm Entry point Not Found\n")); return EFI_UNSUPPORTED; } =20 diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Sta= ndaloneMmCoreEntryPoint.c b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPo= int/AArch64/StandaloneMmCoreEntryPoint.c index 9cecfa667b..59a9963ff2 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Standalone= MmCoreEntryPoint.c +++ b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Standalone= MmCoreEntryPoint.c @@ -126,7 +126,7 @@ DelegatedEventLoop ( ); =20 if (EFI_ERROR (Status)) { - DEBUG ((DEBUG_ERROR, "Failed delegated event 0x%x, Status 0x%x\n", + DEBUG ((DEBUG_ERROR, "Failed delegated event 0x%x, Status %r\n", EventCompleteSvcArgs->Arg0, Status)); } =20 --=20 2.17.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#67175): https://edk2.groups.io/g/devel/message/67175 Mute This Topic: https://groups.io/mt/78135574/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-