From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web11.14555.1684820681114649099 for ; Mon, 22 May 2023 22:44:41 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=YS0xBP2L; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1684820680; 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=QdwtRcvA/airM6Fib54Ccm8uOs9wN+dZdR9Y5YT5sKU=; b=YS0xBP2LZoGWLd8nrHx7mHiHCaLtDqhIXQfbSyslMyNHRPNRterWDYpTyLBvUy/oTnImpO zGUJD0ltAE/PSMMl5R31hA2BxnuGfv78FZ9V0EyV9FFiu1Lfavch6uim8az8jy2qiN1LAC dkSVbg6tDFZHF1+kq4LJ4LnyoF7x2XE= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-46-P3F7rsGoO1uiQhrx0YIuEA-1; Tue, 23 May 2023 01:44:37 -0400 X-MC-Unique: P3F7rsGoO1uiQhrx0YIuEA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7EA553C02524; Tue, 23 May 2023 05:44:36 +0000 (UTC) Received: from [10.39.192.98] (unknown [10.39.192.98]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BA6CD1121314; Tue, 23 May 2023 05:44:33 +0000 (UTC) Message-ID: <3d682c21-f7f1-8e23-b5a5-92e3fa51dd39@redhat.com> Date: Tue, 23 May 2023 07:44:31 +0200 MIME-Version: 1.0 Subject: Re: managing memory attributes in PEI To: Gerd Hoffmann , Ard Biesheuvel Cc: edk2-devel-groups-io , Ray Ni , Jiewen Yao , Taylor Beebe , Oliver Smith-Denny References: From: "Laszlo Ersek" In-Reply-To: X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 5/22/23 14:06, Gerd Hoffmann wrote: >> So my questions are: >> - do we need to retain mixed IA32 / X64 support, and if so, why? (I >> think it is related to SMM emulation but I need someone to confirm >> this) > > Yes, it's SMM related. S3 suspend in SMM-enabled builds requires > 32bit PEI. > > Intel seems to be working on removing the IA32 dependency, by adding > full X64 support to various places in the code base. There have been > numerous patch sets on the list over the last months, some of them > are merged meanwhile. As far I know the patch series addressing the > suspend problem is not yet merged (Ray, Jiewen, please correct me if > I'm wrong). You've forgotten about our discussion in :) > So, right now we still need that, but I expect that to change in near > future. BTW just last evening I found out about X86-S: - https://www.phoronix.com/news/Intel-X86-S-64-bit-Only - https://www.intel.com/content/www/us/en/developer/articles/technical/envisioning-future-simplified-architecture.html - https://cdrdv2.intel.com/v1/dl/getContent/776648 I'm slightly curious if those IA32->X64 "replacement" patches you mention are related to X86-S ;) Laszlo