From: Lorenzo Pieralisi Date: Fri, 19 Jul 2013 16:48:08 +0000 (+0100) Subject: arm64: kernel: implement fpsimd CPU PM notifier X-Git-Tag: v3.14-rc1~153^2~11^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb1ab1ab3889fc23ed90e452502662311ebdf229;p=pandora-kernel.git 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 --- Reading git-diff-tree failed