An error occurred fetching the project authors.
  1. 18 Nov, 2005 2 commits
  2. 14 Nov, 2005 2 commits
  3. 11 Nov, 2005 2 commits
    • Benjamin Herrenschmidt's avatar
      [PATCH] powerpc: Merge vdso's and add vdso support to 32 bits kernel · a7f290da
      Benjamin Herrenschmidt authored
      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: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      a7f290da
    • David Gibson's avatar
      [PATCH] powerpc: Move udbg code to arch/powerpc · 35cd8785
      David Gibson authored
      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: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      35cd8785
  4. 10 Nov, 2005 2 commits
    • David Gibson's avatar
      [PATCH] powerpc: Move more ppc64 files with no ppc32 equivalent to powerpc · d3d2176a
      David Gibson authored
      This patch moves a bunch more files from arch/ppc64 and
      include/asm-ppc64 which have no equivalents in ppc32 code into
      arch/powerpc and include/asm-powerpc.  The file affected are:
      	hvcall.h
      	proc_ppc64.c
      	sysfs.c
      	lparcfg.c
      	rtas_pci.c
      
      The only changes apart from the move and corresponding Makefile
      changes are:
      	- #ifndef/#define in includes updated to _ASM_POWERPC_ form
      	- trailing whitespace removed
      	- comments giving full paths removed
      
      Built and booted on POWER5 LPAR (ARCH=powerpc and ARCH=ppc64), built
      for 32-bit powermac (ARCH=powerpc).
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      d3d2176a
    • David Gibson's avatar
      [PATCH] powerpc: Move various ppc64 files with no ppc32 equivalent to powerpc · 8882a4da
      David Gibson authored
      This patch moves a bunch of files from arch/ppc64 and
      include/asm-ppc64 which have no equivalents in ppc32 code into
      arch/powerpc and include/asm-powerpc.  The file affected are:
      	abs_addr.h
      	compat.h
      	lppaca.h
      	paca.h
      	tce.h
      	cpu_setup_power4.S
      	ioctl32.c
      	firmware.c
      	pacaData.c
      
      The only changes apart from the move and corresponding Makefile
      changes are:
      	- #ifndef/#define in includes updated to _ASM_POWERPC_ form
      	- trailing whitespace removed
      	- comments giving full paths removed
      	- pacaData.c renamed paca.c to remove studlyCaps
      	- Misplaced { moved in lppaca.h
      
      Built and booted on POWER5 LPAR (ARCH=powerpc and ARCH=ppc64), built
      for 32-bit powermac (ARCH=powerpc).
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      8882a4da
  5. 09 Nov, 2005 1 commit
  6. 04 Nov, 2005 2 commits
  7. 03 Nov, 2005 2 commits
  8. 01 Nov, 2005 1 commit
  9. 28 Oct, 2005 2 commits
  10. 27 Oct, 2005 3 commits
    • Paul Mackerras's avatar
      ppc64: Include arch/powerpc/kernel/setup-common.o · 9675c7eb
      Paul Mackerras authored
      ... which is needed now that ARCH=ppc64 is using the merged
      setup_64.c.
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      9675c7eb
    • 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
    • Paul Mackerras's avatar
      [PATCH] ppc64: remove arch/ppc64/kernel/setup.c · fda262b8
      Paul Mackerras authored
      and use setup_64.c from the merged tree instead.  The only difference
      between them was the code to set up the syscall maps.
      Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      fda262b8
  11. 26 Oct, 2005 2 commits
    • Paul Mackerras's avatar
      powerpc: Pull common bits of setup_{32,64}.c into setup-common.c · 03501dab
      Paul Mackerras authored
      This creates a new arch/powerpc/kernel/setup-common.c with various
      bits that setup_32.c and setup_64.c had in common - functions like
      machine_shutdown/restart/power_off, show_cpuinfo, set_preferred_console
      etc.
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      03501dab
    • Paul Mackerras's avatar
      powerpc: Merge rtas.c into arch/powerpc/kernel · 033ef338
      Paul Mackerras authored
      This splits arch/ppc64/kernel/rtas.c into arch/powerpc/kernel/rtas.c,
      which contains generic RTAS functions useful on any CHRP platform,
      and arch/powerpc/platforms/pseries/rtas-fw.[ch], which contain
      some pSeries-specific firmware flashing bits.  The parts of rtas.c
      that are to do with pSeries-specific error logging are protected
      by a new CONFIG_RTAS_ERROR_LOGGING symbol.  The inclusion of rtas.o
      is controlled by the CONFIG_PPC_RTAS symbol, and the relevant
      platforms select that.
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      033ef338
  12. 24 Oct, 2005 1 commit
  13. 20 Oct, 2005 1 commit
    • David Gibson's avatar
      [PATCH] powerpc: Merge ppc64 pmc.[ch] with ppc32 perfmon.[ch] · f7f6f4fe
      David Gibson authored
      This patches the ppc32 and ppc64 versions of the headers and .c files
      with helper functions for manipulating the performance counting
      hardware.  As a side effect, it removes use of the term "perfmon" from
      ppc32, thus avoiding confusion with the unrelated performance counter
      interface from HP Labs also called "perfmon".
      
      Built, but not booted, for g5, pSeries, iSeries, and 32-bit Powermac
      with both ARCH=powerpc and ARCH=ppc{,64} as appropriate.
      Signed-off-by: default avatarDavid Gibson <dwg@au1.ibm.com>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      f7f6f4fe
  14. 19 Oct, 2005 2 commits
  15. 18 Oct, 2005 2 commits
  16. 17 Oct, 2005 1 commit
  17. 13 Oct, 2005 3 commits
  18. 12 Oct, 2005 1 commit
  19. 11 Oct, 2005 2 commits
  20. 10 Oct, 2005 4 commits
  21. 06 Oct, 2005 2 commits