Re: [PATCH] perf/x86/intel: Add support for MISPREDICT bit on Knights Landing cpus

2018-07-30 Thread Thomas Gleixner
On Sat, 28 Jul 2018, Jacek Tomaka wrote: > From: Jacek Tomaka > > Knights Landing supports half baked LBR_FORMAT_TIME format. The addresses are > linear but it does have MISPREDICT bit but nothing else. I really have no idea what you are trying to explain here. > Unfortunately IA32_PERF_CAPAB

[PATCH] perf/x86/intel: Add support for MISPREDICT bit on Knights Landing cpus

2018-07-27 Thread Jacek Tomaka
From: Jacek Tomaka Knights Landing supports half baked LBR_FORMAT_TIME format. The addresses are linear but it does have MISPREDICT bit but nothing else. Unfortunately IA32_PERF_CAPABILITIES[5:0] will report LBR_FORMAT_LIP. This change teaches LBR about this Knights Landing quirk. --- arch/x86