summaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2024-02-12 17:47:35 +0300
committerOliver Upton <oliver.upton@linux.dev>2024-02-12 20:42:52 +0300
commit87b8cf2387c5ee79576988b2e72b84eeb92c57ec (patch)
tree60d65aaf9f318918c6bbebb526b701406b9b76a5 /lib/memory-notifier-error-inject.c
parentaade38faca631f25ec2842da4094d74bb2790bd5 (diff)
downloadlinux-87b8cf2387c5ee79576988b2e72b84eeb92c57ec.tar.xz
arm64: cpufeatures: Add missing ID_AA64MMFR4_EL1 to __read_sysreg_by_encoding()
When triggering a CPU hotplug scenario, we reparse the CPU feature with SCOPE_LOCAL_CPU, for which we use __read_sysreg_by_encoding() to get the HW value for this CPU. As it turns out, we're missing the handling for ID_AA64MMFR4_EL1, and trigger a BUG(). Funnily enough, Marek isn't completely happy about that. Add the damn register to the list. Fixes: 805bb61f8279 ("arm64: cpufeature: Add ID_AA64MMFR4_EL1 handling") Reported-by: Marek Szyprowski <m.szyprowski@samsung.com> Tested-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20240212144736.1933112-2-maz@kernel.org Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions