aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/intel-iommu.c
AgeCommit message (Expand)AuthorFilesLines
2020-06-10iommu/vt-d: Move Intel IOMMU driver into subdirectoryJoerg Roedel1-6207/+0
2020-06-02Merge branches 'arm/msm', 'arm/allwinner', 'arm/smmu', 'x86/vt-d', 'hyper-v',...Joerg Roedel1-553/+399
2020-05-29iommu/vt-d: Remove real DMA lookup in find_domainJon Derrick1-3/+0
2020-05-29iommu/vt-d: Allocate domain info for real DMA sub-devicesJon Derrick1-4/+15
2020-05-29iommu/vt-d: Only clear real DMA device's context entriesJon Derrick1-1/+8
2020-05-27iommu/vt-d: Use pci_ats_supported()Jean-Philippe Brucker1-6/+3
2020-05-25iommu/vt-d: fix a GCC warningQian Cai1-1/+1
2020-05-18iommu/vt-d: Remove IOVA handling code from the non-dma_ops pathTom Murphy1-63/+32
2020-05-18iommu/vt-d: Disable non-recoverable fault processing before unbindLu Baolu1-2/+2
2020-05-18iommu/vt-d: Replace intel SVM APIs with generic SVA APIsJacob Pan1-0/+3
2020-05-18iommu/vt-d: Report SVA feature with generic flagJacob Pan1-0/+18
2020-05-18iommu/vt-d: Add get_domain_info() helperLu Baolu1-13/+27
2020-05-18iommu/vt-d: Add custom allocator for IOASIDJacob Pan1-0/+85
2020-05-18iommu/vt-d: Add svm/sva invalidate functionJacob Pan1-0/+171
2020-05-18iommu/vt-d: Add bind guest PASID supportJacob Pan1-0/+4
2020-05-18iommu/vt-d: Add nested translation helper functionJacob Pan1-25/+0
2020-05-18iommu/vt-d: Move domain helper to headerJacob Pan1-6/+0
2020-05-13iommu/vt-d: Unify format of the printed messagesAndy Shevchenko1-2/+1
2020-05-13iommu/vt-d: Apply per-device dma_opsLu Baolu1-56/+26
2020-05-13iommu/vt-d: Allow PCI sub-hierarchy to use DMA domainLu Baolu1-25/+0
2020-05-13iommu/vt-d: Allow 32bit devices to uses DMA domainLu Baolu1-290/+1
2020-05-13Merge tag 'v5.7-rc4' into coreJoerg Roedel1-2/+2
2020-05-05iommu/vt-d: Convert to probe/release_device() call-backsJoerg Roedel1-61/+6
2020-05-05iommu/vt-d: Wire up iommu_ops->def_domain_typeJoerg Roedel1-0/+1
2020-05-01iommu/vt-d: Use right Kconfig option nameLu Baolu1-2/+2
2020-03-19iommu/vt-d: Silence RCU-list debugging warning in dmar_find_atsr()Qian Cai1-1/+2
2020-03-14iommu/vt-d: Populate debugfs if IOMMUs are detectedMegha Dey1-1/+3
2020-03-13iommu/vt-d: quirk_ioat_snb_local_iommu: replace WARN_TAINT with pr_warn + add...Hans de Goede1-3/+4
2020-03-13iommu/vt-d: dmar_parse_one_rmrr: replace WARN_TAINT with pr_warn + add_taintHans de Goede1-2/+4
2020-03-10iommu/vt-d: Fix RCU-list bugs in intel_iommu_init()Qian Cai1-1/+4
2020-03-02iommu/vt-d: Fix a bug in intel_iommu_iova_to_phys() for huge pageYonghyun Hwang1-2/+4
2020-02-18iommu/vt-d: Simplify check in identity_mapping()Joerg Roedel1-1/+1
2020-02-18iommu/vt-d: Remove deferred_attach_domain()Joerg Roedel1-8/+3
2020-02-18iommu/vt-d: Do deferred attachment in iommu_need_mapping()Joerg Roedel1-3/+7
2020-02-18iommu/vt-d: Move deferred device attachment into helper functionJoerg Roedel1-8/+12
2020-02-18iommu/vt-d: Add attach_deferred() helperJoerg Roedel1-4/+8
2020-02-05Merge tag 'iommu-updates-v5.6' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-91/+275
2020-01-31Merge tag 'pci-v5.6-changes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-7/+4
2020-01-24iommu/vt-d: Remove VMD child device sanity checkJon Derrick1-9/+1
2020-01-24iommu/vt-d: Use pci_real_dma_dev() for mappingJon Derrick1-0/+5
2020-01-24Merge branches 'iommu/fixes', 'arm/smmu', 'x86/amd', 'x86/vt-d' and 'core' in...Joerg Roedel1-91/+275
2020-01-24iommu/vt-d: Unnecessary to handle default identity domainLu Baolu1-7/+2
2020-01-24iommu/vt-d: Allow devices with RMRRs to use identity domainLu Baolu1-13/+2
2020-01-24iommu/vt-d: Add RMRR base and end addresses sanity checkBarret Rhoden1-1/+12
2020-01-24iommu/vt-d: Mark firmware tainted if RMRR fails sanity checkBarret Rhoden1-4/+8
2020-01-24iommu/vt-d: Call __dmar_remove_one_dev_info with valid pointerJerry Snitselaar1-1/+2
2020-01-07iommu/vt-d: Unlink device if failed to add to groupJon Derrick1-3/+10
2020-01-07iommu/vt-d: Fix adding non-PCI devices to Intel IOMMUPatrick Steinhardt1-1/+8
2020-01-07iommu/vt-d: debugfs: Add support to show page table internalsLu Baolu1-2/+2
2020-01-07iommu/vt-d: Use iova over first levelLu Baolu1-4/+2
2020-01-07iommu/vt-d: Update first level super page capabilityLu Baolu1-5/+12
2020-01-07iommu/vt-d: Make first level IOVA canonicalLu Baolu1-2/+15
2020-01-07iommu/vt-d: Flush PASID-based iotlb for iova over first levelLu Baolu1-15/+41
2020-01-07iommu/vt-d: Setup pasid entries for iova over first levelLu Baolu1-5/+52
2020-01-07iommu/vt-d: Add set domain DOMAIN_ATTR_NESTING attrLu Baolu1-0/+56
2020-01-07iommu/vt-d: Identify domains using first level page tableLu Baolu1-0/+39
2020-01-07iommu/vt-d: Loose requirement for flush queue initializatonLu Baolu1-8/+6
2020-01-07iommu/vt-d: Avoid iova flush queue in strict modeLu Baolu1-9/+15
2020-01-07iommu/vt-d: trace: Extend map_sg trace eventLu Baolu1-2/+5
2020-01-07iommu/vt-d: Replace Intel specific PASID allocator with IOASIDJacob Pan1-6/+7
2020-01-07iommu/vt-d: Fix CPU and IOMMU SVM feature matching checksJacob Pan1-8/+2
2020-01-07iommu/vt-d: Add Kconfig option to enable/disable scalable modeLu Baolu1-1/+6
2019-12-23iommu: intel: Use generic_iommu_put_resv_regions()Thierry Reding1-10/+1
2019-12-23iommu/iova: Silence warnings under memory pressureQian Cai1-1/+2
2019-12-17iommu/vt-d: Allocate reserved region for ISA with correct permissionJerry Snitselaar1-1/+1
2019-12-17iommu/vt-d: Fix dmar pte read access not set errorLu Baolu1-8/+0
2019-12-17iommu/vt-d: Set ISA bridge reserved region as relaxableAlex Williamson1-1/+1
2019-11-12Merge branches 'iommu/fixes', 'arm/qcom', 'arm/renesas', 'arm/rockchip', 'arm...Joerg Roedel1-15/+46
2019-11-11iommu/vt-d: Turn off translations at shutdownDeepa Dinamani1-0/+20
2019-11-11iommu/vt-d: Check VT-d RMRR region in BIOS is reported as reservedYian Chen1-1/+7
2019-10-30iommu/vt-d: Fix panic after kexec -p for kdumpJohn Donnelly1-1/+1
2019-10-18iommu/vt-d: Return the correct dma mask when we are bypassing the IOMMUArvind Sankar1-1/+9
2019-10-15iommu/vt-d: Refactor find_domain() helperLu Baolu1-13/+18
2019-10-15iommu: Add gfp parameter to iommu_ops::mapTom Murphy1-1/+1
2019-09-19Merge tag 'dma-mapping-5.4' of git://git.infradead.org/users/hch/dma-mappingLinus Torvalds1-0/+2
2019-09-11Merge branches 'arm/omap', 'arm/exynos', 'arm/smmu', 'arm/mediatek', 'arm/qco...Joerg Roedel1-29/+330
2019-09-11iommu/vt-d: Declare Broadwell igfx dmar support snafuChris Wilson1-9/+35
2019-09-11iommu/vt-d: Use bounce buffer for untrusted devicesLu Baolu1-0/+258
2019-09-11iommu/vt-d: Add trace events for device dma map/unmapLu Baolu1-3/+10
2019-09-11iommu/vt-d: Don't switch off swiotlb if bounce page is usedLu Baolu1-15/+17
2019-09-11iommu/vt-d: Check whether device requires bounce bufferLu Baolu1-0/+7
2019-09-04dma-mapping: explicitly wire up ->mmap and ->get_sgtableChristoph Hellwig1-0/+2
2019-08-30Revert "iommu/vt-d: Avoid duplicated pci dma alias consideration"Lu Baolu1-2/+53
2019-08-23Merge branch 'for-joerg/arm-smmu/updates' of git://git.kernel.org/pub/scm/lin...Joerg Roedel1-1/+2
2019-08-23iommu/vt-d: Request passthrough mode from IOMMU coreJoerg Roedel1-1/+1
2019-08-20Merge branch 'for-joerg/batched-unmap' of git://git.kernel.org/pub/scm/linux/...Joerg Roedel1-1/+2
2019-08-09iommu/vt-d: Fix possible use-after-free of private domainLu Baolu1-1/+2
2019-08-09iommu/vt-d: Detach domain before using a private oneLu Baolu1-1/+5
2019-08-06iommu/vt-d: Detach domain when move device out of groupLu Baolu1-0/+2
2019-07-29iommu: Pass struct iommu_iotlb_gather to ->unmap() and ->iotlb_sync()Will Deacon1-1/+2
2019-07-22iommu/vt-d: Check if domain->pgd was allocatedDmitry Safonov1-3/+5
2019-07-22iommu/vt-d: Don't queue_iova() if there is no flush queueDmitry Safonov1-1/+2
2019-07-22iommu/vt-d: Avoid duplicated pci dma alias considerationLu Baolu1-53/+2
2019-07-22Revert "iommu/vt-d: Consolidate domain_init() to avoid duplication"Joerg Roedel1-36/+87
2019-07-04Merge branches 'x86/vt-d', 'x86/amd', 'arm/smmu', 'arm/omap', 'generic-dma-op...Joerg Roedel1-9/+1
2019-06-22Revert "iommu/vt-d: Fix lock inversion between iommu->lock and device_domain_...Peter Xu1-4/+3
2019-06-18iommu/vt-d: Silence a variable set but not usedQian Cai1-1/+2
2019-06-18iommu/vt-d: Remove an unused variable "length"Qian Cai1-3/+0
2019-06-14Merge tag 'iommu-fixes-v5.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-3/+4
2019-06-12iommu/vt-d: Consolidate domain_init() to avoid duplicationLu Baolu1-87/+36
2019-06-12iommu/vt-d: Cleanup after delegating DMA domain to generic iommuSai Praneeth Prakhya1-55/+0
2019-06-12iommu/vt-d: Fix suspicious RCU usage in probe_acpi_namespace_devices()Lu Baolu1-0/+2
2019-06-12iommu/vt-d: Allow DMA domain attaching to rmrr locked deviceLu Baolu1-1/+2
2019-06-12iommu/vt-d: Don't enable iommu's which have been ignoredLu Baolu1-2/+7
2019-06-12iommu/vt-d: Set domain type for a private domainLu Baolu1-0/+2
2019-06-12iommu/vt-d: Don't return error when device gets right domainLu Baolu1-6/+0
2019-06-12iommu/vt-d: Differentiate relaxable and non relaxable RMRRsEric Auger1-15/+39
2019-06-12iommu/vt-d: Handle PCI bridge RMRR device scopes in intel_iommu_get_resv_regionsEric Auger1-1/+2
2019-06-12iommu/vt-d: Handle RMRR with PCI bridge device scopesEric Auger1-1/+2
2019-06-12iommu/vt-d: Introduce is_downstream_to_pci_bridge helperEric Auger1-8/+29
2019-06-12iommu/vt-d: Duplicate iommu_resv_region objects per device listEric Auger1-17/+17
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288Thomas Gleixner1-9/+1
2019-06-03iommu/vt-d: Fix a variable set but not usedQian Cai1-4/+0
2019-06-01drivers/iommu/intel-iommu.c: fix variable 'iommu' set but not usedQian Cai1-1/+2
2019-05-28iommu/vt-d: Remove static identity map codeLu Baolu1-143/+1
2019-05-28iommu/vt-d: Remove duplicated code for device hotplugLu Baolu1-34/+0
2019-05-28iommu/vt-d: Remove startup parameter from device_def_domain_type()Lu Baolu1-7/+7
2019-05-28iommu/vt-d: Cleanup get_valid_domain_for_dev()Lu Baolu1-10/+8
2019-05-28iommu/vt-d: Implement is_attach_deferred iommu ops entryLu Baolu1-0/+23
2019-05-28iommu/vt-d: Probe DMA-capable ACPI name space devicesLu Baolu1-0/+45
2019-05-28iommu/vt-d: Handle 32bit device with identity default domainLu Baolu1-33/+22
2019-05-28iommu/vt-d: Identify default domains replaced with privateLu Baolu1-1/+63
2019-05-28iommu/vt-d: Delegate the dma domain to upper layerLu Baolu1-55/+19
2019-05-28iommu/vt-d: Delegate the identity domain to upper layerLu Baolu1-32/+58
2019-05-28iommu/vt-d: Add device_def_domain_type() helperLu Baolu1-13/+27
2019-05-28iommu/vt-d: Enable DMA remapping after rmrr mappedLu Baolu1-6/+10
2019-05-28iommu/vt-d: Expose ISA direct mapping region via iommu_get_resv_regionsLu Baolu1-0/+13
2019-05-27iommu/vt-d: Implement apply_resv_region iommu ops entryJames Sewart1-0/+14
2019-05-27iommu/vt-d: Fix lock inversion between iommu->lock and device_domain_lockDave Jiang1-3/+4
2019-05-27iommu/vt-d: Introduce macros useful for dumping DMAR tableSai Praneeth Prakhya1-5/+1
2019-05-27iommu/vt-d: Remove unnecessary rcu_read_locksLukasz Odzioba1-4/+0
2019-05-14Merge tag 'pci-v5.2-changes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
2019-05-03iommu/vt-d: Make kernel parameter igfx_off work with vIOMMULu Baolu1-1/+4
2019-05-03iommu/vt-d: Set intel_iommu_gfx_mapped correctlyLu Baolu1-3/+4
2019-05-03iommu/vt-d: Cleanup: no spaces at the start of a lineLu Baolu1-26/+27
2019-04-29iommu/vt-d: Use pci_dev_id() helperHeiner Kallweit1-1/+1
2019-04-26iommu/vt-d: Don't request page request irq under dmar_global_lockLu Baolu1-0/+6
2019-04-12iommu/vt-d: Flush IOTLB for untrusted device in timeLu Baolu1-1/+5
2019-04-11iommu/vt-d: Don't clear GFP_DMA and GFP_DMA32 flagsChristoph Hellwig1-1/+0
2019-04-11iommu/vt-d: Use dma_direct for bypass devicesChristoph Hellwig1-40/+31
2019-04-11iommu/vt-d: Clean up iommu_no_mappingChristoph Hellwig1-26/+21
2019-04-11iommu/vt-d: Return ID associated with an auxiliary domainLu Baolu1-0/+10
2019-04-11iommu/vt-d: Aux-domain specific domain attach/detachLu Baolu1-0/+152
2019-04-11iommu/vt-d: Move common code out of iommu_attch_device()Lu Baolu1-24/+36
2019-04-11iommu/vt-d: Add per-device IOMMU feature ops entriesLu Baolu1-0/+159
2019-04-11iommu/vt-d: Make intel_iommu_enable_pasid() more genericLu Baolu1-14/+7
2019-03-22iommu/vt-d: Save the right domain ID used by hardwareLu Baolu1-1/+1
2019-03-22iommu/vt-d: Check capability before disabling protected memoryLu Baolu1-0/+3
2019-03-10Merge tag 'iommu-updates-v5.1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-77/+81
2019-03-05mm: replace all open encodings for NUMA_NO_NODEAnshuman Khandual1-1/+2
2019-03-01Merge branches 'iommu/fixes', 'arm/msm', 'arm/tegra', 'arm/mediatek', 'x86/vt...Joerg Roedel1-77/+81
2019-03-01iommu/vt-d: Set context field after value initializedLu Baolu1-1/+2
2019-03-01iommu/vt-d: Disable ATS support on untrusted devicesLu Baolu1-1/+2
2019-02-26iommu/vt-d: Check identity map for hot-added devicesLu Baolu1-9/+12
2019-02-26iommu/vt-d: Enable ATS only if the device uses page aligned address.Kuppuswamy Sathyanarayanan1-0/+1
2019-02-26iommu/vt-d: Fix PRI/PASID dependency issue.Kuppuswamy Sathyanarayanan1-1/+3
2019-02-11iommu/vt-d: Remove misleading "domain 0" test from domain_exit()Bjorn Helgaas1-4/+0
2019-02-11iommu/vt-d: Remove unused dmar_remove_one_dev_info() argumentBjorn Helgaas1-11/+9
2019-02-11iommu/vt-d: Remove unnecessary local variable initializationsBjorn Helgaas1-14/+13
2019-02-11iommu/vt-d: Use dev_printk() when possibleBjorn Helgaas1-30/+24
2019-01-30iommu/vt-d: Leave scalable mode default offLu Baolu1-4/+4
2019-01-30iommu/vt-d: Implement dma_[un]map_resource()Logan Gunthorpe1-7/+16
2019-01-22iommu/vt-d: Fix memory leak in intel_iommu_put_resv_regions()Gerald Schaefer1-1/+1
2019-01-01Merge tag 'iommu-updates-v4.21' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-172/+179
2018-12-28Merge tag 'char-misc-4.21-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-3/+53
2018-12-20Merge branches 'iommu/fixes', 'arm/renesas', 'arm/mediatek', 'arm/tegra', 'ar...Joerg Roedel1-172/+179
2018-12-11iommu/vt-d: Remove deferred invalidationLu Baolu1-1/+0
2018-12-11iommu/vt-d: Shared virtual address in scalable modeLu Baolu1-38/+0
2018-12-11iommu/vt-d: Setup context and enable RID2PASID supportLu Baolu1-30/+106
2018-12-11iommu/vt-d: Pass pasid table to context mappingLu Baolu1-3/+11
2018-12-11iommu/vt-d: Setup pasid entry for RID2PASID supportLu Baolu1-0/+20
2018-12-11iommu/vt-d: Add second level page table interfaceLu Baolu1-1/+1
2018-12-11iommu/vt-d: Reserve a domain id for FL and PT modesLu Baolu1-0/+10
2018-12-11iommu/vt-d: Move page table helpers into headerLu Baolu1-43/+0
2018-12-11iommu/vt-d: Manage scalalble mode PASID tablesLu Baolu1-9/+14
2018-12-11iommu/vt-d: Enumerate the scalable mode capabilityLu Baolu1-47/+17
2018-12-06iommu/vt-d: remove the mapping_error dma_map_ops methodChristoph Hellwig1-9/+3
2018-12-06iommu/intel: small map_page cleanupChristoph Hellwig1-7/+7
2018-12-05iommu/vt-d: Do not enable ATS for untrusted devicesMika Westerberg1-1/+2
2018-12-05iommu/vt-d: Force IOMMU on for platform opt in hintLu Baolu1-2/+51
2018-11-22iommu/vt-d: Handle domain agaw being less than iommu agawSohil Mehta1-2/+2
2018-11-22iommu/vt-d: Use memunmap to free memremapPan Bian1-1/+1
2018-10-26Merge tag 'iommu-updates-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-28/+4
2018-10-23Merge tag 'please-pull-next' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-3/+1
2018-10-10Merge branches 'arm/renesas', 'arm/smmu', 'ppc/pamu', 'x86/vt-d', 'x86/amd' a...Joerg Roedel1-28/+4
2018-09-25iommu/vt-d: Enable base Intel IOMMU debugfs supportSohil Mehta1-0/+1
2018-09-25iommu/vt-d: Relocate struct/function declarations to its header filesSohil Mehta1-28/+3
2018-09-25iommu/vt-d: Handle memory shortage on pasid table allocationLu Baolu1-3/+3
2018-09-17intel-iommu: mark intel_dma_ops staticChristoph Hellwig1-1/+1
2018-09-17ia64: remove iommu_dma_supportedChristoph Hellwig1-2/+0
2018-08-24Merge tag 'iommu-updates-v4.19' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-83/+77
2018-08-17kernel/dma: remove unsupported gfp_mask parameter from dma_alloc_from_contigu...Marek Szyprowski1-1/+2
2018-08-08Merge branches 'arm/shmobile', 'arm/renesas', 'arm/msm', 'arm/smmu', 'arm/oma...Joerg Roedel1-101/+153
2018-08-08iommu: Remove the ->map_sg indirectionChristoph Hellwig1-1/+0
2018-07-20iommu/vt-d: Remove the obsolete per iommu pasid tablesLu Baolu1-3/+3
2018-07-20iommu/vt-d: Apply per pci device pasid table in SVALu Baolu1-20/+9
2018-07-20iommu/vt-d: Allocate and free pasid tableLu Baolu1-0/+10
2018-07-20iommu/vt-d: Per PCI device pasid table interfacesLu Baolu1-0/+1
2018-07-20iommu/vt-d: Add for_each_device_domain() helperLu Baolu1-0/+21
2018-07-20iommu/vt-d: Move device_domain_info to headerLu Baolu1-59/+4