summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2024-05-22 11:53:05 +0100
committerWill Deacon <will@kernel.org>2024-05-22 11:55:00 +0100
commitf481bb32d60e45fb3d19ea68ce79c5629f3fc3a0 (patch)
treef61cd1828a3efd8274f877d3bad473e4f0bf2641 /arch/arm64/include/asm
parentffbf4fb9b5c12ff878a10ea17997147ea4ebea6f (diff)
downloadlinux-stable-f481bb32d60e45fb3d19ea68ce79c5629f3fc3a0.tar.gz
linux-stable-f481bb32d60e45fb3d19ea68ce79c5629f3fc3a0.tar.bz2
linux-stable-f481bb32d60e45fb3d19ea68ce79c5629f3fc3a0.zip
Reapply "arm64: fpsimd: Implement lazy restore for kernel mode FPSIMD"
This reverts commit b8995a18417088bb53f87c49d200ec72a9dd4ec1. Ard managed to reproduce the dm-crypt corruption problem and got to the bottom of it, so re-apply the problematic patch in preparation for fixing things properly. Cc: stable@vger.kernel.org Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/include/asm')
-rw-r--r--arch/arm64/include/asm/processor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/processor.h b/arch/arm64/include/asm/processor.h
index 4f122b932cca..f77371232d8c 100644
--- a/arch/arm64/include/asm/processor.h
+++ b/arch/arm64/include/asm/processor.h
@@ -171,6 +171,7 @@ struct thread_struct {
struct debug_info debug; /* debugging */
struct user_fpsimd_state kernel_fpsimd_state;
+ unsigned int kernel_fpsimd_cpu;
#ifdef CONFIG_ARM64_PTR_AUTH
struct ptrauth_keys_user keys_user;
#ifdef CONFIG_ARM64_PTR_AUTH_KERNEL