From nobody Mon Apr 29 05:10:04 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+52929+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+52929+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1578323596; cv=none; d=zohomail.com; s=zohoarc; b=HWPM0B/oo6iuRkbHlsu0MtTOozqFJb1SPHKy4E9PzrV7bbI0yvPQG7pdigSr20ciWYUHcHy+XCU3NXyW0XM5VlEK27F37L16zLT/0KemJ6NxssikYwe80lmMkooLwffRcZmK0Ayv85SaWeUgn9gSglhGrQWzfs8OYcjG43w1tkQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578323596; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=KCHBNHwr1Ngtk1ewdRUFb9Vbob332veAuvMdHoP1xgE=; b=daCEpaxsmjBstJ+E3AD7FnsQLh9JDdvol6N8LwwqG8Z05VtU42DWveL4LtdP/raKGf84hPZ/WHHSMuUhL9BLizTojuNzMGHNigOpmiCt/cHWMwMGQuQD8U80GrtroqFh+tbqinzGvjG+p3E5ZkVtkw5AdxcMvAQEUQcgEV0besk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+52929+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1578323596974493.90574827030525; Mon, 6 Jan 2020 07:13:16 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id sY2GYY1788612xJtJl6WRsyW; Mon, 06 Jan 2020 07:13:16 -0800 X-Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by mx.groups.io with SMTP id smtpd.web12.4855.1578323595782859386 for ; Mon, 06 Jan 2020 07:13:16 -0800 X-Received: by mail-wr1-f48.google.com with SMTP id w15so37400601wru.4 for ; Mon, 06 Jan 2020 07:13:15 -0800 (PST) X-Gm-Message-State: 8BOKRvJDSdqLuBUukqud3vfpx1787277AA= X-Google-Smtp-Source: APXvYqy5hCN9k9lJK9R69WJesvz1wSyzwtgVFsZQd2oQAFwATVdvEmKI5YP4I1ZAG6m+WSq7QzcUMQ== X-Received: by 2002:a05:6000:1142:: with SMTP id d2mr97736760wrx.253.1578323594122; Mon, 06 Jan 2020 07:13:14 -0800 (PST) X-Received: from localhost.localdomain ([2a01:cb1d:112:6f00:6051:f896:58f1:b2e4]) by smtp.gmail.com with ESMTPSA id o16sm24484137wmc.18.2020.01.06.07.13.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2020 07:13:13 -0800 (PST) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: maurice.ma@intel.com, guo.dong@intel.com, benjamin.you@intel.com, ray.ni@intel.com, liming.gao@intel.com, hao.a.wu@intel.com, lersek@redhat.com, Ard Biesheuvel Subject: [edk2-devel] [PATCH 1/5] MdeModulePkg: remove EnterS3WithImmediateWake () from ResetSystemLib Date: Mon, 6 Jan 2020 16:13:06 +0100 Message-Id: <20200106151310.12322-2-ard.biesheuvel@linaro.org> In-Reply-To: <20200106151310.12322-1-ard.biesheuvel@linaro.org> References: <20200106151310.12322-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 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,ard.biesheuvel@linaro.org Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1578323596; bh=Pa5l6kjmOMofcE3Agk1K65M4pyMYe6lRiWiHbo4qmHk=; h=Cc:Date:From:Reply-To:Subject:To; b=rvIlvEfDEbh6hLnA0dfIeJ6j/8ejX/EonOPILN/JJWjYWjN2SIJ5vGrp/TZkxdPcDA8 lYO6UgQvOkYfewReef99YfJDtlBTEeYxFMFl6b20+2bfTdShA33WElDVKdW2w0QLKc9GJ N3lrO6yyPugOvizBnnWvWew/enJU1/iBLYY= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" EnterS3WithImmediateWake () no longer has any callers, so remove it from ResetSystemLib. Signed-off-by: Ard Biesheuvel Reviewed-by: Ray Ni --- MdeModulePkg/Include/Library/ResetSystemLib.h | 11 = ----------- MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.c | 14 = -------------- MdeModulePkg/Library/DxeResetSystemLib/DxeResetSystemLib.c | 13 = ------------- MdeModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.c | 13 = ------------- MdeModulePkg/Library/RuntimeResetSystemLib/RuntimeResetSystemLib.c | 13 = ------------- 5 files changed, 64 deletions(-) diff --git a/MdeModulePkg/Include/Library/ResetSystemLib.h b/MdeModulePkg/I= nclude/Library/ResetSystemLib.h index 3b2a098a6082..09ee14540c44 100644 --- a/MdeModulePkg/Include/Library/ResetSystemLib.h +++ b/MdeModulePkg/Include/Library/ResetSystemLib.h @@ -51,17 +51,6 @@ ResetShutdown ( VOID ); =20 -/** - This function causes the system to enter S3 and then wake up immediately. - - If this function returns, it means that the system does not support S3 f= eature. -**/ -VOID -EFIAPI -EnterS3WithImmediateWake ( - VOID - ); - /** This function causes a systemwide reset. The exact type of the reset is defined by the EFI_GUID that follows the Null-terminated Unicode string = passed diff --git a/MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLib= Null.c b/MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull= .c index 8d4c1028e603..33a896bee054 100644 --- a/MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.c +++ b/MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.c @@ -58,20 +58,6 @@ ResetShutdown ( ASSERT (FALSE); } =20 -/** - This function causes the system to enter S3 and then wake up immediately. - - If this function returns, it means that the system does not support S3 f= eature. -**/ -VOID -EFIAPI -EnterS3WithImmediateWake ( - VOID - ) -{ - ASSERT (FALSE); -} - /** This function causes a systemwide reset. The exact type of the reset is defined by the EFI_GUID that follows the Null-terminated Unicode string = passed diff --git a/MdeModulePkg/Library/DxeResetSystemLib/DxeResetSystemLib.c b/M= deModulePkg/Library/DxeResetSystemLib/DxeResetSystemLib.c index a85b6cd9a615..47b814fe8dee 100644 --- a/MdeModulePkg/Library/DxeResetSystemLib/DxeResetSystemLib.c +++ b/MdeModulePkg/Library/DxeResetSystemLib/DxeResetSystemLib.c @@ -57,19 +57,6 @@ ResetShutdown ( gRT->ResetSystem (EfiResetShutdown, EFI_SUCCESS, 0, NULL); } =20 -/** - This function causes the system to enter S3 and then wake up immediately. - - If this function returns, it means that the system does not support S3 f= eature. -**/ -VOID -EFIAPI -EnterS3WithImmediateWake ( - VOID - ) -{ -} - /** This function causes a systemwide reset. The exact type of the reset is defined by the EFI_GUID that follows the Null-terminated Unicode string = passed diff --git a/MdeModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.c b/M= deModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.c index 50297129b7c8..6c8c770ca375 100644 --- a/MdeModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.c +++ b/MdeModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.c @@ -57,19 +57,6 @@ ResetShutdown ( PeiServicesResetSystem2 (EfiResetShutdown, EFI_SUCCESS, 0, NULL); } =20 -/** - This function causes the system to enter S3 and then wake up immediately. - - If this function returns, it means that the system does not support S3 f= eature. -**/ -VOID -EFIAPI -EnterS3WithImmediateWake ( - VOID - ) -{ -} - /** This function causes a systemwide reset. The exact type of the reset is defined by the EFI_GUID that follows the Null-terminated Unicode string = passed diff --git a/MdeModulePkg/Library/RuntimeResetSystemLib/RuntimeResetSystemL= ib.c b/MdeModulePkg/Library/RuntimeResetSystemLib/RuntimeResetSystemLib.c index 29b3f7ebd871..f4490180ccf9 100644 --- a/MdeModulePkg/Library/RuntimeResetSystemLib/RuntimeResetSystemLib.c +++ b/MdeModulePkg/Library/RuntimeResetSystemLib/RuntimeResetSystemLib.c @@ -62,19 +62,6 @@ ResetShutdown ( mInternalRT->ResetSystem (EfiResetShutdown, EFI_SUCCESS, 0, NULL); } =20 -/** - This function causes the system to enter S3 and then wake up immediately. - - If this function returns, it means that the system does not support S3 f= eature. -**/ -VOID -EFIAPI -EnterS3WithImmediateWake ( - VOID - ) -{ -} - /** This function causes a systemwide reset. The exact type of the reset is defined by the EFI_GUID that follows the Null-terminated Unicode string = passed --=20 2.20.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 (#52929): https://edk2.groups.io/g/devel/message/52929 Mute This Topic: https://groups.io/mt/69466934/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- From nobody Mon Apr 29 05:10:04 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+52930+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+52930+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1578323598; cv=none; d=zohomail.com; s=zohoarc; b=Boc48YeSB66MjYrrNef6Q0aK0HJdzrr+9I4vmuE8pYXA/DPNCJkl0pkYbe8VOxxcPpNr+QX9HCZGiwuzBEEIn1qx5FWMZZbqfml7SKX4OGC9f2gU+QMrwsg/OTa1pKUhw0VcsFkvOy7fhsVy6xIkOYYVYzlsLwxcm5eLUJ0hW60= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578323598; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=bWnbmH0RiA0+EP6WC32xHcrpjxBGPVMUb1Sb406LNo0=; b=cWT1geTNv5xwjdcYTBRahxS4k299EP9tDcSkEq7LHqnDIsXhDb01ORyW++CMMVuASUa3gl8dEhnuJ5TffcqpsP3zsoKnmdzIzqzMQIqX1dJTCd29+/GKLBF7EHDEWtR93A0VVpxLbCpJ8x17Dfhgp0XX0NohCiOLGxRRzDd8z/M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+52930+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1578323598022212.53176706997363; Mon, 6 Jan 2020 07:13:18 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id a2WiYY1788612xPB68oPZB3p; Mon, 06 Jan 2020 07:13:17 -0800 X-Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by mx.groups.io with SMTP id smtpd.web10.4803.1578323596870602415 for ; Mon, 06 Jan 2020 07:13:17 -0800 X-Received: by mail-wm1-f65.google.com with SMTP id p17so15646073wmb.0 for ; Mon, 06 Jan 2020 07:13:16 -0800 (PST) X-Gm-Message-State: dw0hTkmfekhzUUIJUAaCEG3Lx1787277AA= X-Google-Smtp-Source: APXvYqxUgsPtVkp+/OAZCc42gzuAGOvl03oAPs9brQI3jsITzdKfDRo+g+E6+YHtAncMhutNYQ3DTw== X-Received: by 2002:a1c:2355:: with SMTP id j82mr35765402wmj.135.1578323595301; Mon, 06 Jan 2020 07:13:15 -0800 (PST) X-Received: from localhost.localdomain ([2a01:cb1d:112:6f00:6051:f896:58f1:b2e4]) by smtp.gmail.com with ESMTPSA id o16sm24484137wmc.18.2020.01.06.07.13.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2020 07:13:14 -0800 (PST) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: maurice.ma@intel.com, guo.dong@intel.com, benjamin.you@intel.com, ray.ni@intel.com, liming.gao@intel.com, hao.a.wu@intel.com, lersek@redhat.com, Ard Biesheuvel Subject: [edk2-devel] [PATCH 2/5] PcAtChipsetPkg: remove EnterS3WithImmediateWake () from ResetSystemLib Date: Mon, 6 Jan 2020 16:13:07 +0100 Message-Id: <20200106151310.12322-3-ard.biesheuvel@linaro.org> In-Reply-To: <20200106151310.12322-1-ard.biesheuvel@linaro.org> References: <20200106151310.12322-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 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,ard.biesheuvel@linaro.org Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1578323597; bh=e67xP5C/yHn7N8FTTn0g+bcmOYlGKbkfpZ0P7ZtMCRk=; h=Cc:Date:From:Reply-To:Subject:To; b=EEUtVhoxOidpwIzJSrh47yOGgi+Q6uIBb5KViFdlBglom0ck/mdfczVA76RRyg0W57i Ab9PtttmCxg4+G58SjX4jLOh2LUsPUQvW6xGIUzuvNdlH6hCqpd3SYWmpV0IqwM0kz2Oq M+EnRhlYiSYqKo81Q2yWnnMzxoTnE5IIcBk= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" EnterS3WithImmediateWake () no longer has any callers, so remove it from ResetSystemLib. Signed-off-by: Ard Biesheuvel Reviewed-by: Ray Ni --- PcAtChipsetPkg/Library/ResetSystemLib/ResetSystemLib.c | 17 --------------= --- 1 file changed, 17 deletions(-) diff --git a/PcAtChipsetPkg/Library/ResetSystemLib/ResetSystemLib.c b/PcAtC= hipsetPkg/Library/ResetSystemLib/ResetSystemLib.c index 7fe1663c97df..e42c41c48e18 100644 --- a/PcAtChipsetPkg/Library/ResetSystemLib/ResetSystemLib.c +++ b/PcAtChipsetPkg/Library/ResetSystemLib/ResetSystemLib.c @@ -65,23 +65,6 @@ ResetShutdown ( } =20 =20 -/** - Calling this function causes the system to enter a power state for capsu= le - update. - - Reset update should not return, if it returns, it means the system does - not support capsule update. - -**/ -VOID -EFIAPI -EnterS3WithImmediateWake ( - VOID - ) -{ - ASSERT (FALSE); -} - /** This function causes a systemwide reset. The exact type of the reset is defined by the EFI_GUID that follows the Null-terminated Unicode string = passed --=20 2.20.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 (#52930): https://edk2.groups.io/g/devel/message/52930 Mute This Topic: https://groups.io/mt/69466935/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- From nobody Mon Apr 29 05:10:04 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+52931+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+52931+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1578323599; cv=none; d=zohomail.com; s=zohoarc; b=k9vpzULad1i4i0RExJ0mwkuoY2kfZCaptn9essruE04AdGe01J+qfHMU7feRu80orh16VdujJWLDSuuw6yxRGsbPU9VDoryCz34HUjwHGUXudMWPCUq5xBaLfaRar9jhZAyczpvQyhsz+sXJspUVqiG0frSFJTe+/Bib1vhISho= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578323599; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=YzX9RiSZ57U1Ci6bMHPuVPzAPTRkZZpmBZdWSKumj80=; b=fTWlGD2EI0uatL/16HUjHbT83zb3C57sKEKmr5OAgjGntPL3G2aiN6a6ksjGIzo6F6anwSw+qzFYE6Rpph2NMBHVXRWCJd4WntWky3BmFS5nPYtq58XK7iJ67ZdwFWEaoPIILUyO1IaVSQk+arKNrXRtXIb49hHYnmCrgC9FqQ8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+52931+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1578323599103784.7587920280635; Mon, 6 Jan 2020 07:13:19 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id GVFcYY1788612xphBhQ0BUaX; Mon, 06 Jan 2020 07:13:18 -0800 X-Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by mx.groups.io with SMTP id smtpd.web10.4804.1578323597916039577 for ; Mon, 06 Jan 2020 07:13:18 -0800 X-Received: by mail-wr1-f67.google.com with SMTP id d16so49992217wre.10 for ; Mon, 06 Jan 2020 07:13:17 -0800 (PST) X-Gm-Message-State: LIfEGC4OH22H4WDjRAAt7xoox1787277AA= X-Google-Smtp-Source: APXvYqwcx9PkH2inDkt17Etwwuu+iL+atiYJomw91fGT7DFJc5eSrbPUrD8nhgSs8+xv2XZuRhaGow== X-Received: by 2002:a5d:44ca:: with SMTP id z10mr110511153wrr.266.1578323596375; Mon, 06 Jan 2020 07:13:16 -0800 (PST) X-Received: from localhost.localdomain ([2a01:cb1d:112:6f00:6051:f896:58f1:b2e4]) by smtp.gmail.com with ESMTPSA id o16sm24484137wmc.18.2020.01.06.07.13.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2020 07:13:15 -0800 (PST) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: maurice.ma@intel.com, guo.dong@intel.com, benjamin.you@intel.com, ray.ni@intel.com, liming.gao@intel.com, hao.a.wu@intel.com, lersek@redhat.com, Ard Biesheuvel Subject: [edk2-devel] [PATCH 3/5] UefiPayloadPkg: remove EnterS3WithImmediateWake () from ResetSystemLib Date: Mon, 6 Jan 2020 16:13:08 +0100 Message-Id: <20200106151310.12322-4-ard.biesheuvel@linaro.org> In-Reply-To: <20200106151310.12322-1-ard.biesheuvel@linaro.org> References: <20200106151310.12322-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 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,ard.biesheuvel@linaro.org Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1578323598; bh=rmqWSomhBCGZXWz7b2oI3TTJlsro7zvbbai8YUaLfbo=; h=Cc:Date:From:Reply-To:Subject:To; b=BIiDdclqlC3kQETcxtoFUamOy+EqkQgI/esqSe8XPaB1TrpoyQ2FYYN1LgwaIQ+KL3R 8m6OBCR6ZOIXulgUKCJqW/fHePfSjduFdQik3m47bSBMxwWYaktElnvUvB0Z7lF2kTWcS lPiWA2h0qY4+0s8In4BHePmXZVhRKhMRd+s= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" EnterS3WithImmediateWake () no longer has any callers, so remove it from ResetSystemLib. Signed-off-by: Ard Biesheuvel Reviewed-by: Guo Dong Reviewed-by: Ray Ni --- UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.c | 18 --------------= ---- 1 file changed, 18 deletions(-) diff --git a/UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.c b/UefiP= ayloadPkg/Library/ResetSystemLib/ResetSystemLib.c index 3fe3c805afe0..2e4b7fe59261 100644 --- a/UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.c +++ b/UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.c @@ -131,24 +131,6 @@ ResetShutdown ( ASSERT (FALSE); } =20 -/** - Calling this function causes the system to enter a power state for capsu= le - update. - - Reset update should not return, if it returns, it means the system does - not support capsule update. - -**/ -VOID -EFIAPI -EnterS3WithImmediateWake ( - VOID - ) -{ - AcpiPmControl (5); - ASSERT (FALSE); -} - /** This function causes a systemwide reset. The exact type of the reset is defined by the EFI_GUID that follows the Null-terminated Unicode string = passed --=20 2.20.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 (#52931): https://edk2.groups.io/g/devel/message/52931 Mute This Topic: https://groups.io/mt/69466936/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- From nobody Mon Apr 29 05:10:04 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+52932+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+52932+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1578323600; cv=none; d=zohomail.com; s=zohoarc; b=KQVz+n3+x4ZmNB+ho3/hSO6skxJSvKm3umdlo9oRRhPQ5w9SAgFi0HluYvWc36w/VFqLLJrXenaMP3jvxF5Nzc/Vis7YfGuN+jEWLfqp30mW1xXHE1XIdfpCj3KbWfdHQw1P54eaWO2A/zmTlVv+T0fP8+AIEuZbZhuCsczZmPk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578323600; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=hnkyVwS7Pxpzu0LmiME2kqWJwBmGB59cxE8gYFKXr1s=; b=fAUb3n8yJADCEkJDIk4uJGiACGwmd3C7tqnWBcV79xGnfIKU60HNUIruevOKfidtSqhOtT0ku3BkaoVKxK/fFOvc7r+U1VXpo5Qale6aqAO9xmev4gl9xwFuRoi1MgDNt7Om7pMlxRRMB25Wi9/KWUcGZ1uN/W2Tgxeonou2Hfg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+52932+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1578323600369705.5150354879307; Mon, 6 Jan 2020 07:13:20 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id B8ANYY1788612xDE7S6GtNIn; Mon, 06 Jan 2020 07:13:19 -0800 X-Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by mx.groups.io with SMTP id smtpd.web12.4856.1578323599021928704 for ; Mon, 06 Jan 2020 07:13:19 -0800 X-Received: by mail-wm1-f66.google.com with SMTP id p17so15630981wma.1 for ; Mon, 06 Jan 2020 07:13:18 -0800 (PST) X-Gm-Message-State: HSc90x1BhPczOTsvD9LhvVMpx1787277AA= X-Google-Smtp-Source: APXvYqyRLNNtQB+z/5HNUOhYeS4h8VxOZB9z8g756ueCSlW5SQNHeuXkMz+pQ9n1zR3YAEFEcuKdoQ== X-Received: by 2002:a7b:cf12:: with SMTP id l18mr37295632wmg.66.1578323597464; Mon, 06 Jan 2020 07:13:17 -0800 (PST) X-Received: from localhost.localdomain ([2a01:cb1d:112:6f00:6051:f896:58f1:b2e4]) by smtp.gmail.com with ESMTPSA id o16sm24484137wmc.18.2020.01.06.07.13.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2020 07:13:16 -0800 (PST) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: maurice.ma@intel.com, guo.dong@intel.com, benjamin.you@intel.com, ray.ni@intel.com, liming.gao@intel.com, hao.a.wu@intel.com, lersek@redhat.com, Ard Biesheuvel Subject: [edk2-devel] [PATCH 4/5] OvmfPkg: remove EnterS3WithImmediateWake () from ResetSystemLib Date: Mon, 6 Jan 2020 16:13:09 +0100 Message-Id: <20200106151310.12322-5-ard.biesheuvel@linaro.org> In-Reply-To: <20200106151310.12322-1-ard.biesheuvel@linaro.org> References: <20200106151310.12322-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 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,ard.biesheuvel@linaro.org Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1578323599; bh=Rg6cOxAqpg/L24LCVvx0OLTSku3cg3IBY5F5eTO5EIQ=; h=Cc:Date:From:Reply-To:Subject:To; b=Mprep2XXan10FjDfPUtZfioiCXaaX1RbvyyPgNeuS4ObNcqGjCqBXtTcsBVaSm64ja3 Gk3Suonjq1WRPnLJ8Gx8z6BOuuDOeW4OsmYIrXN5tt/U1BdR2UHe8eYfaJmA/LuTujBGe /yRfew2vsEqmhfSR3UFwws4y7JdhLgb2K0w= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" EnterS3WithImmediateWake () no longer has any callers, so remove it from ResetSystemLib. Signed-off-by: Ard Biesheuvel Reviewed-by: Laszlo Ersek Reviewed-by: Ray Ni --- OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c b/OvmfPkg/Libr= ary/ResetSystemLib/ResetSystemLib.c index 98dd80e33c05..2f2e1293a3ef 100644 --- a/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c +++ b/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c @@ -101,24 +101,6 @@ ResetShutdown ( } =20 =20 -/** - Calling this function causes the system to enter a power state for capsu= le - update. - - Reset update should not return, if it returns, it means the system does - not support capsule update. - -**/ -VOID -EFIAPI -EnterS3WithImmediateWake ( - VOID - ) -{ - AcpiPmControl (1); - ASSERT (FALSE); -} - /** This function causes a systemwide reset. The exact type of the reset is defined by the EFI_GUID that follows the Null-terminated Unicode string = passed --=20 2.20.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 (#52932): https://edk2.groups.io/g/devel/message/52932 Mute This Topic: https://groups.io/mt/69466939/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- From nobody Mon Apr 29 05:10:04 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+52933+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+52933+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1578323601; cv=none; d=zohomail.com; s=zohoarc; b=C3nAd74X+EFjft3I9F4Fnd43oaN00Ap+gGNv5zbpx9CM0AMw7HHkKJRtJlGFwxKFhctCFc5vWxstdCgmyOzXMrIuuqca0+JNWW15CRHYZorHzyM7hcp/CufsyQqMDw2UU5spZ4jUct/SJ8U5zU0TvtXPkb3Me2u9mObm8eujFTA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578323601; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=owT2vwJxmKuo9eNW6/Hqj1uP5EKJWauUp59r7qbbqc4=; b=M+oVgoZX3sYypYQOLNDKZtX7U/sRNnE5/2/BfPETllhONv5uyPd7oInK0YbCeFImdTPyNaqu3SXQ7BjRk1U2n/xBTbFB58Ejlv1nfzYCrvd6CHQbsAky2KBvZX91IoNxYRwvtdMNijDWKzR+byzOF6xka3W9VcBFHPHulXKIODc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+52933+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1578323601225996.7032756776824; Mon, 6 Jan 2020 07:13:21 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id NvdIYY1788612x51HPrIkOCC; Mon, 06 Jan 2020 07:13:20 -0800 X-Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by mx.groups.io with SMTP id smtpd.web09.4824.1578323600119938521 for ; Mon, 06 Jan 2020 07:13:20 -0800 X-Received: by mail-wm1-f66.google.com with SMTP id m24so15306572wmc.3 for ; Mon, 06 Jan 2020 07:13:19 -0800 (PST) X-Gm-Message-State: PYPpZihmIiE1GRvWTiEFu6ZOx1787277AA= X-Google-Smtp-Source: APXvYqwHsZviFgaYBWxXEhzqLcMplTlhYLptINYZAtN1vIbsENWmyazrmajIgY6BpT0WRgUDyPQx2g== X-Received: by 2002:a1c:7406:: with SMTP id p6mr34402524wmc.82.1578323598536; Mon, 06 Jan 2020 07:13:18 -0800 (PST) X-Received: from localhost.localdomain ([2a01:cb1d:112:6f00:6051:f896:58f1:b2e4]) by smtp.gmail.com with ESMTPSA id o16sm24484137wmc.18.2020.01.06.07.13.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2020 07:13:17 -0800 (PST) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: maurice.ma@intel.com, guo.dong@intel.com, benjamin.you@intel.com, ray.ni@intel.com, liming.gao@intel.com, hao.a.wu@intel.com, lersek@redhat.com, Ard Biesheuvel Subject: [edk2-devel] [PATCH 5/5] ArmVirtPkg: remove EnterS3WithImmediateWake () from ResetSystemLib Date: Mon, 6 Jan 2020 16:13:10 +0100 Message-Id: <20200106151310.12322-6-ard.biesheuvel@linaro.org> In-Reply-To: <20200106151310.12322-1-ard.biesheuvel@linaro.org> References: <20200106151310.12322-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 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,ard.biesheuvel@linaro.org Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1578323600; bh=30jI+lY1rIUkEIChHg5GlX6h0zgRi4XGeXQBugkU8qU=; h=Cc:Date:From:Reply-To:Subject:To; b=B0P/Bjw7tl8g570ghvJBPOsXij+K/YoF3XlhbyP9GrTsh77V6uJ0miG27wPPQg6/y+n f1rEawESq6cDPGKOH6uTThZqyDsONAgKnnusBQu4xj2faR3Y7WuHYPXE0Q24uGokM6URu RRzSJlIqPkEdg13IvBDZPC2TWitOcZfmrOA= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" EnterS3WithImmediateWake () no longer has any callers, so remove it from ResetSystemLib. Signed-off-by: Ard Biesheuvel Reviewed-by: Laszlo Ersek Reviewed-by: Ray Ni --- ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.c |= 14 -------------- 1 file changed, 14 deletions(-) diff --git a/ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetS= ystemLib.c b/ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetS= ystemLib.c index fdf49e1d9c7a..9e5b70e2c54c 100644 --- a/ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLi= b.c +++ b/ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLi= b.c @@ -145,20 +145,6 @@ ResetShutdown ( } } =20 -/** - This function causes the system to enter S3 and then wake up immediately. - - If this function returns, it means that the system does not support S3 f= eature. -**/ -VOID -EFIAPI -EnterS3WithImmediateWake ( - VOID - ) -{ - // not implemented -} - /** This function causes a systemwide reset. The exact type of the reset is defined by the EFI_GUID that follows the Null-terminated Unicode string = passed --=20 2.20.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 (#52933): https://edk2.groups.io/g/devel/message/52933 Mute This Topic: https://groups.io/mt/69466940/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-