commit | fb1ab1ab3889fc23ed90e452502662311ebdf229 | [log] [tgz] |
---|---|---|
author | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | Fri Jul 19 17:48:08 2013 +0100 |
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | Mon Dec 16 17:17:32 2013 +0000 |
tree | e75540da487021a89a933c0451635529d98c2915 | |
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>