]> git.baikalelectronics.ru Git - kernel.git/commit
perf/x86/intel/uncore: Use boot_cpu_data.phys_proc_id instead of hardcorded physical...
authorMasayoshi Mizuma <m.mizuma@jp.fujitsu.com>
Mon, 10 Sep 2018 14:47:50 +0000 (10:47 -0400)
committerIngo Molnar <mingo@kernel.org>
Tue, 2 Oct 2018 07:37:58 +0000 (09:37 +0200)
commit08ab070b9ff8e2bb138905bcc6cbd6194a9508ca
treed2aab9fec5970a588078fcd7c2513776bfd50be4
parent6bc13035eba1e83ea3e8e632ed0cbce948c0cad5
perf/x86/intel/uncore: Use boot_cpu_data.phys_proc_id instead of hardcorded physical package ID 0

Physical package id 0 doesn't always exist, we should use
boot_cpu_data.phys_proc_id here.

Signed-off-by: Masayoshi Mizuma <m.mizuma@jp.fujitsu.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Masayoshi Mizuma <msys.mizuma@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Link: http://lkml.kernel.org/r/20180910144750.6782-1-msys.mizuma@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/events/intel/uncore_snbep.c