1. 16 3月, 2012 1 次提交
  2. 25 11月, 2011 1 次提交
  3. 17 11月, 2011 1 次提交
    • K
      powerpc/book3e-64: Fix debug support for userspace · 187b9f2a
      Kumar Gala 提交于
      With the introduction of CONFIG_PPC_ADV_DEBUG_REGS user space debug is
      broken on Book-E 64-bit parts that support delayed debug events.  When
      switch_booke_debug_regs() sets DBCR0 we'll start getting debug events as
      MSR_DE is also set and we aren't able to handle debug events from kernel
      space.
      
      We can remove the hack that always enables MSR_DE and loads up DBCR0 and
      just utilize switch_booke_debug_regs() to get user space debug working
      again.
      
      We still need to handle critical/debug exception stacks & proper
      save/restore of state for those exception levles to support debug events
      from kernel space like we have on 32-bit.
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      187b9f2a
  4. 07 10月, 2011 1 次提交
  5. 12 7月, 2011 1 次提交
  6. 19 5月, 2011 1 次提交
  7. 27 4月, 2011 1 次提交
  8. 31 3月, 2011 1 次提交
  9. 30 3月, 2011 1 次提交
  10. 04 3月, 2011 1 次提交
  11. 13 1月, 2011 1 次提交
  12. 14 7月, 2010 1 次提交
  13. 09 7月, 2010 1 次提交
    • B
      powerpc/book3e: Hack to get gdb moving along on Book3E 64-bit · a2e19811
      Benjamin Herrenschmidt 提交于
      Our handling of debug interrupts on Book3E 64-bit is not quite
      the way it should be just yet. This is a workaround to let gdb
      work at least for now. We ensure that when context switching,
      we set the appropriate DBCR0 value for the new task. We also
      make sure that we turn off MSR[DE] within the kernel, and set
      it as part of the bits that get set when going back to userspace.
      
      In the long run, we will probably set the userspace DBCR0 on the
      exception exit code path and ensure we have some proper kernel
      value to set on the way into the kernel, a bit like ppc32 does,
      but that will take more work.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      a2e19811
  14. 21 5月, 2010 1 次提交
  15. 05 5月, 2010 1 次提交
  16. 09 3月, 2010 1 次提交
  17. 17 2月, 2010 1 次提交
  18. 28 8月, 2009 1 次提交
  19. 25 8月, 2009 1 次提交
  20. 20 8月, 2009 1 次提交
  21. 16 6月, 2009 1 次提交
  22. 02 4月, 2009 1 次提交
  23. 11 3月, 2009 1 次提交
  24. 29 1月, 2009 1 次提交
    • K
      powerpc/fsl-booke: Cleanup init/exception setup to be runtime · 105c31df
      Kumar Gala 提交于
      We currently have a few variants of fsl-booke processors (e500v1, e500v2,
      e500mc, and e200).  They all have minor differences that we had previously
      been handling via ifdefs.
      
      To move towards having this support the following changes have been made:
      
      * PID1, PID2 only exist on e500v1 & e500v2 and should not be accessed on
        e500mc or e200.  We use MMUCFG[NPIDS] to determine which case we are
        since we only touch PID1/2 in extremely early init code.
      
      * Not all IVORs exist on all the processors so introduce cpu_setup
        functions for each variant to setup the proper IVORs that are either
        unique or exist but have some variations between the processors
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      105c31df
  25. 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
  26. 04 8月, 2008 1 次提交
  27. 26 6月, 2008 2 次提交
  28. 16 6月, 2008 1 次提交
  29. 06 2月, 2008 1 次提交
  30. 24 12月, 2007 1 次提交
  31. 20 12月, 2007 1 次提交
  32. 12 12月, 2007 1 次提交
  33. 18 8月, 2007 1 次提交
  34. 10 5月, 2007 1 次提交
  35. 07 2月, 2007 1 次提交
  36. 11 12月, 2006 1 次提交
  37. 21 9月, 2006 1 次提交
  38. 28 4月, 2006 1 次提交
  39. 26 6月, 2005 1 次提交