]> git.ipfire.org Git - thirdparty/linux.git/commit
arm_mpam: Update architecture version check for MPAM MSC
authorZeng Heng <zengheng4@huawei.com>
Fri, 8 May 2026 16:23:41 +0000 (17:23 +0100)
committerWill Deacon <will@kernel.org>
Tue, 19 May 2026 12:04:28 +0000 (13:04 +0100)
commit50a42e03cdbd77d93366d301db3d367dce78eda6
treec962415f085b698cb0faab7a13af170a5d71aff9
parent5302bc1493be7e00367bd9aab0cdcb40bf073011
arm_mpam: Update architecture version check for MPAM MSC

In addition to updating the CPU MPAM version check, the MPAM MSC version
check also need to be updated. mpam_msc_check_aidr() is added to check
the MSC AIDR register, ensuring that both the major and minor version
numbers fall within the supported range of the MPAM architecture version.

Signed-off-by: Zeng Heng <zengheng4@huawei.com>
[ morse: changed mpam_msc_check_aidr() to accept versions like v1.2 ]
Signed-off-by: James Morse <james.morse@arm.com>
Reviewed-by: Ben Horgan <ben.horgan@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/resctrl/mpam_devices.c