[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e3be6aa5-d43a-7545-8355-9e92eab39189@arm.com>
Date: Wed, 11 Aug 2021 16:16:14 +0100
From: James Morse <james.morse@....com>
To: Jamie Iles <jamie@...iainc.com>
Cc: x86@...nel.org, linux-kernel@...r.kernel.org,
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,
D Scott Phillips OS <scott@...amperecomputing.com>,
lcherian@...vell.com, bobo.shaobowang@...wei.com
Subject: Re: [PATCH v1 02/20] x86/resctrl: Merge mon_capable and mon_enabled
Hi Jamie,
On 11/08/2021 13:15, Jamie Iles wrote:
> On Thu, Jul 29, 2021 at 10:35:52PM +0000, James Morse wrote:
>> mon_enabled and mon_capable are always set as a pair by
>> rdt_get_mon_l3_config().
>>
>> There is no point having two values.
>>
>> Merge them together.
>> diff --git a/include/linux/resctrl.h b/include/linux/resctrl.h
>> index ada0a02093a6..d715df9de37f 100644
>> --- a/include/linux/resctrl.h
>> +++ b/include/linux/resctrl.h
>> @@ -130,7 +130,7 @@ struct resctrl_schema;
>> /**
>> * struct rdt_resource - attributes of a resctrl resource
>> * @rid: The index of the resource
>> - * @mon_enabled: Is monitoring enabled for this feature
>> + * @cdp_enabled Is CDP enabled for this resource
>> * @alloc_capable: Is allocation available on this machine
>> * @mon_capable: Is monitor feature available on this machine
>> * @num_rmid: Number of RMIDs available
>> @@ -149,7 +149,7 @@ struct resctrl_schema;
>> */
>> struct rdt_resource {
>> int rid;
>> - bool mon_enabled;
>> + bool cdp_enabled;
>
> Nothing is setting cdp_enabled in this patch, is this intended to be
> here?
Bother, that is the result of a merge conflict from changes from the previous series!
Thanks, I've removed it.
James
Powered by blists - more mailing lists