1. 11 3月, 2016 1 次提交
    • M
      xtensa: support hardware breakpoints/watchpoints · c91e02bd
      Max Filippov 提交于
      Use perf framework to manage hardware instruction and data breakpoints.
      Add two new ptrace calls: PTRACE_GETHBPREGS and PTRACE_SETHBPREGS to
      query and set instruction and data breakpoints.
      Address bit 0 choose instruction (0) or data (1) break register, bits
      31..1 are the register number.
      Both calls transfer two 32-bit words: address (0) and control (1).
      Instruction breakpoint contorl word is 0 to clear breakpoint, 1 to set.
      Data breakpoint control word bit 31 is 'trigger on store', bit 30 is
      'trigger on load, bits 29..0 are length. Length 0 is used to clear a
      breakpoint. To set a breakpoint length must be a power of 2 in the range
      1..64 and the address must be length-aligned.
      
      Introduce new thread_info flag: TIF_DB_DISABLED. Set it if debug
      exception is raised by the kernel code accessing watched userspace
      address and disable corresponding data breakpoint. On exit to userspace
      check that flag and, if set, restore all data breakpoints.
      
      Handle debug exceptions raised with PS.EXCM set. This may happen when
      window overflow/underflow handler or fast exception handler hits data
      breakpoint, in which case save and disable all data breakpoints,
      single-step faulting instruction and restore data breakpoints.
      Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
      c91e02bd
  2. 11 1月, 2016 1 次提交
    • M
      xtensa: make fake NMI configurable · e4629194
      Max Filippov 提交于
      Do not always use fake NMI when safe, provide Kconfig option instead.
      Print a warning if fake NMI is chosen in unsafe configuration, but allow
      it, because it may work if the user knows that interrupts with
      priorities at or above PMM IRQ are not used. Add a check to NMI handler
      that BUGs if any of these IRQs fire.
      Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
      e4629194
  3. 03 11月, 2015 1 次提交
  4. 02 11月, 2015 2 次提交
  5. 17 8月, 2015 4 次提交
  6. 26 5月, 2015 1 次提交
  7. 27 2月, 2015 1 次提交
  8. 09 12月, 2014 1 次提交
  9. 21 10月, 2014 3 次提交
  10. 06 10月, 2014 2 次提交
  11. 14 8月, 2014 6 次提交
  12. 06 5月, 2014 1 次提交
  13. 08 4月, 2014 1 次提交
  14. 07 4月, 2014 1 次提交
    • M
      xtensa: add HIGHMEM support · 65559100
      Max Filippov 提交于
      Introduce fixmap area just below the vmalloc region. Use it for atomic
      mapping of high memory pages.
      High memory on cores with cache aliasing is not supported and is still
      to be implemented. Fail build for such configurations for now.
      Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
      65559100
  15. 02 4月, 2014 1 次提交
  16. 22 2月, 2014 3 次提交
  17. 15 1月, 2014 5 次提交
  18. 08 1月, 2014 1 次提交
  19. 13 9月, 2013 1 次提交
  20. 08 7月, 2013 3 次提交