SRU LP 1400349 new arm64 optimized copy_to_user and copy_from_user assembly code

Craig Magina craig.magina at canonical.com
Wed Dec 10 20:24:56 UTC 2014


This contains a new optimization patch that has been tested and
verified not to have the same memory corruption issue as the previous.
The logs for the bug reproduction and testing done with this new patch
can be found attached to the bug [1].

[1] BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1400349


Trusty

The following changes since commit f943c19de5a4af319761aa30f79c7ba8f5aa36ed:

  When ring buffer returns an error indicating retry, storvsc may not
return a proper error code to SCSI when bounce buffer is not used.
This has introduced I/O freeze on RAID running atop storvsc devices.
This patch fixes it by always returning a proper error code.
(2014-12-10 08:56:25 -0800)

are available in the git repository at:

  git://kernel.ubuntu.com/cmagina/trusty-xgene.git lp1400349

for you to fetch changes up to e4ca122ed833316245489f947cab61e7d531169e:

  arm64: optimized copy_to_user and copy_from_user assembly code
(2014-12-10 14:44:43 -0500)

----------------------------------------------------------------
Feng Kan (1):
      arm64: optimized copy_to_user and copy_from_user assembly code

 arch/arm64/lib/copy_from_user.S |  87 ++++++++++++++++----------
 arch/arm64/lib/copy_template.S  | 212
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 arch/arm64/lib/copy_to_user.S   |  57 +++++++++--------
 3 files changed, 297 insertions(+), 59 deletions(-)
 create mode 100644 arch/arm64/lib/copy_template.S


Utopic

The following changes since commit 6a61c55d0fa1cb7c854fb4307bbdcffffe82b797:

  sched/x86: Fix up typo in topology detection (2014-12-10 11:35:05 -0800)

are available in the git repository at:

  git://kernel.ubuntu.com/cmagina/utopic-xgene.git lp1400349

for you to fetch changes up to 15b90f5363eeb088d014b59155f848bfcdc4dc1f:

  arm64: optimized copy_to_user and copy_from_user assembly code
(2014-12-10 14:55:10 -0500)

----------------------------------------------------------------
Feng Kan (1):
      arm64: optimized copy_to_user and copy_from_user assembly code

 arch/arm64/lib/copy_from_user.S |  87 ++++++++++++++++----------
 arch/arm64/lib/copy_template.S  | 212
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 arch/arm64/lib/copy_to_user.S   |  57 +++++++++--------
 3 files changed, 297 insertions(+), 59 deletions(-)
 create mode 100644 arch/arm64/lib/copy_template.S


Vivid

The following changes since commit cf7e9f183f6f7e96cc0eb4ee9ddcd2f525613190:

  UBUNTU: [Config] CONFIG_FW_LOADER_USER_HELPER_FALLBACK=n (2014-12-10
11:50:01 -0800)

are available in the git repository at:

  git://kernel.ubuntu.com/cmagina/vivid-xgene.git lp1400349

for you to fetch changes up to db1847d8c6eba863a38ef9027efce52801f5f456:

  arm64: optimized copy_to_user and copy_from_user assembly code
(2014-12-10 15:11:49 -0500)

----------------------------------------------------------------
Feng Kan (1):
      arm64: optimized copy_to_user and copy_from_user assembly code

 arch/arm64/lib/copy_from_user.S |  87 ++++++++++++++++----------
 arch/arm64/lib/copy_template.S  | 212
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 arch/arm64/lib/copy_to_user.S   |  57 +++++++++--------
 3 files changed, 297 insertions(+), 59 deletions(-)
 create mode 100644 arch/arm64/lib/copy_template.S

Thanks,
-- 
Craig Magina




More information about the kernel-team mailing list