Skip to content
Commit cf292e93 authored by Raphael Gault's avatar Raphael Gault Committed by Will Deacon
Browse files

arm64: Restrict undef hook for cpufeature registers



This commit modifies the mask of the mrs_hook declared in
arch/arm64/kernel/cpufeatures.c which emulates only feature register
access. This is necessary because this hook's mask was too large and
thus masking any mrs instruction, even if not related to the emulated
registers which made the pmu emulation inefficient.

Signed-off-by: default avatarRaphael Gault <raphael.gault@arm.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20210517180256.2881891-1-robh@kernel.org


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 873c3e89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment