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 54F9DAC14F5 for ; Tue, 30 Jan 2024 19:24:03 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=egxYw31DFRRzdJOe6sZM9EmPNsfz06hN3FkDVq0HYmg=; 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=1706642642; v=1; b=mlBzLMQrlp6KD/4Z7ylHgxDn1nyp2Ge1e8XsdhMcFi2HUKJa2hRtErh14QYxgLJLMBzybfYs W7wcMvLFReyfw+bC1SC1i/JFnAZCpu+diD7PRmbWxtavC9/LFjvm12wIFD58CRq/P6PBLvp88p8 JHApzfVLZuHACWcDyyZNh1uE= X-Received: by 127.0.0.2 with SMTP id HgVSYY7687511xxPbJIBVUsU; Tue, 30 Jan 2024 11:24:02 -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.web11.5533.1706642641459527677 for ; Tue, 30 Jan 2024 11:24:01 -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-150-GmvaYJBfPca1W1cZo3iT6w-1; Tue, 30 Jan 2024 14:23:57 -0500 X-MC-Unique: GmvaYJBfPca1W1cZo3iT6w-1 X-Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (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 6AB0910B02A2; Tue, 30 Jan 2024 19:23:56 +0000 (UTC) X-Received: from [10.39.192.28] (unknown [10.39.192.28]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7C0DA492BE2; Tue, 30 Jan 2024 19:23:53 +0000 (UTC) Message-ID: <82cb7849-63c6-b132-c438-c7cc6a6029a3@redhat.com> Date: Tue, 30 Jan 2024 20:23:52 +0100 MIME-Version: 1.0 Subject: Re: [edk2-devel] [PATCH v3 2/4] MdePkg/ArchitecturalMsr.h: add #defines for MTRR cache types To: devel@edk2.groups.io, kraxel@redhat.com Cc: Michael Roth , Oliver Steffen , Jiewen Yao , Tom Lendacky , Min Xu , Ard Biesheuvel , Erdem Aktas References: <20240130130441.772484-1-kraxel@redhat.com> <20240130130441.772484-3-kraxel@redhat.com> From: "Laszlo Ersek" In-Reply-To: <20240130130441.772484-3-kraxel@redhat.com> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 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: cIRcJpfqTSaeJltz4EUoS3iqx7686176AA= 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=mlBzLMQr; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=redhat.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io On 1/30/24 14:04, Gerd Hoffmann wrote: > Signed-off-by: Gerd Hoffmann > --- > MdePkg/Include/Register/Intel/ArchitecturalMsr.h | 7 +++++++ > 1 file changed, 7 insertions(+) >=20 > diff --git a/MdePkg/Include/Register/Intel/ArchitecturalMsr.h b/MdePkg/In= clude/Register/Intel/ArchitecturalMsr.h > index 756e7c86ec31..2b2e34b08c8b 100644 > --- a/MdePkg/Include/Register/Intel/ArchitecturalMsr.h > +++ b/MdePkg/Include/Register/Intel/ArchitecturalMsr.h > @@ -2103,6 +2103,13 @@ typedef union { > #define MSR_IA32_MTRR_PHYSBASE9 0x00000212 > /// @} > =20 > +#define MSR_IA32_MTRR_CACHE_UNCACHEABLE 0 > +#define MSR_IA32_MTRR_CACHE_WRITE_COMBINING 1 > +#define MSR_IA32_MTRR_CACHE_WRITE_THROUGH 4 > +#define MSR_IA32_MTRR_CACHE_WRITE_PROTECTED 5 > +#define MSR_IA32_MTRR_CACHE_WRITE_BACK 6 > +#define MSR_IA32_MTRR_CACHE_INVALID_TYPE 7 > + > /** > MSR information returned for MSR indexes #MSR_IA32_MTRR_PHYSBASE0 to > #MSR_IA32_MTRR_PHYSBASE9 Reviewed-by: Laszlo Ersek -=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 (#114819): https://edk2.groups.io/g/devel/message/114819 Mute This Topic: https://groups.io/mt/104052589/7686176 Mute #defines:https://edk2.groups.io/g/devel/mutehashtag/defines 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-