1. 04 5月, 2006 1 次提交
  2. 25 4月, 2006 1 次提交
  3. 14 1月, 2006 1 次提交
    • P
      powerpc: Provide a suitable AT_PLATFORM value · 80f15dc7
      Paul Mackerras 提交于
      The glibc folks want to use AT_PLATFORM to select between possible
      alternative versions of shared libraries.  This commit makes the kernel
      supply an AT_PLATFORM string that indicates what class of processor
      we are running on.  Processors with the same set of user-level
      instructions and roughly the same instruction scheduling characteristics
      are given the same AT_PLATFORM value; for example, 821, 823 and 860
      are all reported as "ppc823", and 7447, 7447A, 7448, 7450, 7451, 7455
      are all called "ppc7450".
      
      The intention is that the AT_PLATFORM values match the values that
      gcc accepts for the -mcpu= option.  For values which are numeric
      (e.g. -mcpu=750), "ppc" has been prepended.
      
      This also adds a PPC_FEATURE_BOOKE bit to the AT_HWCAP value and sets
      it for the 440 family and the Freescale 85xx family.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      80f15dc7
  4. 11 1月, 2006 1 次提交
  5. 09 1月, 2006 1 次提交
  6. 11 11月, 2005 1 次提交
    • B
      [PATCH] powerpc: Merge vdso's and add vdso support to 32 bits kernel · a7f290da
      Benjamin Herrenschmidt 提交于
      This patch moves the vdso's to arch/powerpc, adds support for the 32
      bits vdso to the 32 bits kernel, rename systemcfg (finally !), and adds
      some new (still untested) routines to both vdso's: clock_gettime() with
      support for CLOCK_REALTIME and CLOCK_MONOTONIC, clock_getres() (same
      clocks) and get_tbfreq() for glibc to retreive the timebase frequency.
      
      Tom,Steve: The implementation of get_tbfreq() I've done for 32 bits
      returns a long long (r3, r4) not a long. This is such that if we ever
      add support for >4Ghz timebases on ppc32, the userland interface won't
      have to change.
      
      I have tested gettimeofday() using some glibc patches in both ppc32 and
      ppc64 kernels using 32 bits userland (I haven't had a chance to test a
      64 bits userland yet, but the implementation didn't change and was
      tested earlier). I haven't tested yet the new functions.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      a7f290da
  7. 07 11月, 2005 1 次提交
  8. 04 11月, 2005 1 次提交
    • M
      powerpc: Fix random memory corruption in merged elf.h · 30415f6a
      Michael Ellerman 提交于
      The merged verison of ELF_CORE_COPY_REGS is basically the PPC64 version, with
      a memset that came from PPC and a few types abstracted out into #defines. But
      it's not _quite_ right.
      
      The first problem is we calculate the number of registers with:
              nregs = sizeof(struct pt_regs) / sizeof(ELF_GREG_TYPE)
      
      For a 32-bit process on a 64-bit kernel that's bogus because the registers are
      64 bits, but ELF_GREG_TYPE is u32, so nregs == 88 which is wrong.
      
      The other problem is the memset, which assumes a struct pt_regs is smaller
      than a struct elf_regs. For a 32-bit process on a 64-bit kernel that's false.
      
      The fix is to calculate the number of regs using sizeof(unsigned long), which
      should always be right, and just memset the whole damn thing _before_ copying
      the registers in.
      Signed-off-by: NMichael Ellerman <michael@ellerman.id.au>
      30415f6a
  9. 10 10月, 2005 1 次提交
  10. 28 9月, 2005 1 次提交
  11. 21 9月, 2005 2 次提交
  12. 08 9月, 2005 1 次提交
    • H
      [PATCH] auxiliary vector cleanups · 36d57ac4
      H. J. Lu 提交于
      The size of auxiliary vector is fixed at 42 in linux/sched.h.  But it isn't
      very obvious when looking at linux/elf.h.  This patch adds AT_VECTOR_SIZE
      so that we can change it if necessary when a new vector is added.
      
      Because of include file ordering problems, doing this necessitated the
      extraction of the AT_* symbols into a standalone header file.
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      36d57ac4
  13. 09 6月, 2005 1 次提交
    • P
      [PATCH] ppc64: Fix PER_LINUX32 behaviour · ce10d979
      Paul Mackerras 提交于
      This patch fixes some bugs in the ppc64 PER_LINUX32 implementation,
      noted by Juergen Kreileder:
      
      * uname(2) doesn't respect PER_LINUX32, it returns 'ppc64' instead of 'ppc'
      * Child processes of a PER_LINUX32 process don't inherit PER_LINUX32
      
      Along the way I took the opportunity to move things around so that
      sys_ppc32.c only has 32-bit syscall emulation functions and to remove
      the obsolete "fakeppc" command line option.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      ce10d979
  14. 01 5月, 2005 1 次提交
    • A
      [PATCH] ppc64: noexec fixes · a2f95a5a
      Anton Blanchard 提交于
      There were a few issues with the ppc64 noexec support:
      
      The 64bit ABI has a non executable stack by default.  At the moment 64bit apps
      require a PT_GNU_STACK section in order to have a non executable stack.
      
      Disable the read implies exec workaround on the 64bit ABI.  The 64bit
      toolchain has never had problems with incorrect mmap permissions (the 32bit
      has, thats why we need to retain the workaround).
      
      With these fixes as well as a gcc fix from Alan Modra (that was recently
      committed) 64bit apps work as expected.
      Signed-off-by: NAnton Blanchard <anton@samba.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      a2f95a5a
  15. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      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