arm64: mte: rename gcr_user_excl to mte_ctrl
authorPeter Collingbourne <pcc@google.com>
Tue, 27 Jul 2021 20:52:55 +0000 (13:52 -0700)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 28 Jul 2021 17:33:19 +0000 (18:33 +0100)
commit638982a03fbcdcda9bcb97b62ceec2d4a0f88162
tree1fc10cce5d4a9d38ffa914b82feeafd3bdc9d5ac
parent42b6b10a54f0bf00397511fc6d5b8a296b405563
arm64: mte: rename gcr_user_excl to mte_ctrl

We are going to use this field to store more data. To prepare for
that, rename it and change the users to rely on the bit position of
gcr_user_excl in mte_ctrl.

Link: https://linux-review.googlesource.com/id/Ie1fd18e480100655f5d22137f5b22f4f3a9f9e2e
Signed-off-by: Peter Collingbourne <pcc@google.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20210727205300.2554659-2-pcc@google.com
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/processor.h
arch/arm64/kernel/asm-offsets.c
arch/arm64/kernel/entry.S
arch/arm64/kernel/mte.c