Skip to content

Commit

Permalink
cpuid: Handle more AMD specific topology leafs
Browse files Browse the repository at this point in the history
These leafs are relevant for topology, multithreading and other aspects
of topology configuration. See AMD Architecture Programmers Manual
(Publication #40332) for the single leafs details.

Signed-off-by: Anatol Belski <[email protected]>
  • Loading branch information
weltling committed Sep 25, 2023
1 parent c29662f commit 41eff55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mshv-ioctls/src/ioctls/vcpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,8 @@ impl VcpuFd {
subleaf_specific = Some(1);
override_arg = None;
}
0x0000_0001 | 0x8000_0008 => {
0x0000_0001 | 0x8000_0000 | 0x8000_0001 | 0x8000_0008 | 0x8000_001e
| 0x8000_0026 => {
subleaf_specific = None;
override_arg = Some(1);
}
Expand Down

0 comments on commit 41eff55

Please sign in to comment.