[PATCH v3 0/4] arm_mpam: Add support for the MPAM v0.1 architecture version

James Morse posted 4 patches 1 month ago
arch/arm64/include/asm/cpufeature.h |  7 ++++++
arch/arm64/include/asm/el2_setup.h  |  4 +++-
arch/arm64/kernel/cpufeature.c      | 15 ++++++++----
drivers/resctrl/mpam_devices.c      | 36 +++++++++++++++++++++++++----
drivers/resctrl/mpam_internal.h     |  1 +
5 files changed, 53 insertions(+), 10 deletions(-)
[PATCH v3 0/4] arm_mpam: Add support for the MPAM v0.1 architecture version
Posted by James Morse 1 month ago
This is a v3 of Zeng's series to add support for MPAM v0.1.
Included are the changes Ben and I suggested, and a couple of bugs found while
testing it.

I've put the bug fixes first as you can hit these with mainline.
The patches for v0.1 enable MPAM on those platforms as this extra ID register
was missed.

Based on v7.1-rc2, and can be retrieved from 
https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git mpam/arch_v0.1/v3


Thanks,

James

v2: https://patch.msgid.link/20260203095406.6437-1-zengheng4@huawei.com
v1: https://lore.kernel.org/all/20260104133434.1887677-1-zengheng4@huawei.com/

James Morse (2):
  arm_mpam: Fix false positive assert failure during mpam_disable()
  arm_mpam: Check whether the config array is allocated before
    destroying it

Zeng Heng (2):
  arm64: cpufeature: Add support for the MPAM v0.1 architecture version
  arm_mpam: Update architecture version check for MPAM MSC

 arch/arm64/include/asm/cpufeature.h |  7 ++++++
 arch/arm64/include/asm/el2_setup.h  |  4 +++-
 arch/arm64/kernel/cpufeature.c      | 15 ++++++++----
 drivers/resctrl/mpam_devices.c      | 36 +++++++++++++++++++++++++----
 drivers/resctrl/mpam_internal.h     |  1 +
 5 files changed, 53 insertions(+), 10 deletions(-)

-- 
2.53.0
Re: [PATCH v3 0/4] arm_mpam: Add support for the MPAM v0.1 architecture version
Posted by Will Deacon 3 weeks, 3 days ago
On Fri, 08 May 2026 17:23:37 +0100, James Morse wrote:
> This is a v3 of Zeng's series to add support for MPAM v0.1.
> Included are the changes Ben and I suggested, and a couple of bugs found while
> testing it.
> 
> I've put the bug fixes first as you can hit these with mainline.
> The patches for v0.1 enable MPAM on those platforms as this extra ID register
> was missed.
> 
> [...]

Applied to arm64 (for-next/mpam), thanks!

[1/4] arm_mpam: Fix false positive assert failure during mpam_disable()
      (no commit info)
[2/4] arm_mpam: Check whether the config array is allocated before destroying it
      (no commit info)
[3/4] arm64: cpufeature: Add support for the MPAM v0.1 architecture version
      https://git.kernel.org/arm64/c/5302bc1493be
[4/4] arm_mpam: Update architecture version check for MPAM MSC
      https://git.kernel.org/arm64/c/50a42e03cdbd

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Re: (subset) [PATCH v3 0/4] arm_mpam: Add support for the MPAM v0.1 architecture version
Posted by Catalin Marinas 4 weeks, 1 day ago
On Fri, 08 May 2026 17:23:37 +0100, James Morse wrote:
> This is a v3 of Zeng's series to add support for MPAM v0.1.
> Included are the changes Ben and I suggested, and a couple of bugs found while
> testing it.
> 
> I've put the bug fixes first as you can hit these with mainline.
> The patches for v0.1 enable MPAM on those platforms as this extra ID register
> was missed.
> 
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/4] arm_mpam: Fix false positive assert failure during mpam_disable()
      https://git.kernel.org/arm64/c/f1caff3335ea
[2/4] arm_mpam: Check whether the config array is allocated before destroying it
      https://git.kernel.org/arm64/c/6ccbb613b42a

I'll leave the other two patches adding MPAM 0.1 support for the next
merging window.