Skip to content

Cpuid passthrough mutable fields#77

Open
olivereanderson wants to merge 2 commits intocyberus-technology:gardenlinuxfrom
olivereanderson:cpuid-passthrough-mutable-fields
Open

Cpuid passthrough mutable fields#77
olivereanderson wants to merge 2 commits intocyberus-technology:gardenlinuxfrom
olivereanderson:cpuid-passthrough-mutable-fields

Conversation

@olivereanderson
Copy link

@olivereanderson olivereanderson commented Feb 6, 2026

As I was reading through the Intel SDM I happened to stumble upon a section about runtime mutable CPUID fields
(Section 21.1.5 in Vol.1). This made me realize that we probably chose wrong policies for OSXSAVE and OSPKE.

There are a few more mutable fields mentioned in the manual, but we already spent some time finding and deliberately setting appropriate policies for those hence I think they can be left as is.

CPUID leaf 0x1 ECX[27] and 0x7 ECX[4] can change at runtime, hence it
does not make sense to set their values in the CPU profile.

Note that Section 21.1.5 of the Intel SDM Vol.1, mentions a few other
mutable CPUID fields as well, but we deem it safe to leave them as
the are.

Signed-off-by: Oliver Anderson <oliver.anderson@cyberus-technology.de>
On-behalf-of: SAP oliver.anderson@sap.com
We regenerate the CPU profiles to take the policy changes from the
previous commit into account.

Signed-off-by: Oliver Anderson <oliver.anderson@cyberus-technology.de>
On-behalf-of: SAP oliver.anderson@sap.com
@olivereanderson olivereanderson self-assigned this Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants