lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <471975cf-1094-42dd-a965-f536cf399d0a@amd.com>
Date: Wed, 2 Jul 2025 14:04:58 -0500
From: "Moger, Babu" <babu.moger@....com>
To: Reinette Chatre <reinette.chatre@...el.com>, corbet@....net,
 tony.luck@...el.com, Dave.Martin@....com, james.morse@....com,
 tglx@...utronix.de, mingo@...hat.com, bp@...en8.de,
 dave.hansen@...ux.intel.com
Cc: x86@...nel.org, hpa@...or.com, akpm@...ux-foundation.org,
 rostedt@...dmis.org, paulmck@...nel.org, thuth@...hat.com, ardb@...nel.org,
 gregkh@...uxfoundation.org, seanjc@...gle.com, thomas.lendacky@....com,
 pawan.kumar.gupta@...ux.intel.com, manali.shukla@....com,
 perry.yuan@....com, kai.huang@...el.com, peterz@...radead.org,
 xiaoyao.li@...el.com, kan.liang@...ux.intel.com, mario.limonciello@....com,
 xin3.li@...el.com, gautham.shenoy@....com, xin@...or.com,
 chang.seok.bae@...el.com, fenghuay@...dia.com, peternewman@...gle.com,
 maciej.wieczor-retman@...el.com, eranian@...gle.com,
 linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v14 30/32] fs/resctrl: Hide the BMEC related files when
 mbm_event mode is enabled

Hi Reinette,

On 7/2/25 12:21, Reinette Chatre wrote:
> Hi Babu,
> 
> On 7/2/25 9:42 AM, Moger, Babu wrote:
>> On 6/25/25 18:39, Reinette Chatre wrote:
>>> Hi Babu,
>>>
>>> On 6/13/25 2:05 PM, Babu Moger wrote:
>>>> BMEC (Bandwidth Monitoring Event Configuration) and mbm_event mode do not
>>>> work simultaneously.
>>>
>>> Could you please elaborate why they do not work simultaneously?
>>
>> Changed the changelog.
>>
>> When mbm_event counter assignment mode is enabled, events are configured
>> through the "event_filter" files under
>> /sys/fs/resctrl/info/L3_MON/event_configs/.
>>
>> The default monitoring mode and with BMEC (Bandwidth Monitoring Event
>> Configuration) support, events are configured using the files
>> mbm_total_bytes_config or mbm_local_bytes_config in
>> /sys/fs/resctrl/info/L3_MON/.
> 
> A reasonable question here may be why not just keep using the existing
> (BMEC supporting) event configuration files for event configuration? Why
> are new event configuration files needed?

New interface that enables users to read and write memory transaction
events using human-readable strings, simplifying configuration and
improving usability.

In future it can be extended to create free form event names.

> 
>>
>> To avoid the confusion, hide BMEC-related files when mbm_event counter
>> assignment mode is enabled and update the mon_features display accordingly.
>>
> 
> Reinette
> 

-- 
Thanks
Babu Moger

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ