Re: [PATCH] cpu_x86: Probe host CPU for all MSR features

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/16/25 14:05, Jiri Denemark wrote:
> The list of CPU features we probe from various MSR grew significantly
> over time and the CPU map currently mentions 11 distinct MSR indexes.
> But the code for directly probing host CPU features was still reading
> only the original 0x10a index. Thus the CPU model in host capabilities
> was missing a lot of features.
> 
> Instead of specifying a static list of indexes to read (which we would
> forget to update in the future), let's just read all indexes found in
> the CPU map.
> 
> Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
> ---
>  src/cpu/cpu_x86.c | 62 ++++++++++++++++++++++++++++++++++++++++-------
>  1 file changed, 53 insertions(+), 9 deletions(-)

Reviewed-by: Michal Privoznik <mprivozn@xxxxxxxxxx>

Michal



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux