diff options
author | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2013-07-19 12:48:08 -0400 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2013-12-16 12:17:32 -0500 |
commit | fb1ab1ab3889fc23ed90e452502662311ebdf229 (patch) | |
tree | e75540da487021a89a933c0451635529d98c2915 /arch/arm/kvm/arm.c | |
parent | 95322526ef62b84adb469c27535ab0252a369a85 (diff) |
arm64: kernel: implement fpsimd CPU PM notifier
When a CPU enters a low power state, its FP register content is lost.
This patch adds a notifier to save the FP context on CPU shutdown
and restore it on CPU resume. The context is saved and restored only
if the suspending thread is not a kernel thread, mirroring the current
context switch behaviour.
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'arch/arm/kvm/arm.c')
0 files changed, 0 insertions, 0 deletions