From nobody Sat May 4 04:48:52 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+41886+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+41886+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1559674729; cv=none; d=zoho.com; s=zohoarc; b=CSfuJXV3wEAXCid7gjjPR4Tkw+E6Kj+DyYhvTYB9nBLpXyy9DlTGnZaIXjTQlNlracwMDM1Hk7dlSF+gBxnBjASMo1IJFQRsz1b6coJNxFzgowWnlcS/SIBlHBo74aFSR19o4Evw+kRozTephdC0ugOT1Yae7aZFupS0t4yYQkY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1559674729; h=Content-Transfer-Encoding:Cc:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To:ARC-Authentication-Results; bh=aH39jc+24ZQjXDSmg6NFl8CGwodmxjOJ24L6zxBQrMg=; b=FrFvmhefDLP2yNj/6KGRkVIQpOIpVLpNprE61imaU9lVYhDqcj3YnqrfxK41rfndyS7/JKbNmgTMKuVWoyuY4C8YKRh5yXgmpSXqWX5utwT+PN2CQAceEpilOaFv5G/6NAtXUw3g/rwnltOWfKHX8F9Sh2WKwzNu/oQqMmzn+aQ= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+41886+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 1559674729494333.0511913191714; Tue, 4 Jun 2019 11:58:49 -0700 (PDT) Return-Path: X-Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by groups.io with SMTP; Tue, 04 Jun 2019 11:58:47 -0700 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C1E9330018E0; Tue, 4 Jun 2019 18:58:46 +0000 (UTC) X-Received: from lacos-laptop-7.usersys.redhat.com (ovpn-117-251.ams2.redhat.com [10.36.117.251]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2D2F419C65; Tue, 4 Jun 2019 18:58:45 +0000 (UTC) From: "Laszlo Ersek" To: edk2-devel-groups-io Cc: Ard Biesheuvel , Hao A Wu , Jian J Wang , Liming Gao , Ray Ni , Star Zeng Subject: [edk2-devel] [PATCH for-edk2-stable201905] Revert "EmulatorPkg: don't display the cpu current speed" Date: Tue, 4 Jun 2019 20:58:43 +0200 Message-Id: <20190604185843.22059-1-lersek@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Tue, 04 Jun 2019 18:58:46 +0000 (UTC) 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,lersek@redhat.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1559674728; bh=TxP/cuQqNgnkYRocScv3tBz9ovlG9zfTRkxvh1sP8ag=; h=Cc:Date:From:Reply-To:Subject:To; b=WBicpDN9xI5HNa3RUxpiAraBJpa9zk2MnyHyvCgmIbFWC3ME82cftfcOQRCjsd7tlhM 0iFJcoWURk1lMxRntKnZE7ICkAbfJyvEDJ0fZc8KDbHpq4A8wLf2cio75SQEyRMUKTo9G jeN8FtiqhRd8b2PrUVkrgUO8UjrykTcQskI= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" This reverts commit 7cea4d71a8a87a93924a07ab32348332f5881ef9. Said commit was not suitable for pushing during the edk2-stable201905 hard feature freeze; it was pushed only by mistake. The subject line referenced EmulatorPkg, but the patch changed MdeModulePkg/UiApp, regressing the display of the CPU speed from SMBIOS in multiple platforms. Cc: Ard Biesheuvel Cc: Hao A Wu Cc: Jian J Wang Cc: Liming Gao Cc: Ray Ni Cc: Star Zeng Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1877 Signed-off-by: Laszlo Ersek Reviewed-by: Liming Gao --- Notes: Repo: https://github.com/lersek/edk2.git Branch: revert_cpu_speed_hide MdeModulePkg/Application/UiApp/FrontPage.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MdeModulePkg/Application/UiApp/FrontPage.c b/MdeModulePkg/Appl= ication/UiApp/FrontPage.c index fded7634062a..4b95cccb5cf5 100644 --- a/MdeModulePkg/Application/UiApp/FrontPage.c +++ b/MdeModulePkg/Application/UiApp/FrontPage.c @@ -621,6 +621,11 @@ UpdateFrontPageBannerStrings ( HiiSetString (gFrontPagePrivate.HiiHandle, STRING_TOKEN (STR_FRONT= _PAGE_CPU_MODEL), NewString, NULL); FreePool (NewString); =20 + ConvertProcessorToString(Type4Record->CurrentSpeed, 6, &NewString); + UiCustomizeFrontPageBanner (2, FALSE, &NewString); + HiiSetString (gFrontPagePrivate.HiiHandle, STRING_TOKEN (STR_FRONT= _PAGE_CPU_SPEED), NewString, NULL); + FreePool (NewString); + FoundCpu =3D TRUE; } } --=20 2.19.1.3.g30247aa5d201 -=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 (#41886): https://edk2.groups.io/g/devel/message/41886 Mute This Topic: https://groups.io/mt/31929712/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-