From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.groups.io with SMTP id smtpd.web09.13751.1611074691343707124 for ; Tue, 19 Jan 2021 08:44:51 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Zm8R4gnF; spf=pass (domain: redhat.com, ip: 216.205.24.124, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611074690; h=from:from:reply-to: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=ZViN7qIlbzoX4BddovlT+y41NJ7W/n0OjN3US1rScJ0=; b=Zm8R4gnF8LVhabga+HpybFIq5m0l5XVo3XKDEGZiUb+stV879tRZ4I0sHsGxlh9edRLS7F C2HmyGMfuY8HpqqspJO5hWvqMK54uZqXc1TC7+XnJgquD3WN37TpLUeUAZ7P0tTGRjh38h XvdjhoUjs+LSSmrI5Le8V72nAPPgGBA= 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-201-G_asq73GNc-I_TkAl0YMZA-1; Tue, 19 Jan 2021 11:44:44 -0500 X-MC-Unique: G_asq73GNc-I_TkAl0YMZA-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5B595107ACE3; Tue, 19 Jan 2021 16:44:43 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-114-176.ams2.redhat.com [10.36.114.176]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6511A5D9F8; Tue, 19 Jan 2021 16:44:41 +0000 (UTC) Subject: Re: [edk2-devel] [PATCH v2 0/4] UefiCpuPkg, OvmfPkg: do not allocate useless register tables for S3 resume From: "Laszlo Ersek" To: edk2-devel-groups-io Cc: Ard Biesheuvel , Eric Dong , Jordan Justen , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , Rahul Kumar , Ray Ni , Star Zeng Reply-To: devel@edk2.groups.io, lersek@redhat.com References: <20210119155440.2262-1-lersek@redhat.com> Message-ID: Date: Tue, 19 Jan 2021 17:44:40 +0100 MIME-Version: 1.0 In-Reply-To: <20210119155440.2262-1-lersek@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=lersek@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit On 01/19/21 16:54, Laszlo Ersek wrote: > Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3159 > Repo: https://pagure.io/lersek/edk2.git > Branch: remove-cpu-reg-table-alloc-3159-v2 > > Updates in v2: > > - v1 patches have not received any updates, I've only picked up the > feedback tags. I didn't regenerate the CC's for the v1-originated patches, so the CC list still uses Ard's @arm.com email address. I don't think that's a problem for this specific posting (and I expect to merge this series once Eric or Star approves patch v2 #1). Thanks Laszlo > > - Patch v2 #1 -- for RegisterCpuFeaturesLib -- is new; authored by Ray > and updated slightly by myself. Star and/or Eric should please approve > this patch. > > v1 was posted at: > > [edk2-devel] [PATCH 0/3] UefiCpuPkg, OvmfPkg: do not allocate useless > register tables for S3 resume > > Message-Id: <20210112191934.12459-1-lersek@redhat.com> > https://edk2.groups.io/g/devel/message/70167 > https://www.redhat.com/archives/edk2-devel-archive/2021-January/msg00652.html > > Cc: Ard Biesheuvel > Cc: Eric Dong > Cc: Jordan Justen > Cc: Philippe Mathieu-Daudé > Cc: Rahul Kumar > Cc: Ray Ni > Cc: Star Zeng > > Thanks > Laszlo > > Laszlo Ersek (3): > UefiCpuPkg/AcpiCpuData: update comments on register table fields > UefiCpuPkg/CpuS3DataDxe: do not allocate useless register tables > OvmfPkg/CpuS3DataDxe: do not allocate useless register tables > > Ray Ni (1): > UefiCpuPkg/CpuFeature: Don't assume CpuS3DataDxe alloc RegisterTable > > OvmfPkg/CpuS3DataDxe/CpuS3Data.c | 70 +---------------- > OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf | 1 - > UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c | 32 -------- > UefiCpuPkg/Include/AcpiCpuData.h | 4 + > UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeaturesLib.c | 80 +++++++++++--------- > 5 files changed, 48 insertions(+), 139 deletions(-) > > > base-commit: 83facfd184021874f95a6a34b2e47e0ebb34a762 >