1. 10 Jun, 2014 3 commits
    • Michael Neuling's avatar
      powerpc/tm: Disable IRQ in tm_recheckpoint · db6c1d40
      Michael Neuling authored
      commit e6b8fd02 upstream.
      
      We can't take an IRQ when we're about to do a trechkpt as our GPR state is set
      to user GPR values.
      
      We've hit this when running some IBM Java stress tests in the lab resulting in
      the following dump:
      
        cpu 0x3f: Vector: 700 (Program Check) at [c000000007eb3d40]
            pc: c000000000050074: restore_gprs+0xc0/0x148
            lr: 00000000b52a8184
            sp: ac57d360
           msr: 8000000100201030
          current = 0xc00000002c500000
          paca    = 0xc000000007dbfc00     softe: 0     irq_happened: 0x00
            pid   = 34535, comm = Pooled Thread #
        R00 = 00000000b52a8184   R16 = 00000000b3e48fda
        R01 = 00000000ac57d360   R17 = 00000000ade79bd8
        R02 = 00000000ac586930   R18 = 000000000fac9bcc
        R03 = 00000000ade60000   R19 = 00000000ac57f930
        R04 = 00000000f6624918   R20 = 00000000ade79be8
        R05 = 00000000f663f238   R21 = 00000000ac218a54
        R06 = 0000000000000002   R22 = 000000000f956280
        R07 = 0000000000000008   R23 = 000000000000007e
        R08 = 000000000000000a   R24 = 000000000000000c
        R09 = 00000000b6e69160   R25 = 00000000b424cf00
        R10 = 0000000000000181   R26 = 00000000f66256d4
        R11 = 000000000f365ec0   R27 = 00000000b6fdcdd0
        R12 = 00000000f66400f0   R28 = 0000000000000001
        R13 = 00000000ada71900   R29 = 00000000ade5a300
        R14 = 00000000ac2185a8   R30 = 00000000f663f238
        R15 = 0000000000000004   R31 = 00000000f6624918
        pc  = c000000000050074 restore_gprs+0xc0/0x148
        cfar= c00000000004fe28 dont_restore_vec+0x1c/0x1a4
        lr  = 00000000b52a8184
        msr = 8000000100201030   cr  = 24804888
        ctr = 0000000000000000   xer = 0000000000000000   trap =  700
      
      This moves tm_recheckpoint to a C function and moves the tm_restore_sprs into
      that function.  It then adds IRQ disabling over the trechkpt critical section.
      It also sets the TEXASR FS in the signals code to ensure this is never set now
      that we explictly write the TM sprs in tm_recheckpoint.
      Signed-off-by: default avatarMichael Neuling <mikey@neuling.org>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      [ luis: backported to 3.11: used mikey's backport to 3.10, which picks
        the definition of TEXASR_FS from commit
        e4e38121 ("KVM: PPC: Book3S HV: Add
        transactional memory support") ]
      Signed-off-by: default avatarLuis Henriques <luis.henriques@canonical.com>
      Signed-off-by: default avatarKamal Mostafa <kamal@canonical.com>
      db6c1d40
    • Emmanuel Grumbach's avatar
      iwlwifi: mvm: disable beacon filtering · f30f889c
      Emmanuel Grumbach authored
      commit 7bacc782 upstream.
      
      This feature has been causing trouble - disable it for now.
      Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Cc: Seth Forshee <seth.forshee@canonical.com>
      Signed-off-by: default avatarKamal Mostafa <kamal@canonical.com>
      f30f889c
    • Rik van Riel's avatar
      mm/numa: Remove BUG_ON() in __handle_mm_fault() · 1e6c38ef
      Rik van Riel authored
      commit 107437fe upstream.
      
      Changing PTEs and PMDs to pte_numa & pmd_numa is done with the
      mmap_sem held for reading, which means a pmd can be instantiated
      and turned into a numa one while __handle_mm_fault() is examining
      the value of old_pmd.
      
      If that happens, __handle_mm_fault() should just return and let
      the page fault retry, instead of throwing an oops. This is
      handled by the test for pmd_trans_huge(*pmd) below.
      Signed-off-by: default avatarRik van Riel <riel@redhat.com>
      Reviewed-by: default avatarNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>
      Reported-by: default avatarSunil Pandey <sunil.k.pandey@intel.com>
      Signed-off-by: default avatarPeter Zijlstra <peterz@infradead.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Johannes Weiner <hannes@cmpxchg.org>
      Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Mel Gorman <mgorman@suse.de>
      Cc: linux-mm@kvack.org
      Cc: lwoodman@redhat.com
      Cc: dave.hansen@intel.com
      Link: http://lkml.kernel.org/r/20140429153615.2d72098e@annuminas.surriel.comSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
      Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarKamal Mostafa <kamal@canonical.com>
      1e6c38ef
  2. 09 Jun, 2014 37 commits