1. 18 5月, 2020 7 次提交
  2. 27 3月, 2020 1 次提交
  3. 19 3月, 2020 1 次提交
  4. 07 1月, 2020 7 次提交
  5. 18 12月, 2019 1 次提交
  6. 03 9月, 2019 1 次提交
    • J
      iommu/vt-d: Remove global page flush support · 8744daf4
      Jacob Pan 提交于
      Global pages support is removed from VT-d spec 3.0. Since global pages G
      flag only affects first-level paging structures and because DMA request
      with PASID are only supported by VT-d spec. 3.0 and onward, we can
      safely remove global pages support.
      
      For kernel shared virtual address IOTLB invalidation, PASID
      granularity and page selective within PASID will be used. There is
      no global granularity supported. Without this fix, IOTLB invalidation
      will cause invalid descriptor error in the queued invalidation (QI)
      interface.
      
      Fixes: 1c4f88b7 ("iommu/vt-d: Shared virtual address in scalable mode")
      Reported-by: NSanjay K Kumar <sanjay.k.kumar@intel.com>
      Signed-off-by: NJacob Pan <jacob.jun.pan@linux.intel.com>
      Signed-off-by: NJoerg Roedel <jroedel@suse.de>
      8744daf4
  7. 05 6月, 2019 1 次提交
  8. 27 5月, 2019 1 次提交
  9. 11 4月, 2019 1 次提交
  10. 01 3月, 2019 1 次提交
  11. 31 1月, 2019 1 次提交
  12. 11 1月, 2019 1 次提交
  13. 11 12月, 2018 4 次提交
  14. 06 11月, 2018 1 次提交
  15. 27 10月, 2018 1 次提交
  16. 18 8月, 2018 1 次提交
    • S
      mm: convert return type of handle_mm_fault() caller to vm_fault_t · 50a7ca3c
      Souptick Joarder 提交于
      Use new return type vm_fault_t for fault handler.  For now, this is just
      documenting that the function returns a VM_FAULT value rather than an
      errno.  Once all instances are converted, vm_fault_t will become a
      distinct type.
      
      Ref-> commit 1c8f4220 ("mm: change return type to vm_fault_t")
      
      In this patch all the caller of handle_mm_fault() are changed to return
      vm_fault_t type.
      
      Link: http://lkml.kernel.org/r/20180617084810.GA6730@jordon-HP-15-Notebook-PCSigned-off-by: NSouptick Joarder <jrdr.linux@gmail.com>
      Cc: Matthew Wilcox <willy@infradead.org>
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: Matt Turner <mattst88@gmail.com>
      Cc: Vineet Gupta <vgupta@synopsys.com>
      Cc: Russell King <linux@armlinux.org.uk>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Richard Kuo <rkuo@codeaurora.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Michal Simek <monstr@monstr.eu>
      Cc: James Hogan <jhogan@kernel.org>
      Cc: Ley Foon Tan <lftan@altera.com>
      Cc: Jonas Bonn <jonas@southpole.se>
      Cc: James E.J. Bottomley <jejb@parisc-linux.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Palmer Dabbelt <palmer@sifive.com>
      Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
      Cc: David S. Miller <davem@davemloft.net>
      Cc: Richard Weinberger <richard@nod.at>
      Cc: Guan Xuetao <gxt@pku.edu.cn>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Cc: "Levin, Alexander (Sasha Levin)" <alexander.levin@verizon.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      50a7ca3c
  17. 20 7月, 2018 5 次提交
  18. 06 7月, 2018 1 次提交
    • L
      iommu/vt-d: Remove unnecessary WARN_ON() · 3e781fca
      Lu Baolu 提交于
      When drivers call intel_svm_available() to check whether the
      Shared Virtual Memory(SVM) is supported by the IOMMU driver,
      they will get a warning in the kernel message if the SVM is
      not supported by the hardware.
      
      [    3.790876] WARNING: CPU: 0 PID: 267 at drivers/iommu/intel-svm.c:334 intel_svm_bind_mm+0x292/0x570
      [    3.790877] Modules linked in: dsa(+) vfio_mdev mdev vfio_iommu_type1 soundcore vfio serio_raw parport_pc ppdev lp parport autofs4 psmouse virtio_net pata_acpi
      [    3.790884] CPU: 0 PID: 267 Comm: systemd-udevd Not tainted 4.15.0+ #358
      [    3.790885] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.11.0-0-g63451fca13-prebuilt.qemu-project.org 04/01/2014
      [    3.790887] RIP: 0010:intel_svm_bind_mm+0x292/0x570
      [    3.790887] RSP: 0000:ffffac72c08a3a70 EFLAGS: 00010246
      [    3.790889] RAX: 0000000000000000 RBX: ffff90447a5160a0 RCX: 0000000000000000
      [    3.790889] RDX: 0000000000000000 RSI: 0000000000000082 RDI: ffff90447fc16550
      [    3.790890] RBP: ffff90447a516000 R08: 0000000000000000 R09: 0000000000000178
      [    3.790891] R10: 0000000000000220 R11: 0000000000aaaaaa R12: 0000000000000000
      [    3.790891] R13: 0000000000000002 R14: ffffac72c08a3b18 R15: ffffac72c08a3eb8
      [    3.790893] FS:  00007fb21e85b8c0(0000) GS:ffff90447fc00000(0000) knlGS:0000000000000000
      [    3.790894] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
      [    3.790894] CR2: 000055c08167d148 CR3: 000000013a6f4000 CR4: 00000000000006f0
      [    3.790903] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
      [    3.790904] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
      
      This is caused by a unnecessary WARN_ON() in intel_svm_bind_mm().
      Hence, remove it.
      Signed-off-by: NLu Baolu <baolu.lu@linux.intel.com>
      Signed-off-by: NJoerg Roedel <jroedel@suse.de>
      3e781fca
  19. 15 5月, 2018 1 次提交
  20. 21 3月, 2018 1 次提交
  21. 15 3月, 2018 1 次提交