Commit aafb6120 authored by Alexander Antonov's avatar Alexander Antonov Committed by Yang Yingliang
Browse files

perf/x86/intel/uncore: Fix filter_tid mask for CHA events on Skylake Server



stable inclusion
from linux-4.19.218
commit 1b36736c257dc5468338e43d540490274329210c

--------------------------------

[ Upstream commit e324234e ]

According Uncore Reference Manual: any of the CHA events may be filtered
by Thread/Core-ID by using tid modifier in CHA Filter 0 Register.
Update skx_cha_hw_config() to follow Uncore Guide.

Fixes: cd34cd97 ("perf/x86/intel/uncore: Add Skylake server uncore support")
Signed-off-by: default avatarAlexander Antonov <alexander.antonov@linux.intel.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: default avatarKan Liang <kan.liang@linux.intel.com>
Link: https://lore.kernel.org/r/20211115090334.3789-2-alexander.antonov@linux.intel.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent ebcfc028
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment