From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.61]) by mx.groups.io with SMTP id smtpd.web11.5913.1578328206378634431 for ; Mon, 06 Jan 2020 08:30:06 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZEcL0eLc; spf=pass (domain: redhat.com, ip: 205.139.110.61, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578328205; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ENadr+xhYmqu/ICbpSIrCioLePsl2XaSItT0m8PFU+Y=; b=ZEcL0eLcJLFH5H86uOczIXz52C1fPYKFzjspYFi5jrrb5OpxPie+owXRpo4GFEnkSky0cC JEmrMtmTXG0F5LIxA5KyoQRQTw1C6vVPDXmotN2V6QornnTzod3dTaSX674cNs3+5wTL0l NMRyeBauCM0s+HbWP+oudtRV6xzxuQM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-168-rSFHg9FSMl-PVcEIPrTgqA-1; Mon, 06 Jan 2020 11:30:02 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 892F7800D4C; Mon, 6 Jan 2020 16:30:00 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-117-24.ams2.redhat.com [10.36.117.24]) by smtp.corp.redhat.com (Postfix) with ESMTP id D0430858B1; Mon, 6 Jan 2020 16:29:58 +0000 (UTC) Subject: Re: [PATCH 5/5] ArmVirtPkg: remove EnterS3WithImmediateWake () from ResetSystemLib To: Ard Biesheuvel , 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 References: <20200106151310.12322-1-ard.biesheuvel@linaro.org> <20200106151310.12322-6-ard.biesheuvel@linaro.org> From: "Laszlo Ersek" Message-ID: Date: Mon, 6 Jan 2020 17:29:57 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20200106151310.12322-6-ard.biesheuvel@linaro.org> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-MC-Unique: rSFHg9FSMl-PVcEIPrTgqA-1 X-Mimecast-Spam-Score: 0 Content-Language: en-US Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 01/06/20 16:13, Ard Biesheuvel wrote: > EnterS3WithImmediateWake () no longer has any callers, so remove it > from ResetSystemLib. > > Signed-off-by: Ard Biesheuvel > --- > ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.c | 14 -------------- > 1 file changed, 14 deletions(-) > > diff --git a/ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.c b/ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.c > index fdf49e1d9c7a..9e5b70e2c54c 100644 > --- a/ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.c > +++ b/ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.c > @@ -145,20 +145,6 @@ ResetShutdown ( > } > } > > -/** > - 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 feature. > -**/ > -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 > Reviewed-by: Laszlo Ersek