1. 01 3月, 2010 1 次提交
  2. 24 11月, 2009 1 次提交
  3. 30 10月, 2009 1 次提交
  4. 08 1月, 2009 1 次提交
  5. 21 12月, 2008 2 次提交
  6. 21 10月, 2008 1 次提交
  7. 25 9月, 2008 1 次提交
    • K
      powerpc: Introduce local (non-broadcast) forms of tlb invalidates · 0ba3418b
      Kumar Gala 提交于
      Introduced a new set of low level tlb invalidate functions that do not
      broadcast invalidates on the bus:
      
      _tlbil_all - invalidate all
      _tlbil_pid - invalidate based on process id (or mm context)
      _tlbil_va  - invalidate based on virtual address (ea + pid)
      
      On non-SMP configs _tlbil_all should be functionally equivalent to _tlbia and
      _tlbil_va should be functionally equivalent to _tlbie.
      
      The intent of this change is to handle SMP based invalidates via IPIs instead
      of broadcasts as the mechanism scales better for larger number of cores.
      
      On e500 (fsl-booke mmu) based cores move to using MMUCSR for invalidate alls
      and tlbsx/tlbwe for invalidate virtual address.
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      0ba3418b
  8. 01 7月, 2008 1 次提交
    • M
      powerpc: Add VSX context save/restore, ptrace and signal support · ce48b210
      Michael Neuling 提交于
      This patch extends the floating point save and restore code to use the
      VSX load/stores when VSX is available.  This will make FP context
      save/restore marginally slower on FP only code, when VSX is available,
      as it has to load/store 128bits rather than just 64bits.
      
      Mixing FP, VMX and VSX code will get constant architected state.
      
      The signals interface is extended to enable access to VSR 0-31
      doubleword 1 after discussions with tool chain maintainers.  Backward
      compatibility is maintained.
      
      The ptrace interface is also extended to allow access to VSR 0-31 full
      registers.
      Signed-off-by: NMichael Neuling <mikey@neuling.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      ce48b210
  9. 16 6月, 2008 1 次提交
    • S
      [POWERPC] Remove ppc32's export of console_drivers · 4a96db3c
      Stephen Rothwell 提交于
      There are no in-tree uses of the export any more and in linux-next there
      is a change that exports it globally which causes warnings:
      
      WARNING: vmlinux: 'console_drivers' exported twice. Previous export was in vmlinux
      
      and in one case (mpc85xx_defconfig) a build error:
      
      kernel/built-in.o: In function `__crc_console_drivers':
      (*ABS*+0x1eb0e6f5): multiple definition of `__crc_console_drivers'
      
      So remove the export now.  Also, there is no longer any need to include
      linux/console.h.
      Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      4a96db3c
  10. 27 5月, 2008 1 次提交
    • S
      ftrace: powerpc clean ups · ccbfac29
      Steven Rostedt 提交于
      This patch cleans up the ftrace code in PowerPC based on the comments from
      Michael Ellerman.
      Signed-off-by: NSteven Rostedt <srostedt@redhat.com>
      Cc: Michael Ellerman <michael@ellerman.id.au>
      Cc: proski@gnu.org
      Cc: a.p.zijlstra@chello.nl
      Cc: Pekka Paalanen <pq@iki.fi>
      Cc: Steven Rostedt <srostedt@redhat.com>
      Cc: linuxppc-dev@ozlabs.org
      Cc: Soeren Sandmann Pedersen <sandmann@redhat.com>
      Cc: paulus@samba.org
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      ccbfac29
  11. 30 4月, 2008 1 次提交
  12. 18 4月, 2008 1 次提交
  13. 17 4月, 2008 1 次提交
  14. 07 4月, 2008 1 次提交
  15. 26 3月, 2008 1 次提交
  16. 13 3月, 2008 2 次提交
    • T
      [POWERPC] Export empty_zero_page · 07dc42f6
      Theodore Ts'o 提交于
      Once again, this time with feeling....
      
      						- Ted
      
      >From c91cfaabc17f8a53807a2f31f067a732e34a1550 Mon Sep 17 00:00:00 2001
      From: Theodore Ts'o <tytso@mit.edu>
      Date: Wed, 12 Mar 2008 11:50:39 -0400
      Subject: Export empty_zero_page
      
      The empty_zero_page symbol is exported by most other architectures
      (s390, ia64, x86, um), and an upcoming ext4 patch needs it because
      ZERO_PAGE() references empty_zero_page, and we need it to zero out an
      unitialized extents in ext4 files.
      Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      07dc42f6
    • P
      [POWERPC] Add __ucmpdi2 for 64-bit comparisons in 32-bit kernels · 95ff54f5
      Paul Mackerras 提交于
      Some drivers (such as V4L2) have code that causes gcc to generate
      calls to __ucmpdi2 when compiling for 32-bit powerpc, which results
      in either a link-time error or a module that can't be loaded, as
      we don't currently have a __ucmpdi2.  This adds one so these drivers
      can be used.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      95ff54f5
  17. 25 1月, 2008 1 次提交
  18. 14 12月, 2007 1 次提交
  19. 22 9月, 2007 1 次提交
    • E
      [POWERPC] Fix build errors when BLOCK=n · 576e393e
      Emil Medve 提交于
      These are the symptom error messages:
      
        CC      arch/powerpc/kernel/setup_32.o
      In file included from include/linux/blkdev.h:17,
                       from include/linux/ide.h:13,
                       from arch/powerpc/kernel/setup_32.c:13:
      include/linux/bsg.h:67: warning: 'struct request_queue' declared inside parameter list
      include/linux/bsg.h:67: warning: its scope is only this definition or declaration, which is probably not what you want
      include/linux/bsg.h:71: warning: 'struct request_queue' declared inside parameter list
      In file included from arch/powerpc/kernel/setup_32.c:13:
      include/linux/ide.h:857: error: field 'wrq' has incomplete type
      
        CC      arch/powerpc/kernel/ppc_ksyms.o
      In file included from include/linux/blkdev.h:17,
                       from include/linux/ide.h:13,
                       from arch/powerpc/kernel/ppc_ksyms.c:15:
      include/linux/bsg.h:67: warning: 'struct request_queue' declared inside parameter list
      include/linux/bsg.h:67: warning: its scope is only this definition or declaration, which is probably not what you want
      include/linux/bsg.h:71: warning: 'struct request_queue' declared inside parameter list
      In file included from arch/powerpc/kernel/ppc_ksyms.c:15:
      include/linux/ide.h:857: error: field 'wrq' has incomplete type
      
      The fix tries to use the smallest scope CONFIG_* symbols that will fix
      the build problem.  In this case <linux/ide.h> needs to be included
      only if IDE=y or IDE=m were selected.  Also, ppc_ide_md is needed only
      if BLK_DEV_IDE=y or BLK_DEV_IDE=m
      
      Moved the EXPORT_SYMBOL(ppc_ide_md) from ppc_ksysms.c next to its
      declaration in setup_32.c which made <linux/ide.h> not needed. With
      <linux/ide.h> gone from ppc_ksyms.c, <asm/cacheflush.h> is needed to
      address the following warnings and errors:
      
        CC      arch/powerpc/kernel/ppc_ksyms.o
      arch/powerpc/kernel/ppc_ksyms.c:122: error: '__flush_icache_range' undeclared here (not in a function)
      arch/powerpc/kernel/ppc_ksyms.c:122: warning: type defaults to 'int' in declaration of '__flush_icache_range'
      arch/powerpc/kernel/ppc_ksyms.c:123: error: 'flush_dcache_range' undeclared here (not in a function)
      arch/powerpc/kernel/ppc_ksyms.c:123: warning: type defaults to 'int' in declaration of 'flush_dcache_range'
      Signed-off-by: NEmil Medve <Emilian.Medve@Freescale.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      576e393e
  20. 20 8月, 2007 1 次提交
  21. 10 7月, 2007 1 次提交
  22. 29 6月, 2007 2 次提交
  23. 02 5月, 2007 1 次提交
  24. 26 4月, 2007 1 次提交
  25. 13 4月, 2007 1 次提交
  26. 07 2月, 2007 1 次提交
  27. 11 12月, 2006 1 次提交
  28. 16 10月, 2006 1 次提交
    • P
      [POWERPC] Lazy interrupt disabling for 64-bit machines · d04c56f7
      Paul Mackerras 提交于
      This implements a lazy strategy for disabling interrupts.  This means
      that local_irq_disable() et al. just clear the 'interrupts are
      enabled' flag in the paca.  If an interrupt comes along, the interrupt
      entry code notices that interrupts are supposed to be disabled, and
      clears the EE bit in SRR1, clears the 'interrupts are hard-enabled'
      flag in the paca, and returns.  This means that interrupts only
      actually get disabled in the processor when an interrupt comes along.
      
      When interrupts are enabled by local_irq_enable() et al., the code
      sets the interrupts-enabled flag in the paca, and then checks whether
      interrupts got hard-disabled.  If so, it also sets the EE bit in the
      MSR to hard-enable the interrupts.
      
      This has the potential to improve performance, and also makes it
      easier to make a kernel that can boot on iSeries and on other 64-bit
      machines, since this lazy-disable strategy is very similar to the
      soft-disable strategy that iSeries already uses.
      
      This version renames paca->proc_enabled to paca->soft_enabled, and
      changes a couple of soft-disables in the kexec code to hard-disables,
      which should fix the crash that Michael Ellerman saw.  This doesn't
      yet use a reserved CR field for the soft_enabled and hard_enabled
      flags.  This applies on top of Stephen Rothwell's patches to make it
      possible to build a combined iSeries/other kernel.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      d04c56f7
  29. 20 9月, 2006 3 次提交
  30. 13 9月, 2006 1 次提交
  31. 25 8月, 2006 1 次提交
  32. 08 8月, 2006 1 次提交
  33. 11 7月, 2006 1 次提交
  34. 01 7月, 2006 1 次提交
  35. 03 4月, 2006 1 次提交