1. 04 5月, 2014 3 次提交
    • D
      sparc64: Fix huge PMD invalidation. · 51e5ef1b
      David S. Miller 提交于
      On sparc64 "present" and "valid" are seperate PTE bits, this allows us to
      naturally distinguish between the user explicitly asking for PROT_NONE
      with mprotect() and other situations.
      
      However we weren't handling this properly in the huge PMD paths.
      
      First of all, the page table walker in the TSB miss path only checks
      for _PAGE_PMD_HUGE.  So the generic pmdp_invalidate() would clear
      _PAGE_PRESENT but the TLB miss paths would still load it into the TLB
      as a valid huge PMD.
      
      Fix this by clearing the valid bit in pmdp_invalidate(), and also
      checking the valid bit in USER_PGTABLE_CHECK_PMD_HUGE using "brgez"
      since _PAGE_VALID is bit 63 in both the sun4u and sun4v pte layouts.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      51e5ef1b
    • D
      sparc64: Fix executable bit testing in set_pmd_at() paths. · 5b1e94fa
      David S. Miller 提交于
      This code was mistakenly using the exec bit from the PMD in all
      cases, even when the PMD isn't a huge PMD.
      
      If it's not a huge PMD, test the exec bit in the individual ptes down
      in tlb_batch_pmd_scan().
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5b1e94fa
    • D
      sparc64: Normalize NMI watchdog logging and behavior. · 16ce8a30
      David S. Miller 提交于
      Bring this code in line with the perf based generic NMI watchdog
      in kernel/watchdog.c (which we should convert over to at some
      point).
      
      In particular, don't do anything super fancy when the watchdog
      triggers, and specifically don't do a do_exit() which only makes
      things worse.
      
      Either panic(), or WARN().  The latter of which will do all of
      the actions such as give us a stack backtrace.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      16ce8a30
  2. 02 5月, 2014 10 次提交
  3. 01 5月, 2014 6 次提交
  4. 30 4月, 2014 16 次提交
  5. 29 4月, 2014 5 次提交