aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/config.py
diff options
context:
space:
mode:
authorsilviazhao <[email protected]>2023-02-08 16:27:22 +0800
committerPeter Zijlstra <[email protected]>2023-02-11 11:18:12 +0100
commitfd636b6a9bc6034f2e5bb869658898a2b472c037 (patch)
treeea25b1fe7f1f912f0854adc246bc59b3d4414b45 /scripts/gdb/linux/config.py
parent89e97eb8cec0f1af5ebf2380308913256ca7915a (diff)
x86/perf/zhaoxin: Add stepping check for ZXC
Some of Nano series processors will lead GP when accessing PMC fixed counter. Meanwhile, their hardware support for PMC has not announced externally. So exclude Nano CPUs from ZXC by checking stepping information. This is an unambiguous way to differentiate between ZXC and Nano CPUs. Following are Nano and ZXC FMS information: Nano FMS: Family=6, Model=F, Stepping=[0-A][C-D] ZXC FMS: Family=6, Model=F, Stepping=E-F OR Family=6, Model=0x19, Stepping=0-3 Fixes: 3a4ac121c2ca ("x86/perf: Add hardware performance events support for Zhaoxin CPU.") Reported-by: Arjan <[email protected]> Reported-by: Kevin Brace <[email protected]> Signed-off-by: silviazhao <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://bugzilla.kernel.org/show_bug.cgi?id=212389
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions