From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bounce+27952+114398+7686176+12367111@groups.io>
Received: from mail02.groups.io (mail02.groups.io [66.175.222.108])
	by spool.mail.gandi.net (Postfix) with ESMTPS id 94877D801B3
	for <rebecca@openfw.io>; Thu, 25 Jan 2024 12:17:34 +0000 (UTC)
DKIM-Signature: a=rsa-sha256; bh=TxSeX5rs2K5tXFdYZi2T8ZeawSodKitf9dkCH2j03tA=;
 c=relaxed/simple; d=groups.io;
 h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Disposition;
 s=20140610; t=1706185053; v=1;
 b=h5gGfMTna5gTfVZQgnH+7kJPCCDk41ex0+xBI7wV8ksJR80KTxr9vlDh28NHirMYuFFmd83E
 a/GBg1MzbgGRhX4ytc3synbvFcYyYPOHb3nNmMo8n1015dsHtWUCAW+hE3DKv6KgVkQoJ54CEpD
 WN/ccWjBVaoX/yQJWubjkcgI=
X-Received: by 127.0.0.2 with SMTP id KarKYY7687511xRIo165cEny; Thu, 25 Jan 2024 04:17:33 -0800
X-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.web10.16079.1706185052471421500
 for <devel@edk2.groups.io>;
 Thu, 25 Jan 2024 04:17:32 -0800
X-Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com
 [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS
 (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id
 us-mta-530-TZcM1pxaMSa0gKuxCKB0bw-1; Thu, 25 Jan 2024 07:17:27 -0500
X-MC-Unique: TZcM1pxaMSa0gKuxCKB0bw-1
X-Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
	(No client certificate requested)
	by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 073AE8350AD;
	Thu, 25 Jan 2024 12:17:27 +0000 (UTC)
X-Received: from sirius.home.kraxel.org (unknown [10.39.192.43])
	by smtp.corp.redhat.com (Postfix) with ESMTPS id 7922751D5;
	Thu, 25 Jan 2024 12:17:25 +0000 (UTC)
X-Received: by sirius.home.kraxel.org (Postfix, from userid 1000)
	id C14011801A8A; Thu, 25 Jan 2024 13:17:24 +0100 (CET)
Date: Thu, 25 Jan 2024 13:17:24 +0100
From: "Gerd Hoffmann" <kraxel@redhat.com>
To: "Ni, Ray" <ray.ni@intel.com>
Cc: "devel@edk2.groups.io" <devel@edk2.groups.io>, 
	Liming Gao <gaoliming@byosoft.com.cn>, =?utf-8?B?TMOhc3psw7Mgw4lyc2Vr?= <lersek@redhat.com>, 
	Oliver Steffen <osteffen@redhat.com>
Subject: Re: [edk2-devel] [PATCH v2 1/2] MdeModulePkg: rename PcdUse5LevelPageTable to PcdEnable5LevelPageTable
Message-ID: <yr4cjvnzr4ljv32ctw37pw2sdrok4alxntfmxon7t6m3q7kdgf@eivnhofnu5fa>
References: <20240125082057.309133-1-kraxel@redhat.com>
 <20240125082057.309133-2-kraxel@redhat.com>
 <MN6PR11MB824498DF68A6F4865C8C432F8C7A2@MN6PR11MB8244.namprd11.prod.outlook.com>
MIME-Version: 1.0
In-Reply-To: <MN6PR11MB824498DF68A6F4865C8C432F8C7A2@MN6PR11MB8244.namprd11.prod.outlook.com>
X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Precedence: Bulk
List-Subscribe: <mailto:devel+subscribe@edk2.groups.io>
List-Help: <mailto:devel+help@edk2.groups.io>
Sender: devel@edk2.groups.io
List-Id: <devel.edk2.groups.io>
Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io
Reply-To: devel@edk2.groups.io,kraxel@redhat.com
List-Unsubscribe-Post: List-Unsubscribe=One-Click
List-Unsubscribe: <https://edk2.groups.io/g/devel/leave/12367111/7686176/1913456212/plugh>
X-Gm-Message-State: 0gcgrDzXt1FiBosMN5Vdmjmix7686176AA=
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-GND-Status: LEGIT
Authentication-Results: spool.mail.gandi.net;
	dkim=pass header.d=groups.io header.s=20140610 header.b=h5gGfMTn;
	spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io;
	dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=redhat.com (policy=none)

On Thu, Jan 25, 2024 at 12:01:46PM +0000, Ni, Ray wrote:
> Rename an existing PCD might break lots of platform builds.
> 
> When 5-level paging capability was added to ResetVector, I also
> considered to remove the PcdUse5LevelPageTable reference from C code.
> 
> Let me think about it...

Purging this completely from the source code is fine with me too.

>From OVMF point of view this is not needed, all backward compatibility
concerns for old guests without 5-level paging support can be solved by
just removing la57 capability from the vCPU (qemu -cpu host,la57=off).

take care,
  Gerd



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#114398): https://edk2.groups.io/g/devel/message/114398
Mute This Topic: https://groups.io/mt/103950404/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-