[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <66c1dd99-2ff2-21d3-630f-7265b814faab@arm.com>
Date: Wed, 27 Oct 2021 17:50:17 +0100
From: James Morse <james.morse@....com>
To: "tan.shaopeng@...itsu.com" <tan.shaopeng@...itsu.com>,
"x86@...nel.org" <x86@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Cc: Fenghua Yu <fenghua.yu@...el.com>,
Reinette Chatre <reinette.chatre@...el.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
H Peter Anvin <hpa@...or.com>,
Babu Moger <Babu.Moger@....com>,
"shameerali.kolothum.thodi@...wei.com"
<shameerali.kolothum.thodi@...wei.com>,
Jamie Iles <jamie@...iainc.com>,
D Scott Phillips OS <scott@...amperecomputing.com>,
"lcherian@...vell.com" <lcherian@...vell.com>,
"bobo.shaobowang@...wei.com" <bobo.shaobowang@...wei.com>
Subject: Re: [PATCH v2 12/23] x86/resctrl: Abstract and use
supports_mba_mbps()
On 07/10/2021 07:13, tan.shaopeng@...itsu.com wrote:
>> To determine whether the mba_MBps option to resctrl should be supported,
>> resctrl tests the boot cpus' x86_vendor.
>>
>> This isn't portable, and needs abstracting behind a helper so this check can be
>> part of the filesystem code that moves to /fs/.
>>
>> Re-use the tests set_mba_sc() does to determine if the mba_sc is supported
>> on this system. An 'alloc_capable' test is added so that support for the controls
>> isn't implied by the 'delay_linear' property, which is always true for MPAM.
>>
>> Signed-off-by: James Morse <james.morse@....com>
>
> Reviewed-by: Shaopeng Tan <tan.shaopeng@...itsu.com>
Thanks!
James
Powered by blists - more mailing lists