Re: [PATCH 3/3] perf/x86/rapl: Fix psys-energy event on Intel SPR platform

2021-02-04 Thread Zhang Rui
Hi, Peter, On Wed, 2021-02-03 at 15:47 +0100, Peter Zijlstra wrote: > FWIW, your email is malformed, please wrap at 78 chars. > > On Mon, Jan 25, 2021 at 06:11:14AM +, Zhang, Rui wrote: > > In short, the current code does not allow RAPL energy counter to > > return 0. And all the work I do is

Re: [PATCH 3/3] perf/x86/rapl: Fix psys-energy event on Intel SPR platform

2021-02-03 Thread Peter Zijlstra
FWIW, your email is malformed, please wrap at 78 chars. On Mon, Jan 25, 2021 at 06:11:14AM +, Zhang, Rui wrote: > In short, the current code does not allow RAPL energy counter to > return 0. And all the work I do is to allow Psys energy counter to > return 0. Ok. > In this way, the Psys ev

RE: [PATCH 3/3] perf/x86/rapl: Fix psys-energy event on Intel SPR platform

2021-02-03 Thread Zhang, Rui
tel.com' ; > 'jo...@redhat.com' ; 'namhy...@kernel.org' > ; 'linux-kernel@vger.kernel.org' ker...@vger.kernel.org>; 'x...@kernel.org' ; > 'kan.li...@linux.intel.com' ; > 'a...@linux.intel.com' > > Subject: RE:

RE: [PATCH 3/3] perf/x86/rapl: Fix psys-energy event on Intel SPR platform

2021-01-24 Thread Zhang, Rui
g; linux-kernel@vger.kernel.org; x...@kernel.org; > kan.li...@linux.intel.com; a...@linux.intel.com > Subject: RE: [PATCH 3/3] perf/x86/rapl: Fix psys-energy event on Intel SPR > platform > > Hi, Peter, > > > -Original Message- > > From: Peter Zijlstra &g

RE: [PATCH 3/3] perf/x86/rapl: Fix psys-energy event on Intel SPR platform

2021-01-17 Thread Zhang, Rui
ernel@vger.kernel.org; x...@kernel.org; > kan.li...@linux.intel.com; a...@linux.intel.com > Subject: Re: [PATCH 3/3] perf/x86/rapl: Fix psys-energy event on Intel SPR > platform > Importance: High > > On Fri, Jan 15, 2021 at 05:22:08PM +0800, Zhang Rui wrote: > > There are se

Re: [PATCH 3/3] perf/x86/rapl: Fix psys-energy event on Intel SPR platform

2021-01-16 Thread Peter Zijlstra
On Fri, Jan 15, 2021 at 05:22:08PM +0800, Zhang Rui wrote: > There are several things special for the RAPL Psys energy counter, on > Intel Sapphire Rapids platform. > 1. it contains one Psys master package, and only CPUs on the master >package can read valid value of the Psys energy counter, re