]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: Add override for MPAM
authorXi Ruoyao <xry111@xry111.site>
Mon, 2 Jun 2025 04:33:21 +0000 (12:33 +0800)
committerWill Deacon <will@kernel.org>
Mon, 2 Jun 2025 12:49:09 +0000 (13:49 +0100)
commit10f885d63a0efd50b0d22bf27eb3cf727838e99e
tree4acda9bf556f9ef19536ff50d672d5cef4ecb1fe
parent4b634918384c0f84c33aeb4dd9fd4c38e7be5ccb
arm64: Add override for MPAM

As the message of the commit 09e6b306f3ba ("arm64: cpufeature: discover
CPU support for MPAM") already states, if a buggy firmware fails to
either enable MPAM or emulate the trap as if it were disabled, the
kernel will just fail to boot.  While upgrading the firmware should be
the best solution, we have some hardware of which the vendor have made
no response 2 months after we requested a firmware update.  Allow
overriding it so our devices don't become some e-waste.

Cc: James Morse <james.morse@arm.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Will Deacon <will@kernel.org>
Cc: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Cc: Mingcong Bai <jeffbai@aosc.io>
Cc: Shaopeng Tan <tan.shaopeng@fujitsu.com>
Cc: Ben Horgan <ben.horgan@arm.com>
Signed-off-by: Xi Ruoyao <xry111@xry111.site>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20250602043723.216338-1-xry111@xry111.site
Signed-off-by: Will Deacon <will@kernel.org>
Documentation/admin-guide/kernel-parameters.txt
arch/arm64/include/asm/el2_setup.h
arch/arm64/kernel/cpufeature.c
arch/arm64/kernel/cpuinfo.c
arch/arm64/kernel/pi/idreg-override.c