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] [day] [month] [year] [list]
Message-ID:
 <OSZPR01MB8798A07599944A1790AD03B48BEEA@OSZPR01MB8798.jpnprd01.prod.outlook.com>
Date: Thu, 9 Oct 2025 02:45:47 +0000
From: "Shaopeng Tan (Fujitsu)" <tan.shaopeng@...itsu.com>
To: 'Babu Moger' <babu.moger@....com>, "'james.morse@....com'"
	<james.morse@....com>, "'dave.martin@....com'" <dave.martin@....com>
CC: "'linux-kernel@...r.kernel.org'" <linux-kernel@...r.kernel.org>,
	"'linux-kselftest@...r.kernel.org'" <linux-kselftest@...r.kernel.org>,
	"'ilpo.jarvinen@...ux.intel.com'" <ilpo.jarvinen@...ux.intel.com>,
	"'babu.moger@....com'" <babu.moger@....com>,
	"'maciej.wieczor-retman@...el.com'" <maciej.wieczor-retman@...el.com>,
	"'peternewman@...gle.com'" <peternewman@...gle.com>, "'eranian@...gle.com'"
	<eranian@...gle.com>, "'fenghua.yu@...el.com'" <fenghua.yu@...el.com>,
	"'reinette.chatre@...el.com'" <reinette.chatre@...el.com>,
	"'shuah@...nel.org'" <shuah@...nel.org>
Subject: RE: [PATCH v3 0/4] selftests/resctrl: Enable MBM and MBA tests on AMD

Hello Babu,
 
I think you are still planning to upstream this patch series.
Do you have a timeline for posting v4? And when do you anticipate it being merged?

I'd like to enable MBM/MBA tests for ARM arch (MPAM driver),
However, I foresee potential conflicts if this patch series is not merged.
I apologize for the inconvenience, I kindly request your attention to this matter.

Hello James, Dave,

Have you already considered or made any plans to enable the MBM/MBA tests for the MPAM driver?

Best regards,
Shaopeng TAN


> The MBM (Memory Bandwidth Monitoring) and MBA (Memory Bandwidth
> Allocation) features are not enabled for AMD systems. The reason was lack of
> perf counters to compare the resctrl test results.
> 
> Starting with the commit
> 25e56847821f ("perf/x86/amd/uncore: Add memory controller support"), AMD
> now supports the UMC (Unified Memory Controller) perf events. These events
> can be used to compare the test results.
> 
> This series adds the support to detect the UMC events and enable MBM/MBA
> tests for AMD systems.
> 
> v3:
>     Note: Based the series on top of latest kselftests/master
>     1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (tag: v6.10-rc1).
> 
>     Also applied the patches from the series
> 
> https://lore.kernel.org/lkml/20240531131142.1716-1-ilpo.jarvinen@linux.intel.
> com/
> 
>     Separated the fix patch.
>     Renamed the imc to just mc to make it generic.
>     Changed the search string "uncore_imc_" and "amd_umc_"
>     Changes related rebase to latest kselftest tree.
> 
> v2: Changes.
>     a. Rebased on top of tip/master (Apr 25, 2024)
>     b. Addressed Ilpo comments except the one about close call.
>        It seems more clear to keep READ and WRITE separate.
> 
> https://lore.kernel.org/lkml/8e4badb7-6cc5-61f1-e041-d902209a90d5@linux.
> intel.com/
>     c. Used ksft_perror call when applicable.
>     d. Added vendor check for non contiguous CBM check.
> 
> v1: https://lore.kernel.org/lkml/cover.1708637563.git.babu.moger@amd.com/
> 
> 
> Babu Moger (4):
>   selftests/resctrl: Rename variables and functions to generic names
>   selftests/resctrl: Pass sysfs controller name of the vendor
>   selftests/resctrl: Add support for MBM and MBA tests on AMD
>   selftests/resctrl: Enable MBA/MBA tests on AMD
> 
>  tools/testing/selftests/resctrl/mba_test.c    |  25 +-
>  tools/testing/selftests/resctrl/mbm_test.c    |  23 +-
>  tools/testing/selftests/resctrl/resctrl.h     |   2 +-
>  tools/testing/selftests/resctrl/resctrl_val.c | 305 ++++++++++--------
>  tools/testing/selftests/resctrl/resctrlfs.c   |   2 +-
>  5 files changed, 191 insertions(+), 166 deletions(-)
> 
> --
> 2.34.1
> 


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ