RE: [PATCH v3 07/10] x86/resctrl: Add arch_needs_linear to explain AMD/Intel MBA difference

2020-05-22 Thread Babu Moger
oger, Babu ; James Morse > > Subject: [PATCH v3 07/10] x86/resctrl: Add arch_needs_linear to explain > AMD/Intel MBA difference > > The configuration values user-space provides to the resctrl filesystem > are ABI. To make this work on another architecture we want to move all > the ABI bi

Re: [PATCH v3 07/10] x86/resctrl: Add arch_needs_linear to explain AMD/Intel MBA difference

2020-05-19 Thread Reinette Chatre
Hi James, On 5/18/2020 6:19 AM, James Morse wrote: > diff --git a/arch/x86/kernel/cpu/resctrl/internal.h > b/arch/x86/kernel/cpu/resctrl/internal.h > index dd51e23e346b..0b288b6fefd9 100644 > --- a/arch/x86/kernel/cpu/resctrl/internal.h > +++ b/arch/x86/kernel/cpu/resctrl/internal.h > @@ -370,6 +

[PATCH v3 07/10] x86/resctrl: Add arch_needs_linear to explain AMD/Intel MBA difference

2020-05-18 Thread James Morse
The configuration values user-space provides to the resctrl filesystem are ABI. To make this work on another architecture we want to move all the ABI bits out of /arch/x86 and under /fs. To do this, the differences between AMD and Intel CPUs needs to be explained to resctrl via resource properties