x86/Intel: don't log bogus frequency range on Core/Core2 processors
authorJan Beulich <jbeulich@suse.com>
Wed, 9 Feb 2022 11:52:01 +0000 (12:52 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 9 Feb 2022 11:52:01 +0000 (12:52 +0100)
commitda4c512b05ed94e41c91bd8ed6d45895cf97cf51
tree273719f773a4ea4ee7b9431277aa6bc0f255e0b8
parent185250ec78a7555aeed11a7856f215685b068e7d
x86/Intel: don't log bogus frequency range on Core/Core2 processors

Models 0F and 17 don't have PLATFORM_INFO documented. While it exists on
at least model 0F, the information there doesn't match the scheme used
on newer models (I'm observing a range of 700 ... 600 MHz reported on a
Xeon E5345).

Sadly the Enhanced Intel Core instance of the table entry is not self-
consistent: The numeric description of the low 3 bits doesn't match the
subsequent more textual description in some of the cases; I'm using the
former here.

Include the older Core model 0E as well as the two other Core2 models,
none of which have respective MSR tables in the SDM.

Fixes: f6b6517cd5db ("x86: retrieve and log CPU frequency information")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/cpu/intel.c