An error occurred fetching the project authors.
  1. 27 Oct, 2005 1 commit
    • David Gibson's avatar
      [PATCH] powerpc: Fix handling of fpscr on 64-bit · 25c8a78b
      David Gibson authored
      The recent merge of fpu.S broken the handling of fpscr for
      ARCH=powerpc and CONFIG_PPC64=y.  FP registers could be corrupted,
      leading to strange random application crashes.
      
      The confusion arises, because the thread_struct has (and requires) a
      64-bit area to save the fpscr, because we use load/store double
      instructions to get it in to/out of the FPU.  However, only the low
      32-bits are actually used, so we want to treat it as a 32-bit quantity
      when manipulating its bits to avoid extra load/stores on 32-bit.  This
      patch replaces the current definition with a structure of two 32-bit
      quantities (pad and val), to clarify things as much as is possible.
      The 'val' field is used when manipulating bits, the structure itself
      is used when obtaining the address for loading/unloading the value
      from the FPU.
      
      While we're at it, consolidate the 4 (!) almost identical versions of
      cvt_fd() and cvt_df() (arch/ppc/kernel/misc.S,
      arch/ppc64/kernel/misc.S, arch/powerpc/kernel/misc_32.S,
      arch/powerpc/kernel/misc_64.S) into a single version in fpu.S.  The
      new version takes a pointer to thread_struct and applies the correct
      offset itself, rather than a pointer to the fpscr field itself, again
      to avoid confusion as to which is the correct field to use.
      
      Finally, this patch makes ARCH=ppc64 also use the consolidated fpu.S
      code, which it previously did not.
      
      Built for G5 (ARCH=ppc64 and ARCH=powerpc), 32-bit powermac (ARCH=ppc
      and ARCH=powerpc) and Walnut (ARCH=ppc, CONFIG_MATH_EMULATION=y).
      Booted on G5 (ARCH=powerpc) and things which previously fell over no
      longer do.
      Signed-off-by: default avatarDavid Gibson <dwg@au1.ibm.com>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      25c8a78b
  2. 20 Oct, 2005 1 commit
  3. 10 Oct, 2005 1 commit
  4. 01 Oct, 2005 1 commit
  5. 27 Sep, 2005 1 commit
  6. 21 Sep, 2005 2 commits
  7. 10 Sep, 2005 1 commit
  8. 09 Sep, 2005 2 commits
  9. 08 Sep, 2005 1 commit
  10. 30 Aug, 2005 1 commit
  11. 22 Jun, 2005 2 commits
    • Arnd Bergmann's avatar
      [PATCH] ppc64: add BPA platform type · fef1c772
      Arnd Bergmann authored
      This adds the basic support for running on BPA machines.
      So far, this is only the IBM workstation, and it will
      not run on others without a little more generalization.
      
      It should be possible to configure a kernel for any
      combination of CONFIG_PPC_BPA with any of the other
      multiplatform targets.
      Signed-off-by: default avatarArnd Bergmann <arndb@de.ibm.com>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      fef1c772
    • Sven Luther's avatar
      [PATCH] ppc64: override command line AS/LD/CC variables when adding -m64 and... · 723e2b35
      Sven Luther authored
      [PATCH] ppc64: override command line AS/LD/CC variables when adding -m64 and co for biarch compilers
      
      The following kind of calls currently fails :
      
        make ARCH=ppc64 CC="gcc-3.4"
      
      Since the code for detecting a biarch compiler and adding the needed 64bit
      magic argument fails if the AS/LD/CC commands are overriden in the command
      line.
      
      The attached patch fixes this by using the make override and += directive,
      but i am not 100% sure this will work without gmake, as i am no Makefile
      expert.
      
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Anton Blanchard <anton@samba.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      723e2b35
  12. 03 May, 2005 1 commit
    • Benjamin Herrenschmidt's avatar
      [PATCH] ppc64: fix gcc 4.0 vs CONFIG_ALTIVEC · 52292c9b
      Benjamin Herrenschmidt authored
      gcc-4.0 generates altivec code implicitly when -mcpu indicates an
      altivec capable CPU which is not suitable for the kernel.  However, we
      used to set -mcpu=970 when CONFIG_ALTIVEC was set because a gcc-3.x bug
      prevented from using -maltivec along with -mcpu=power4, thus prevented
      building the RAID6 altivec code.
      
      This patch fixes all of this by testing for the gcc version.  If 4.0 or
      later, just normally use -mcpu=power4 and let the RAID6 code add
      -maltivec to the few files it needs to be compiled with altivec support.
      For 3.x, we still use -mcpu=970 to work around the above problem, which
      is fine as 3.x will never implicitly generate altivec code.
      
      The Makefile hackery may not be the most lovely, I welcome anybody more
      skilled than me to improve it.
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      52292c9b
  13. 16 Apr, 2005 1 commit
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4