Commits
Jan Dakinevich authored and Konstantin Khorenko committed bdf4b08ccaf
ms/perf/x86/intel: make reusable LBR initialization code, part 2/2 This patch introduces globally visible intel_pmu_lbr_fill() routine, which gathers information which LBR MSRs are support for specific CPU family/model. It is supposed that the routine would be used in KVM code, using guest CPU information as an input. By this reason, it should not have any side effect which could affect host system. https://jira.sw.ru/browse/PSBM-75679 Signed-off-by: Jan Dakinevich <jan.dakinevich@virtuozzo.com> +++ perf/x86/intel: fix Intel processors define's naming Some Intel cpu defines were renamed, so update __intel_pmu_lbr_fill() where we use those defines. mFixes: 746e059d3153 ("ms/perf/x86/intel: make reusable LBR initialization code") https://jira.sw.ru/browse/PSBM-94406 Signed-off-by: Konstantin Khorenko <khorenko@virtuozzo.com>