1. 18 Mar, 2020 1 commit
  2. 17 Mar, 2020 1 commit
  3. 13 Mar, 2020 1 commit
  4. 12 Mar, 2020 2 commits
    • Jan Kiszka's avatar
      x86/ipipe: Protect TLB flushing against context switch by head domain · 0d505edb
      Jan Kiszka authored
      A Xenomai application is very rarely triggering
      
      WARNING: CPU: 0 PID: 1997 at arch/x86/mm/tlb.c:560 [...]
      (local_tlb_gen > mm_tlb_gen)
      
      This could be triggered by loaded_mm and loaded_mm_asid becoming out of
      sync when flush_tlb_func_common is interrupted by the head domain to
      switch a real-time task right between the retrieval of both values, or
      maybe even after that but before writing mm_tlb_gen back to
      cpu_tlbstate.ctxs[loaded_mm_asid].tlb_gen.
      
      Avoid that case by making the retrieval atomic while keeping the TLB
      flush interruptible. Now, there could still be interrupt during the
      flush. To avoid writing back to the wrong context, we first atomically
      check after the flush if nothing changed and only write if that is the
      case. That may mean another TLB flush is triggered needlessly, but
      that's rare and acceptable.
      Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
      0d505edb
    • Nobuhiro Iwamatsu's avatar
      Merge tag 'v4.19.109' into linux-4.19.y-cip · 313dcd42
      Nobuhiro Iwamatsu authored
      This is the 4.19.109 stable release
      313dcd42
  5. 11 Mar, 2020 35 commits