[RFT PATCH v1 0/7] enable FPSIMD lazy save and restore for arm64

Jiang Liu liuj97 at gmail.com
Fri Sep 27 04:04:40 EDT 2013

From: Jiang Liu <jiang.liu at huawei.com>

This patchset enables FPSIMD lazy save and restore for ARM64, you could
apply it against v3.12-rc2.

We have done basic functional tests on ARM fast model, but still lack
of detail performance benchmark on real hardware platforms. We would
appreciate if you could help to test it on really hardware platforms!

The first two patches are bugfixes for current FPSIMD implementations.
The other five patches implements FPSIMD lazy save and restore.

Jiang Liu (7):
  arm64: fix possible invalid FPSIMD initialization state
  arm64: restore FPSIMD to default state for kernel and signal contexts
  arm64: implement basic lazy save and restore for FPSIMD registers
  arm64: provide boot option "eagerfpu" to control FPSIMD restore policy
  arm64: reuse FPSIMD hardware context if possible
  amd64: avoid saving and restoring FPSIMD registers until threads
    access them
  arm64: disable lazy load if FPSIMD registers are frequently used

 Documentation/kernel-parameters.txt |   5 +-
 arch/arm64/include/asm/fpsimd.h     |  12 +-
 arch/arm64/kernel/fpsimd.c          | 217 ++++++++++++++++++++++++++++++++++--
 arch/arm64/kernel/process.c         |   4 +-
 arch/arm64/kernel/signal.c          |  12 +-
 arch/arm64/kernel/signal32.c        |  12 +-
 arch/arm64/kernel/smp.c             |   1 +
 7 files changed, 238 insertions(+), 25 deletions(-)


More information about the linux-arm-kernel mailing list