diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2021-05-26 22:36:21 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-05-27 00:05:07 +0300 |
commit | 21047e91a5a674b97ebbf2c2c1751f1e9c317f09 (patch) | |
tree | 21524e7af7b2d9514d5ae9e27c67af0db8c193c2 /drivers/platform/surface/aggregator/controller.c | |
parent | 7513cc8a1b741bee6fb39cbb94a9842d37ca3ace (diff) | |
download | linux-21047e91a5a674b97ebbf2c2c1751f1e9c317f09.tar.xz |
arm64: Check if GMID_EL1.BS is the same on all CPUs
The GMID_EL1.BS field determines the number of tags accessed by the
LDGM/STGM instructions (EL1 and up), used by the kernel for copying or
zeroing page tags.
Taint the kernel if GMID_EL1.BS differs between CPUs but only of
CONFIG_ARM64_MTE is enabled.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Suzuki K Poulose <Suzuki.Poulose@arm.com>
Link: https://lore.kernel.org/r/20210526193621.21559-3-catalin.marinas@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions