1. 01 5月, 2014 4 次提交
  2. 30 4月, 2014 2 次提交
    • P
      powerpc: memcpy optimization for 64bit LE · 00f554fa
      Philippe Bergheaud 提交于
      Unaligned stores take alignment exceptions on POWER7 running in little-endian.
      This is a dumb little-endian base memcpy that prevents unaligned stores.
      Once booted the feature fixup code switches over to the VMX copy loops
      (which are already endian safe).
      
      The question is what we do before that switch over. The base 64bit
      memcpy takes alignment exceptions on POWER7 so we can't use it as is.
      Fixing the causes of alignment exception would slow it down, because
      we'd need to ensure all loads and stores are aligned either through
      rotate tricks or bytewise loads and stores. Either would be bad for
      all other 64bit platforms.
      
      [ I simplified the loop a bit - Anton ]
      Signed-off-by: NPhilippe Bergheaud <felix@linux.vnet.ibm.com>
      Signed-off-by: NAnton Blanchard <anton@samba.org>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      00f554fa
    • B
      Merge commit 'f3cae355' into next · 48ce3b7c
      Benjamin Herrenschmidt 提交于
      Merge Linus tree to get "cpufreq, powernv: Fix build failure on UP"
      to avoid build breakages in some of my test configs.
      48ce3b7c
  3. 28 4月, 2014 34 次提交