Re: [RESEND] [PATCH] perf/x86/intel/uncore: Use boot_cpu_data.phys_proc_id instead of hardcorded phy id 0

2018-09-20 Thread Masayoshi Mizuma
On Thu, Sep 20, 2018 at 05:10:18PM -0400, Liang, Kan wrote: > > > On 9/20/2018 4:55 PM, Thomas Gleixner wrote: > > On Mon, 10 Sep 2018, Masayoshi Mizuma wrote: > > > > CC+ Kan > > > > > From: Masayoshi Mizuma > > > > > > Physical package id 0 is not always exists. We should use > > > boot_cpu

Re: [RESEND] [PATCH] perf/x86/intel/uncore: Use boot_cpu_data.phys_proc_id instead of hardcorded phy id 0

2018-09-20 Thread Liang, Kan
On 9/20/2018 4:55 PM, Thomas Gleixner wrote: On Mon, 10 Sep 2018, Masayoshi Mizuma wrote: CC+ Kan From: Masayoshi Mizuma Physical package id 0 is not always exists. We should use boot_cpu_data.phys_proc_id here. Signed-off-by: Masayoshi Mizuma --- arch/x86/events/intel/uncore_snbep.c

Re: [RESEND] [PATCH] perf/x86/intel/uncore: Use boot_cpu_data.phys_proc_id instead of hardcorded phy id 0

2018-09-20 Thread Thomas Gleixner
On Mon, 10 Sep 2018, Masayoshi Mizuma wrote: CC+ Kan > From: Masayoshi Mizuma > > Physical package id 0 is not always exists. We should use > boot_cpu_data.phys_proc_id here. > > Signed-off-by: Masayoshi Mizuma > --- > arch/x86/events/intel/uncore_snbep.c | 2 +- > 1 file changed, 1 insertio

Re: [RESEND] [PATCH] perf/x86/intel/uncore: Use boot_cpu_data.phys_proc_id instead of hardcorded phy id 0

2018-09-18 Thread Masayoshi Mizuma
Ping... On Mon, Sep 10, 2018 at 10:47:50AM -0400, Masayoshi Mizuma wrote: > From: Masayoshi Mizuma > > Physical package id 0 is not always exists. We should use > boot_cpu_data.phys_proc_id here. > > Signed-off-by: Masayoshi Mizuma > --- > arch/x86/events/intel/uncore_snbep.c | 2 +- > 1 file

[RESEND] [PATCH] perf/x86/intel/uncore: Use boot_cpu_data.phys_proc_id instead of hardcorded phy id 0

2018-09-10 Thread Masayoshi Mizuma
From: Masayoshi Mizuma Physical package id 0 is not always exists. We should use boot_cpu_data.phys_proc_id here. Signed-off-by: Masayoshi Mizuma --- arch/x86/events/intel/uncore_snbep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/events/intel/uncore_snbep.c b