1. 10 6月, 2020 1 次提交
  2. 29 5月, 2020 3 次提交
  3. 27 5月, 2020 1 次提交
  4. 25 5月, 2020 1 次提交
  5. 18 5月, 2020 10 次提交
  6. 13 5月, 2020 4 次提交
  7. 05 5月, 2020 2 次提交
  8. 01 5月, 2020 1 次提交
  9. 19 3月, 2020 1 次提交
    • Q
      iommu/vt-d: Silence RCU-list debugging warning in dmar_find_atsr() · c6f4ebde
      Qian Cai 提交于
      dmar_find_atsr() calls list_for_each_entry_rcu() outside of an RCU read
      side critical section but with dmar_global_lock held. Silence this
      false positive.
      
       drivers/iommu/intel-iommu.c:4504 RCU-list traversed in non-reader section!!
       1 lock held by swapper/0/1:
       #0: ffffffff9755bee8 (dmar_global_lock){+.+.}, at: intel_iommu_init+0x1a6/0xe19
      
       Call Trace:
        dump_stack+0xa4/0xfe
        lockdep_rcu_suspicious+0xeb/0xf5
        dmar_find_atsr+0x1ab/0x1c0
        dmar_parse_one_atsr+0x64/0x220
        dmar_walk_remapping_entries+0x130/0x380
        dmar_table_init+0x166/0x243
        intel_iommu_init+0x1ab/0xe19
        pci_iommu_init+0x1a/0x44
        do_one_initcall+0xae/0x4d0
        kernel_init_freeable+0x412/0x4c5
        kernel_init+0x19/0x193
      Signed-off-by: NQian Cai <cai@lca.pw>
      Acked-by: NLu Baolu <baolu.lu@linux.intel.com>
      Signed-off-by: NJoerg Roedel <jroedel@suse.de>
      c6f4ebde
  10. 15 3月, 2020 1 次提交
  11. 13 3月, 2020 2 次提交
  12. 10 3月, 2020 1 次提交
    • Q
      iommu/vt-d: Fix RCU-list bugs in intel_iommu_init() · 2d48ea0e
      Qian Cai 提交于
      There are several places traverse RCU-list without holding any lock in
      intel_iommu_init(). Fix them by acquiring dmar_global_lock.
      
       WARNING: suspicious RCU usage
       -----------------------------
       drivers/iommu/intel-iommu.c:5216 RCU-list traversed in non-reader section!!
      
       other info that might help us debug this:
      
       rcu_scheduler_active = 2, debug_locks = 1
       no locks held by swapper/0/1.
      
       Call Trace:
        dump_stack+0xa0/0xea
        lockdep_rcu_suspicious+0x102/0x10b
        intel_iommu_init+0x947/0xb13
        pci_iommu_init+0x26/0x62
        do_one_initcall+0xfe/0x500
        kernel_init_freeable+0x45a/0x4f8
        kernel_init+0x11/0x139
        ret_from_fork+0x3a/0x50
       DMAR: Intel(R) Virtualization Technology for Directed I/O
      
      Fixes: d8190dc6 ("iommu/vt-d: Enable DMA remapping after rmrr mapped")
      Signed-off-by: NQian Cai <cai@lca.pw>
      Acked-by: NLu Baolu <baolu.lu@linux.intel.com>
      Signed-off-by: NJoerg Roedel <jroedel@suse.de>
      2d48ea0e
  13. 03 3月, 2020 1 次提交
  14. 19 2月, 2020 5 次提交
  15. 25 1月, 2020 2 次提交
  16. 24 1月, 2020 4 次提交