linux-kernelorg-stable/arch
Babu Moger 0f1576e43a x86/resctrl: Configure mbm_event mode if supported
Configure mbm_event mode on AMD platforms. On AMD platforms, it is
recommended to use the mbm_event mode, if supported, to prevent the
hardware from resetting counters between reads. This can result in
misleading values or display "Unavailable" if no counter is assigned
to the event.

Enable mbm_event mode, known as ABMC (Assignable Bandwidth Monitoring
Counters) on AMD, by default if the system supports it.

Update ABMC across all logical processors within the resctrl domain to
ensure proper functionality.

Signed-off-by: Babu Moger <babu.moger@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Link: https://lore.kernel.org/cover.1757108044.git.babu.moger@amd.com
2025-09-15 12:52:04 +02:00
..
alpha Significant patch series in this pull request: 2025-08-03 16:23:09 -07:00
arc
arm soc: fixes for 6.17, part 2 2025-09-03 14:44:34 -07:00
arm64 20 hotfixes. 15 are cc:stable and the remainder address post-6.16 issues 2025-09-10 21:19:34 -07:00
csky ftrace changes for v6.17: 2025-07-30 16:04:10 -07:00
hexagon
loongarch LoongArch: KVM: Add address alignment check in pch_pic register access 2025-08-20 22:51:15 +08:00
m68k treewide: rename GPIO set callbacks back to their original names 2025-08-07 10:07:06 +02:00
microblaze ftrace changes for v6.17: 2025-07-30 16:04:10 -07:00
mips Revert "eth: remove the DLink/Sundance (ST201) driver" 2025-09-02 15:49:41 -07:00
nios2
openrisc OpenRISC updates for 6.17 2025-08-04 08:37:46 -07:00
parisc parisc architecture fixes for kernel v6.17-rc1: 2025-08-01 16:15:53 -07:00
powerpc Revert "eth: remove the DLink/Sundance (ST201) driver" 2025-09-02 15:49:41 -07:00
riscv Several RISC-V fixes for v6.17-rc5: 2025-09-07 08:15:56 -07:00
s390 s390 fixes for 6.17-rc6 2025-09-11 08:46:30 -07:00
sh Significant patch series in this pull request: 2025-08-03 16:23:09 -07:00
sparc Summary of significant series in this pull request: 2025-07-31 14:57:54 -07:00
um Mostly cleanups, except: 2025-07-29 20:31:45 -07:00
x86 x86/resctrl: Configure mbm_event mode if supported 2025-09-15 12:52:04 +02:00
xtensa Xtensa updates for v6.17 2025-08-09 07:35:03 +03:00
.gitignore
Kconfig Deferred unwind changes for 6.17 2025-08-01 09:46:24 -07:00