mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
x86/cpu-policy: define bits of leaf 6
... as far as we presently use them in the codebase. Signed-off-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Jason Andryuk <jason.andryuk@amd.com>
This commit is contained in:
1 parent
e80f4da85b
commit
93b6695bbc
1 file changed
+36
-1
@@ -121,7 +121,42 @@ struct cpu_policy
|
||||
uint64_t :64, :64; /* Leaf 0x3 - PSN. */
|
||||
uint64_t :64, :64; /* Leaf 0x4 - Structured Cache. */
|
||||
uint64_t :64, :64; /* Leaf 0x5 - MONITOR. */
|
||||
uint64_t :64, :64; /* Leaf 0x6 - Therm/Perf. */
|
||||
|
||||
/* Leaf 0x6 - Therm/Perf. */
|
||||
union {
|
||||
uint32_t _6a;
|
||||
struct {
|
||||
bool :1,
|
||||
turbo_boost:1,
|
||||
arat:1,
|
||||
:1,
|
||||
:1,
|
||||
:1,
|
||||
:1,
|
||||
hwp:1,
|
||||
hwp_interrupt:1,
|
||||
hwp_activity_window:1,
|
||||
hwp_epp:1,
|
||||
hwp_request_pkg:1,
|
||||
:1,
|
||||
hdc:1,
|
||||
:1,
|
||||
:1,
|
||||
hwp_peci_override:1,
|
||||
:1,
|
||||
:1,
|
||||
hw_feedback:1;
|
||||
};
|
||||
};
|
||||
uint32_t /* b */:32;
|
||||
union {
|
||||
uint32_t _6c;
|
||||
struct {
|
||||
bool hw_feedback_cap:1; /* aperf/mperf */
|
||||
};
|
||||
};
|
||||
uint32_t /* d */:32;
|
||||
|
||||
uint64_t :64, :64; /* Leaf 0x7 - Structured Features. */
|
||||
uint64_t :64, :64; /* Leaf 0x8 - rsvd */
|
||||
uint64_t :64, :64; /* Leaf 0x9 - DCA */
|
||||
|
||||