1. 17 3月, 2013 1 次提交
    • A
      powerpc: Update kernel VSID range · c60ac569
      Aneesh Kumar K.V 提交于
      This patch change the kernel VSID range so that we limit VSID_BITS to 37.
      This enables us to support 64TB with 65 bit VA (37+28). Without this patch
      we have boot hangs on platforms that only support 65 bit VA.
      
      With this patch we now have proto vsid generated as below:
      
      We first generate a 37-bit "proto-VSID". Proto-VSIDs are generated
      from mmu context id and effective segment id of the address.
      
      For user processes max context id is limited to ((1ul << 19) - 5)
      for kernel space, we use the top 4 context ids to map address as below
      0x7fffc -  [ 0xc000000000000000 - 0xc0003fffffffffff ]
      0x7fffd -  [ 0xd000000000000000 - 0xd0003fffffffffff ]
      0x7fffe -  [ 0xe000000000000000 - 0xe0003fffffffffff ]
      0x7ffff -  [ 0xf000000000000000 - 0xf0003fffffffffff ]
      Acked-by: NPaul Mackerras <paulus@samba.org>
      Signed-off-by: NAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
      Tested-by: NGeoff Levand <geoff@infradead.org>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      CC: <stable@vger.kernel.org> [v3.8]
      c60ac569
  2. 13 3月, 2013 1 次提交
  3. 24 2月, 2013 3 次提交
  4. 15 2月, 2013 1 次提交
  5. 04 2月, 2013 1 次提交
  6. 29 1月, 2013 1 次提交
  7. 10 1月, 2013 2 次提交
    • M
      powerpc: Hardware breakpoints rewrite to handle non DABR breakpoint registers · 9422de3e
      Michael Neuling 提交于
      This is a rewrite so that we don't assume we are using the DABR throughout the
      code.  We now use the arch_hw_breakpoint to store the breakpoint in a generic
      manner in the thread_struct, rather than storing the raw DABR value.
      
      The ptrace GET/SET_DEBUGREG interface currently passes the raw DABR in from
      userspace.  We keep this functionality, so that future changes (like the POWER8
      DAWR), will still fake the DABR to userspace.
      Signed-off-by: NMichael Neuling <mikey@neuling.org>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      9422de3e
    • A
      powerpc: Build kernel with -mcmodel=medium · 1fbe9cf2
      Anton Blanchard 提交于
      Finally remove the two level TOC and build with -mcmodel=medium.
      
      Unfortunately we can't build modules with -mcmodel=medium due to
      the tricks the kernel module loader plays with percpu data:
      
      # -mcmodel=medium breaks modules because it uses 32bit offsets from
      # the TOC pointer to create pointers where possible. Pointers into the
      # percpu data area are created by this method.
      #
      # The kernel module loader relocates the percpu data section from the
      # original location (starting with 0xd...) to somewhere in the base
      # kernel percpu data space (starting with 0xc...). We need a full
      # 64bit relocation for this to work, hence -mcmodel=large.
      
      On older kernels we fall back to the two level TOC (-mminimal-toc)
      Signed-off-by: NAnton Blanchard <anton@samba.org>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      1fbe9cf2
  8. 04 1月, 2013 1 次提交
    • G
      POWERPC: drivers: remove __dev* attributes. · cad5cef6
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      __devinitconst, and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      cad5cef6
  9. 13 12月, 2012 1 次提交
  10. 19 11月, 2012 1 次提交
  11. 15 11月, 2012 2 次提交
  12. 09 10月, 2012 1 次提交
  13. 27 9月, 2012 1 次提交
  14. 21 9月, 2012 1 次提交
  15. 17 9月, 2012 9 次提交
  16. 13 9月, 2012 1 次提交
  17. 10 9月, 2012 1 次提交
  18. 07 9月, 2012 1 次提交
  19. 05 9月, 2012 7 次提交
  20. 16 8月, 2012 1 次提交
  21. 11 7月, 2012 1 次提交
  22. 10 7月, 2012 1 次提交