Re: [PATCH] x86/resctrl: Fix memory bandwidth counter width for AMD

2020-07-07 Thread Greg KH
On Wed, Jul 01, 2020 at 05:13:45PM -0500, Babu Moger wrote: > [ Upstream commit 2c18bd525c47f882f033b0a813ecd09c93e1ecdf ] > > Memory bandwidth is calculated reading the monitoring counter > at two intervals and calculating the delta. It is the software’s > responsibility to read the count often e

RE: [PATCH] x86/resctrl: Fix memory bandwidth counter width for AMD

2020-06-03 Thread Babu Moger
> >> To: Moger, Babu ; fenghua...@intel.com; > >> t...@linutronix.de; mi...@redhat.com; b...@alien8.de; x...@kernel.org; > >> h...@zytor.com; linux-kernel@vger.kernel.org > >> Subject: Re: [PATCH] x86/resctrl: Fix memory bandwidth counter width for > AMD > >> &g

Re: [PATCH] x86/resctrl: Fix memory bandwidth counter width for AMD

2020-06-02 Thread Reinette Chatre
org; >> h...@zytor.com; linux-kernel@vger.kernel.org >> Subject: Re: [PATCH] x86/resctrl: Fix memory bandwidth counter width for AMD >> >> Hi Babu, >> >> On 6/1/2020 4:00 PM, Babu Moger wrote: >>> Memory bandwidth is calculated reading the monito

RE: [PATCH] x86/resctrl: Fix memory bandwidth counter width for AMD

2020-06-02 Thread Babu Moger
TCH] x86/resctrl: Fix memory bandwidth counter width for AMD > > Hi Babu, > > On 6/1/2020 4:00 PM, Babu Moger wrote: > > Memory bandwidth is calculated reading the monitoring counter > > at two intervals and calculating the delta. It is the software’s > > responsibi

Re: [PATCH] x86/resctrl: Fix memory bandwidth counter width for AMD

2020-06-02 Thread Reinette Chatre
Hi Babu, On 6/2/2020 10:33 AM, Babu Moger wrote: > > > On 6/2/20 12:13 PM, Reinette Chatre wrote: >> On 6/1/2020 4:00 PM, Babu Moger wrote: >>> Memory bandwidth is calculated reading the monitoring counter >>> at two intervals and calculating the delta. It is the software’s >>> responsibility to

Re: [PATCH] x86/resctrl: Fix memory bandwidth counter width for AMD

2020-06-02 Thread Reinette Chatre
Hi Babu, On 6/1/2020 4:00 PM, Babu Moger wrote: > Memory bandwidth is calculated reading the monitoring counter > at two intervals and calculating the delta. It is the software’s > responsibility to read the count often enough to avoid having > the count roll over _twice_ between reads. > > The c

Re: [PATCH] x86/resctrl: Fix memory bandwidth counter width for AMD

2020-06-02 Thread Babu Moger
On 6/2/20 12:13 PM, Reinette Chatre wrote: > Hi Babu, > > On 6/1/2020 4:00 PM, Babu Moger wrote: >> Memory bandwidth is calculated reading the monitoring counter >> at two intervals and calculating the delta. It is the software’s >> responsibility to read the count often enough to avoid having

Re: [PATCH] x86/resctrl: Fix memory bandwidth counter width for AMD

2020-06-02 Thread Reinette Chatre
Hi Babu, On 6/1/2020 4:00 PM, Babu Moger wrote: > Memory bandwidth is calculated reading the monitoring counter > at two intervals and calculating the delta. It is the software’s > responsibility to read the count often enough to avoid having > the count roll over _twice_ between reads. > > The c

RE: [PATCH] x86/resctrl: Fix memory bandwidth counter width for AMD

2020-06-02 Thread Babu Moger
ject: Re: [PATCH] x86/resctrl: Fix memory bandwidth counter width for AMD > > On Mon, Jun 01, 2020 at 06:00:29PM -0500, Babu Moger wrote: > > Memory bandwidth is calculated reading the monitoring counter > > at two intervals and calculating the delta. It is the software’s > >

Re: [PATCH] x86/resctrl: Fix memory bandwidth counter width for AMD

2020-06-01 Thread Fenghua Yu
On Mon, Jun 01, 2020 at 06:00:29PM -0500, Babu Moger wrote: > Memory bandwidth is calculated reading the monitoring counter > at two intervals and calculating the delta. It is the software’s > responsibility to read the count often enough to avoid having > the count roll over _twice_ between reads.