1. 25 5月, 2013 1 次提交
  2. 14 5月, 2013 1 次提交
  3. 13 5月, 2013 1 次提交
    • W
      arm64: debug: clear mdscr_el1 instead of taking the OS lock · 9c413e25
      Will Deacon 提交于
      During boot, we take the debug OS lock before interrupts are enabled.
      This is required to prevent clearing of PSTATE.D on the interrupt entry
      path, which could result in spurious debug exceptions before we've got
      round to resetting things like the hardware breakpoints registers to a
      sane state.
      
      A problem with this approach is that taking the OS lock prevents an
      external JTAG debugger from debugging the system, which is especially
      irritating during boot, where JTAG debugging can be most useful.
      
      This patch clears mdscr_el1 rather than taking the lock, clearing the
      MDE and KDE bits and preventing self-hosted hardware debug exceptions
      from occurring.
      Tested-by: NMark Rutland <mark.rutland@arm.com>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
      Cc: stable@vger.kernel.org
      9c413e25
  4. 08 5月, 2013 1 次提交
  5. 30 4月, 2013 2 次提交
  6. 26 4月, 2013 1 次提交
    • S
      arm64: mm: Correct show_pte behaviour · 4339e3f3
      Steve Capper 提交于
      show_pte makes use of the *_none_or_clear_bad style functions. If a
      pgd, pud or pmd is identified as being bad, it will then be cleared.
      
      As show_pte appears to be called from either the user or kernel
      fault handlers this side effect can lead to unpredictable behaviour;
      especially as TLB entries are not invalidated.
      
      This patch removes the page table sanitisation from show_pte. If a
      bad pgd, pud or pmd is encountered it is left unmodified.
      Signed-off-by: NSteve Capper <steve.capper@linaro.org>
      Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
      4339e3f3
  7. 26 3月, 2013 1 次提交
  8. 24 2月, 2013 1 次提交
  9. 23 1月, 2013 1 次提交
    • C
      arm64: Add simple earlyprintk support · 2475ff9d
      Catalin Marinas 提交于
      This patch adds support for "earlyprintk=" parameter on the kernel
      command line. The format is:
      
        earlyprintk=<name>[,<addr>][,<options>]
      
      where <name> is the name of the (UART) device, e.g. "pl011", <addr> is
      the I/O address. The <options> aren't currently used.
      
      The mapping of the earlyprintk device is done very early during kernel
      boot and there are restrictions on which functions it can call. A
      special early_io_map() function is added which creates the mapping from
      the pre-defined EARLY_IOBASE to the device I/O address passed via the
      kernel parameter. The pgd entry corresponding to EARLY_IOBASE is
      pre-populated in head.S during kernel boot.
      
      Only PL011 is currently supported and it is assumed that the interface
      is already initialised by the boot loader before the kernel is started.
      Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      2475ff9d
  10. 24 11月, 2012 1 次提交
  11. 14 11月, 2012 2 次提交
  12. 09 11月, 2012 1 次提交
  13. 08 10月, 2012 1 次提交
  14. 25 9月, 2012 1 次提交
  15. 17 9月, 2012 10 次提交