From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 4CBBAD8119E for ; Wed, 31 Jan 2024 11:23:09 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=XKsciAi/7zw1rwFnJ1xO6IBX9vXVimYV23sjP+BErsw=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1706700187; v=1; b=mOu2dLiqqUsKMtwDlECTjCgATtboDKHz3U/AouA7hobdkJe49IlrQq6Zz+UY5xnYpbZ5SvU5 gf2tZVLxdZUmvPk4aZcy4koD7n1csCASI/SDSOu/mCu8n8Qn2WIWxKTcerrj5dDFgjqne0DTA4E xEpyHZO1w07ZFKFRs1s1SwXg= X-Received: by 127.0.0.2 with SMTP id WruvYY7687511xMLWkoAD0T0; Wed, 31 Jan 2024 03:23:07 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web11.11709.1706700187063350006 for ; Wed, 31 Jan 2024 03:23:07 -0800 X-Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-675-c1xoVguWNa-jpypQ-2pW3A-1; Wed, 31 Jan 2024 06:23:02 -0500 X-MC-Unique: c1xoVguWNa-jpypQ-2pW3A-1 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (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 8580828B6AAD; Wed, 31 Jan 2024 11:23:01 +0000 (UTC) X-Received: from [10.39.192.35] (unknown [10.39.192.35]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 949ABC0FDF1; Wed, 31 Jan 2024 11:22:59 +0000 (UTC) Message-ID: <93b2aa7c-0159-a474-962a-1270630c8fd9@redhat.com> Date: Wed, 31 Jan 2024 12:22:58 +0100 MIME-Version: 1.0 Subject: Re: [edk2-devel] [PATCH v2 3/5] OvmfPkg/ResetVector: improve page table flag names To: devel@edk2.groups.io, kraxel@redhat.com Cc: Pedro Falcato , Erdem Aktas , Oliver Steffen , Jiewen Yao , Ard Biesheuvel , Min Xu , Tom Lendacky , Michael Roth , Liming Gao References: <20240130123204.764453-1-kraxel@redhat.com> <20240130123204.764453-4-kraxel@redhat.com> <69c99682-80b5-274d-4f8e-c8c8f4ed5e7a@redhat.com> From: "Laszlo Ersek" In-Reply-To: X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Subscribe: List-Help: 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 List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: qZESWQ2nHLOwMccnXlBRwextx7686176AA= Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=mOu2dLiq; 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 1/31/24 09:14, Gerd Hoffmann wrote: > Hi, >=20 >>> Technically, if we want to be pedantic, these are PDPTEs (or PDPs I >>> guess), so PDE is misleading here. >> >> I remembered the fact that the SDM used different terms for different >> table levels, but honestly, I've never been able to keep all those in my >> mind for longer than 5 minutes. I recall them as fairly arbitrary. >=20 > The names made sense back in the 90-ies when we had only two or three > (with PAE) paging levels on x86. Nowdays with up to 5 levels not so > much. I likewise can't remember all the names, so I very much prefer > to work with level numbers. >=20 > The bits for the lowest level are slightly different from all levels > above, Right; I've not checked recently (and I certainly can't just recall the details), but this has been my "operating impression" anyway, and I felt that your macro names were a good match: > and I've used the level 1 + level 2 names (page table entry and > page directory entry) to name them. Pedro, what say you? Thanks, Laszlo -=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 (#114879): https://edk2.groups.io/g/devel/message/114879 Mute This Topic: https://groups.io/mt/104052210/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/leave/12367111/7686176/19134562= 12/xyzzy [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-