commit | 2f79d2fc391e4ba64df908b8c07dda6c3a907056 | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <pcc@google.com> | Thu Mar 18 20:10:52 2021 -0700 |
committer | Catalin Marinas <catalin.marinas@arm.com> | Tue Apr 13 17:31:44 2021 +0100 |
tree | c1825e80d5a12fe7d89772a64acde6abaf0f9c01 | |
parent | e80a76aa1a91018d919d2210366943f9bf17009e [diff] |
arm64: mte: make the per-task SCTLR_EL1 field usable elsewhere In an upcoming change we are going to introduce per-task SCTLR_EL1 bits for PAC. Move the existing per-task SCTLR_EL1 field out of the MTE-specific code so that we will be able to use it from both the PAC and MTE code paths and make the task switching code more efficient. Signed-off-by: Peter Collingbourne <pcc@google.com> Link: https://linux-review.googlesource.com/id/Ic65fac78a7926168fa68f9e8da591c9e04ff7278 Link: https://lore.kernel.org/r/13d725cb8e741950fb9d6e64b2cd9bd54ff7c3f9.1616123271.git.pcc@google.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>