1. 25 7月, 2008 6 次提交
  2. 14 5月, 2008 1 次提交
    • M
      [POWERPC] Fix sparse warnings in arch/powerpc/kernel · 1c21a293
      Michael Ellerman 提交于
      Make a few things static in lparcfg.c
      Make init and exit routines static in rtas_flash.c
      Make things static in rtas_pci.c
      Make some functions static in rtas.c
      Make fops static in rtas-proc.c
      Remove unneeded extern for do_gtod in smp.c
      Make clocksource_init() static in time.c
      Make last_tick_len and ticklen_to_xs static in time.c
      Move the declaration of the pvr per-cpu into smp.h
      Make kexec_smp_down() and kexec_stack static in machine_kexec_64.c
      Don't return void in arch_teardown_msi_irqs() in msi.c
      Move declaration of GregorianDay()into asm/time.h
      Signed-off-by: NMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      1c21a293
  3. 29 4月, 2008 1 次提交
  4. 01 4月, 2008 1 次提交
  5. 11 12月, 2007 1 次提交
  6. 03 10月, 2007 1 次提交
    • H
      [POWERPC] ppc64: support CONFIG_DEBUG_PREEMPT · 048c8bc9
      Hugh Dickins 提交于
      Add CONFIG_DEBUG_PREEMPT support to ppc64: it was useful for testing
      get_paca() preemption.  Cheat a little, just use debug_smp_processor_id()
      in the debug version of get_paca(): it contains all the right checks and
      reporting, though get_paca() doesn't really use smp_processor_id().
      
      Use local_paca for what might have been called __raw_get_paca().
      Silence harmless warnings from io.h and lparcfg.c with local_paca -
      it is okay for iseries_lparcfg_data to be referencing shared_proc
      with preemption enabled: all cpus should show the same value for
      shared_proc.
      
      Why do other architectures need TRACE_IRQFLAGS_SUPPORT for DEBUG_PREEMPT?
      I don't know, ppc64 appears to get along fine without it.
      Signed-off-by: NHugh Dickins <hugh@veritas.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      048c8bc9
  7. 20 7月, 2007 1 次提交
  8. 27 4月, 2007 1 次提交
  9. 24 4月, 2007 1 次提交
  10. 13 4月, 2007 1 次提交
  11. 13 2月, 2007 1 次提交
  12. 08 2月, 2007 1 次提交
  13. 01 8月, 2006 1 次提交
    • A
      [POWERPC] clean up pseries hcall interfaces · b9377ffc
      Anton Blanchard 提交于
      Our pseries hcall interfaces are out of control:
      
      	plpar_hcall_norets
      	plpar_hcall
      	plpar_hcall_8arg_2ret
      	plpar_hcall_4out
      	plpar_hcall_7arg_7ret
      	plpar_hcall_9arg_9ret
      
      Create 3 interfaces to cover all cases:
      
      	plpar_hcall_norets:	7 arguments no returns
      	plpar_hcall:		6 arguments 4 returns
      	plpar_hcall9:		9 arguments 9 returns
      
      There are only 2 cases in the kernel that need plpar_hcall9, hopefully
      we can keep it that way.
      
      Pass in a buffer to stash return parameters so we avoid the &dummy1,
      &dummy2 madness.
      Signed-off-by: NAnton Blanchard <anton@samba.org>
      --
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      b9377ffc
  14. 31 7月, 2006 1 次提交
  15. 13 7月, 2006 1 次提交
  16. 01 7月, 2006 1 次提交
  17. 29 6月, 2006 1 次提交
  18. 19 5月, 2006 1 次提交
  19. 01 4月, 2006 2 次提交
    • W
      [PATCH] powerpc/pseries: misc lparcfg fixes · 34422fed
      Will Schmidt 提交于
      This fixes several problems with the lparcfg code.  In case
      someone gets a sense of deja-vu, part of this was submitted last Sep, I
      thought the changes went in, but either got backed out, or just got
      lost.
      
      First, change the local_buffer declaration to be unsigned char *.  We
      had a bad-math problem in a 2.4 tree which was built with a
      "-fsigned-char" parm.  I dont believe we ever build with that parm
      now-a-days, but to be safe, I'd prefer the declaration be explicit.
      
      Second, fix a bad math calculation for splpar_strlen.
      
      Third, on the rtas_call for get-system-parameter, pass in
      RTAS_DATA_BUF_SIZE for the rtas_data_buf size, instead of letting random
      data determine the size.   Until recently, we've had a sufficiently
      large 'random data' value get passed in, so the function just happens to
      have worked OK.   Now it's getting passed a '0', which causes the
      rtas_call to return success, but no data shows up in the buffer.
      (oops!).   This was found by the LTC test org.
      
      This is in a branch of code that only gets run on SPLPAR systems.
      Tested on power5 Lpar.
      Signed-off-by: NWill Schmidt <willschm@us.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      34422fed
    • S
      [PATCH] powerpc/pseries: Change H_StudlyCaps to H_SHOUTING_CAPS · 706c8c93
      Segher Boessenkool 提交于
      Also cleans up some nearby whitespace problems.
      Signed-off-by: NSegher Boessenkool <segher@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      706c8c93
  20. 29 3月, 2006 1 次提交
  21. 20 2月, 2006 1 次提交
  22. 13 1月, 2006 1 次提交
    • D
      [PATCH] powerpc: Remove lppaca structure from the PACA · 3356bb9f
      David Gibson 提交于
      At present the lppaca - the structure shared with the iSeries
      hypervisor and phyp - is contained within the PACA, our own low-level
      per-cpu structure.  This doesn't have to be so, the patch below
      removes it, making a separate array of lppaca structures.
      
      This saves approximately 500*NR_CPUS bytes of image size and kernel
      memory, because we don't need aligning gap between the Linux and
      hypervisor portions of every PACA.  On the other hand it means an
      extra level of dereference in many accesses to the lppaca.
      
      The patch also gets rid of several places where we assign the paca
      address to a local variable for no particular reason.
      Signed-off-by: NDavid Gibson <dwg@au1.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      3356bb9f
  23. 14 11月, 2005 1 次提交
  24. 11 11月, 2005 2 次提交
  25. 10 11月, 2005 2 次提交
  26. 07 11月, 2005 1 次提交
  27. 02 11月, 2005 2 次提交
  28. 06 9月, 2005 1 次提交
  29. 30 8月, 2005 1 次提交
  30. 29 8月, 2005 2 次提交