diff options
| author | Zhang Rui <rui.zhang@intel.com> | 2026-01-26 08:27:01 +0800 |
|---|---|---|
| committer | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2026-04-05 11:44:38 -0700 |
| commit | df4a83543117c7fc27077fd7f4ffe870556b257b (patch) | |
| tree | b7bc2d9e6c3c40c0028464e8b5f53017a40f3c40 /include/linux/errqueue.h | |
| parent | ae67f582398611b9f67c06961e292e3a2612346d (diff) | |
tools/power/x86/intel-speed-select: Fix cpu extended family ID decoding
When decode and use CPU extended family ID in intel-speed-select, there
are several potential issues,
1. Mask with 0x0f to get CPU extended family ID is bogus because
CPU extended family ID takes 8 bits (bit 27:20).
2. Use CPU extended family ID fields without checking CPU family ID is
risky. Because Intel SDM says, "The Extended Family ID needs to be
examined only when the Family ID is 0FH."
3. Saving cpu family ID and cpu extended family ID separately doesn't
align with Linux kernel. And it may bring extra complexity when
making family specific changes in the future.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
