1. May 23, 2014
  2. May 10, 2014
    • Scott Wood's avatar
      powerpc/fsl-rio: Fix fsl_rio_setup error paths and use-after-unmap · a614db9a
      Scott Wood authored
      
      
      Several of the error paths from fsl_rio_setup are missing error
      messages.
      
      Worse, fsl_rio_setup initializes several global pointers and does not
      NULL them out after freeing/unmapping on error.  This caused
      fsl_rio_mcheck_exception() to crash when accessing rio_regs_win which
      was non-NULL but had been unmapped.
      
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      Cc: Liu Gang <Gang.Liu@freescale.com>
      ---
      Liu Gang, are you sure all of these error conditions are fatal?  Why
      does the rio driver fail if rmu is not present (e.g.  on t4240)?
      a614db9a
  3. May 05, 2014
  4. May 01, 2014
  5. Apr 30, 2014
    • Philippe Bergheaud's avatar
      powerpc: memcpy optimization for 64bit LE · 00f554fa
      Philippe Bergheaud authored
      
      
      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: default avatarPhilippe Bergheaud <felix@linux.vnet.ibm.com>
      Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      00f554fa
    • Benjamin Herrenschmidt's avatar
      Merge commit 'f3cae355' into next · 48ce3b7c
      Benjamin Herrenschmidt authored
      Merge Linus tree to get "cpufreq, powernv: Fix build failure on UP"
      to avoid build breakages in some of my test configs.
      48ce3b7c
  6. Apr 28, 2014