1. 11 11月, 2005 2 次提交
    • 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
    • D
      [PATCH] powerpc: Move udbg code to arch/powerpc · 35cd8785
      David Gibson 提交于
      Since the udbg code in ppc64 has no ppc32 equivalent, move it straight
      over into arch/powerpc (and include/asm-powerpc for udbg.h).  In time,
      we probably want to meld the various bits and pieces of 32-bit early
      debugging code into udbg, but for now only include it on
      CONFIG_PPC64=y builds.  The only change during the move is to
      standardise the protecting #ifdef/#define in udbg.h, and move its
      banner comment above the initial #ifdef (which seems to be normal
      practice).
      
      Built and booted on POWER5 LPAR (ARCH=powerpc and ARCH=ppc64).  Built
      for 32bit multiplatform (ARCH=powerpc).
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      35cd8785
  2. 10 11月, 2005 4 次提交
  3. 09 11月, 2005 1 次提交
  4. 05 11月, 2005 1 次提交
  5. 04 11月, 2005 1 次提交
  6. 03 11月, 2005 2 次提交
  7. 01 11月, 2005 4 次提交
    • D
      [PATCH] powerpc: Merge bitops.h · a0e60b20
      David Gibson 提交于
      Here's a revised version.  This re-introduces the set_bits() function
      from ppc64, which I removed because I thought it was unused (it exists
      on no other arch).  In fact it is used in the powermac interrupt code
      (but not on pSeries).
      
      - We use LARXL/STCXL macros to generate the right (32 or 64 bit)
        instructions, similar to LDL/STL from ppc_asm.h, used in fpu.S
      
      - ppc32 previously used a full "sync" barrier at the end of
        test_and_*_bit(), whereas ppc64 used an "isync".  The merged version
        uses "isync", since I believe that's sufficient.
      
      - The ppc64 versions of then minix_*() bitmap functions have changed
        semantics.  Previously on ppc64, these functions were big-endian
        (that is bit 0 was the LSB in the first 64-bit, big-endian word).
        On ppc32 (and x86, for that matter, they were little-endian.  As far
        as I can tell, the big-endian usage was simply wrong - I guess
        no-one ever tried to use minixfs on ppc64.
      
      - On ppc32 find_next_bit() and find_next_zero_bit() are no longer
        inline (they were already out-of-line on ppc64).
      
      - For ppc64, sched_find_first_bit() has moved from mmu_context.h to
        the merged bitops.  What it was doing in mmu_context.h in the first
        place, I have no idea.
      
      - The fls() function is now implemented using the cntlzw instruction
        on ppc64, instead of generic_fls(), as it already was on ppc32.
      
      - For ARCH=ppc, this patch requires adding arch/powerpc/lib to the
        arch/ppc/Makefile.  This in turn requires some changes to
        arch/powerpc/lib/Makefile which didn't correctly handle ARCH=ppc.
      
      Built and running on G5.
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      a0e60b20
    • A
      [PATCH] powerpc: move arch/ppc64/kernel/bpa* to arch/powerpc/platforms/cell · 811d4176
      Arnd Bergmann 提交于
      This patch simply moves files over to arch/powerpc without making
      any changes to them.
      Signed-off-by: NArnd Bergmann <arndb@de.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      811d4176
    • A
      [PATCH] powerpc: move mmio_nvram.c over to arch/powerpc · edf03c1e
      Arnd Bergmann 提交于
      The nvram code formally known as bpa_nvram.c is rather
      generic really, so it is quite likely to be useful to
      future boards not based on cell.
      
      This patch puts it into arch/powerpc/sysdev.
      Signed-off-by: NArnd Bergmann <arndb@de.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      edf03c1e
    • A
      [PATCH] powerpc: Rename BPA to Cell · f3f66f59
      Arnd Bergmann 提交于
      The official name for BPA is now CBEA (Cell Broadband
      Engine Architecture). This patch renames all occurences
      of the term BPA to 'Cell' for easier recognition.
      Signed-off-by: NArnd Bergmann <arndb@de.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      f3f66f59
  8. 29 10月, 2005 1 次提交
  9. 28 10月, 2005 3 次提交
  10. 27 10月, 2005 1 次提交
  11. 26 10月, 2005 3 次提交
  12. 24 10月, 2005 1 次提交
  13. 22 10月, 2005 1 次提交
  14. 20 10月, 2005 4 次提交
  15. 18 10月, 2005 1 次提交
  16. 17 10月, 2005 1 次提交
  17. 13 10月, 2005 5 次提交
  18. 11 10月, 2005 1 次提交
  19. 10 10月, 2005 3 次提交