aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/intel
AgeCommit message (Expand)AuthorFilesLines
28 hoursMerge tag 'iommu-updates-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds12-734/+775
6 daysMerge branches 'arm/renesas', 'arm/smmu', 'x86/amd', 'core' and 'x86/vt-d' in...Joerg Roedel12-734/+775
14 daysiommu/vt-d: Decouple igfx_off from graphic identity mappingLu Baolu1-13/+6
2024-04-30iommu/vt-d: Enable posted mode for device MSIsJacob Pan1-4/+109
2024-04-26iommu/dma: Centralise iommu_setup_dma_ops()Robin Murphy1-7/+0
2024-04-26iommu/vt-d: Remove struct intel_svmLu Baolu3-99/+37
2024-04-26iommu/vt-d: Remove intel_svm_devLu Baolu3-110/+42
2024-04-26iommu/vt-d: Use cache helpers in arch_invalidate_secondary_tlbsLu Baolu2-71/+11
2024-04-26iommu/vt-d: Use cache_tag_flush_range() in cache_invalidate_userLu Baolu2-47/+9
2024-04-26iommu/vt-d: Cleanup use of iommu_flush_iotlb_psi()Lu Baolu1-169/+2
2024-04-26iommu/vt-d: Use cache_tag_flush_range_np() in iotlb_sync_mapLu Baolu1-21/+1
2024-04-26iommu/vt-d: Use cache_tag_flush_range() in tlb_syncLu Baolu1-19/+2
2024-04-26iommu/vt-d: Use cache_tag_flush_all() in flush_iotlb_allLu Baolu1-19/+1
2024-04-26iommu/vt-d: Add trace events for cache tag interfaceLu Baolu2-0/+107
2024-04-26iommu/vt-d: Add cache tag invalidation helpersLu Baolu3-12/+209
2024-04-26iommu/vt-d: Add cache tag assignment interfaceLu Baolu6-9/+295
2024-04-26iommu/vt-d: Remove caching mode check before device TLB flushLu Baolu1-7/+2
2024-04-26iommu/vt-d: Remove private data use in fault messageJingqi Liu2-61/+15
2024-04-26iommu/vt-d: Remove debugfs use of private data fieldJingqi Liu3-17/+0
2024-04-26iommu/vt-d: Allocate DMAR fault interrupts locallyDimitri Sivanich1-2/+7
2024-04-26iommu/vt-d: Use try_cmpxchg64{,_local}() in iommu.cUros Bizjak1-4/+5
2024-04-26iommu/vt-d: Remove redundant assignment to variable errColin Ian King1-1/+0
2024-04-15iommu/vt-d: add wrapper functions for page allocationsPasha Tatashin6-63/+47
2024-04-12iommu: Pass domain to remove_dev_pasid() opYi Liu1-8/+3
2024-04-12iommu/vt-d: Fix WARN_ON in iommu probe pathLu Baolu1-4/+7
2024-04-12iommu/vt-d: Allocate local memory for page request queueJacob Pan1-1/+1
2024-04-12iommu/vt-d: Fix wrong use of pasid configXuchun Shang1-1/+1
2024-03-21Merge tag 'kbuild-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds1-1/+1
2024-03-08Merge branches 'arm/mediatek', 'arm/renesas', 'arm/smmu', 'x86/vt-d', 'x86/am...Joerg Roedel9-250/+426
2024-03-08iommu: Fix compilation without CONFIG_IOMMU_INTELBert Karwatzki1-0/+2
2024-03-06iommu/vt-d: Remove scalabe mode in domain_context_clear_one()Lu Baolu1-14/+1
2024-03-06iommu/vt-d: Remove scalable mode context entry setup from attach_devLu Baolu1-112/+44
2024-03-06iommu/vt-d: Setup scalable mode context entry in probe pathLu Baolu3-0/+151
2024-03-06iommu/vt-d: Fix NULL domain on device releaseLu Baolu3-25/+71
2024-03-06iommu/vt-d: Improve ITE fault handling if target device isn't presentEthan Zhao1-0/+22
2024-03-06iommu/vt-d: Don't issue ATS Invalidation request when device is disconnectedEthan Zhao1-0/+3
2024-03-01iommu/vt-d: Use device rbtree in iopf reporting pathLu Baolu4-8/+15
2024-03-01iommu/vt-d: Use rbtree to track iommu probed devicesLu Baolu3-3/+96
2024-03-01iommu/vt-d: Merge intel_svm_bind_mm() into its callerTina Zhang1-11/+3
2024-03-01iommu/vt-d: Remove initialization for dynamically heap-allocated rcu_headTina Zhang1-1/+0
2024-03-01iommu/vt-d: Remove treatment for revoking PASIDs with pending page faultsTina Zhang1-7/+0
2024-03-01iommu/vt-d: Use kcalloc() instead of kzalloc()Erick Archer1-1/+1
2024-03-01iommu/vt-d: Remove INTEL_IOMMU_BROKEN_GFX_WALu Baolu2-15/+0
2024-02-21iommu/vt-d: Fix constant-out-of-range warningArnd Bergmann1-1/+1
2024-02-21iommu/vt-d: Set SSADE when attaching to a parent with dirty trackingYi Liu1-0/+2
2024-02-21iommu/vt-d: Add missing dirty tracking set for parent domainYi Liu1-0/+35
2024-02-21iommu/vt-d: Wrap the dirty tracking loop to be a helperYi Liu1-11/+24
2024-02-21iommu/vt-d: Remove domain parameter for intel_pasid_setup_dirty_tracking()Yi Liu3-7/+4
2024-02-21iommu/vt-d: Add missing device iotlb flush for parent domainYi Liu1-0/+18
2024-02-21iommu/vt-d: Update iotlb in nested domain attachYi Liu3-3/+4
2024-02-21iommu/vt-d: Add missing iotlb flush for parent domainYi Liu1-0/+31
2024-02-21iommu/vt-d: Add __iommu_flush_iotlb_psi()Yi Liu1-35/+43
2024-02-21iommu/vt-d: Track nested domains in parentYi Liu3-5/+31
2024-02-20treewide: replace or remove redundant def_bool in Kconfig filesMasahiro Yamada1-1/+1
2024-02-16iommu: Make iommu_report_device_fault() return voidLu Baolu1-12/+7
2024-02-16iommu: Make iopf_group_response() return voidLu Baolu2-18/+4
2024-02-16iommu: Improve iopf_queue_remove_device()Lu Baolu1-6/+1
2024-02-16iommu: Separate SVA and IOPFLu Baolu3-2/+1
2024-02-16iommu: Merge iommu_fault_event and iopf_faultLu Baolu2-4/+3
2024-02-16iommu: Remove iommu_[un]register_device_fault_handler()Lu Baolu1-17/+7
2024-01-18Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+88
2024-01-18Merge tag 'iommu-updates-v6.8' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds6-532/+422
2024-01-11iommu/vt-d: Add iotlb flush for nested domainLu Baolu1-0/+88
2024-01-08Merge tag 'x86-apic-2024-01-08' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2024-01-03Merge branches 'apple/dart', 'arm/rockchip', 'arm/smmu', 'virtio', 'x86/vt-d'...Joerg Roedel6-532/+422
2023-12-19iommu/vt-d: Move inline helpers to header filesLu Baolu4-405/+400
2023-12-19iommu/vt-d: Remove unused vcmd interfacesLu Baolu4-75/+0
2023-12-19iommu/vt-d: Remove unused parameter of intel_pasid_setup_pass_through()Lu Baolu3-5/+2
2023-12-19iommu/vt-d: Refactor device_to_iommu() to retrieve iommu directlyLu Baolu3-38/+13
2023-12-12iommu: Mark dev_iommu_priv_set() with a lockdepJason Gunthorpe1-2/+0
2023-12-12iommu/vt-d: Remove mm->pasid in intel_sva_bind_mm()Tina Zhang1-7/+7
2023-11-27iommu/vt-d: Set variable intel_dirty_ops to staticKunwu Chan1-2/+2
2023-11-27iommu/vt-d: Fix incorrect cache invalidation for mm notificationLu Baolu1-0/+26
2023-11-27iommu/vt-d: Add MTL to quirk list to skip TE disablingAbdul Halim, Mohd Syazwan1-1/+1
2023-11-27iommu/vt-d: Make context clearing consistent with context mappingLu Baolu1-2/+2
2023-11-27iommu/vt-d: Disable PCI ATS in legacy passthrough modeLu Baolu1-1/+2
2023-11-27iommu/vt-d: Omit devTLB invalidation requests when TES=0Lu Baolu1-0/+18
2023-11-27iommu/vt-d: Support enforce_cache_coherency only for empty domainsLu Baolu2-1/+7
2023-11-21x86/apic: Drop apic::delivery_modeAndrew Cooper1-1/+1
2023-11-09Merge tag 'iommu-updates-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds3-47/+201
2023-11-01Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds7-16/+551
2023-11-01Merge tag 'asm-generic-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2023-10-27Merge branches 'iommu/fixes', 'arm/tegra', 'arm/smmu', 'virtio', 'x86/vt-d', ...Joerg Roedel3-47/+201
2023-10-26Merge tag 'v6.6-rc7' into coreJoerg Roedel2-17/+1
2023-10-26iommu/vt-d: Use ops->blocked_domainJason Gunthorpe1-2/+1
2023-10-26iommu/vt-d: Update the definition of the blocking domainJason Gunthorpe1-2/+2
2023-10-26iommu/vt-d: Disallow read-only mappings to nest parent domainLu Baolu1-0/+6
2023-10-26iommu/vt-d: Add nested domain allocationLu Baolu3-20/+23
2023-10-26iommu/vt-d: Set the nested domain to a deviceYi Liu1-0/+54
2023-10-26iommu/vt-d: Make domain attach helpers to be externYi Liu2-9/+13
2023-10-26iommu/vt-d: Add helper to setup pasid nested translationLu Baolu2-0/+114
2023-10-26iommu/vt-d: Add helper for nested domain allocationLu Baolu3-1/+65
2023-10-26iommu/vt-d: Extend dmar_domain to support nested domainLu Baolu1-6/+30
2023-10-26iommu/vt-d: Enhance capability check for nested parent domain allocationYi Liu2-1/+3
2023-10-26iommu: Pass in parent domain with user_data to domain_alloc_user opYi Liu1-1/+6
2023-10-25Revert "iommu/vt-d: Remove unused function"Lu Baolu1-0/+9
2023-10-24iommu/vt-d: Access/Dirty bit support for SS domainsJoao Martins5-1/+232
2023-10-16iommu/vt-d: debugfs: Support dumping a specified page tableJingqi Liu1-34/+119
2023-10-16iommu/vt-d: debugfs: Create/remove debugfs file per {device, pasid}Jingqi Liu3-5/+69
2023-10-16iommu/vt-d: debugfs: Dump entry pointing to huge pageJingqi Liu1-3/+8
2023-10-16iommu/vt-d: Remove unused functionJiapeng Chong1-9/+0
2023-10-10iommu/vt-d: Add domain_alloc_user opYi Liu1-0/+28
2023-10-02iommu: Allow .iotlb_sync_map to fail and handle s390's -ENOMEM returnNiklas Schnelle1-2/+3
2023-09-25iommu/vt-d: Avoid memory allocation in iommu_suspend()Zhang Rui2-17/+1
2023-09-11arch: Remove Itanium (IA-64) architectureArd Biesheuvel1-1/+1
2023-09-01Merge tag 'iommu-updates-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds5-154/+167
2023-08-30Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+19
2023-08-30Merge tag 'x86_apic_for_6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2023-08-21Merge branches 'apple/dart', 'arm/mediatek', 'arm/renesas', 'arm/rockchip', '...Joerg Roedel5-154/+167
2023-08-18mmu_notifiers: rename invalidate_range notifierAlistair Popple1-4/+4
2023-08-18iommu/vt-d: Implement hw_info for iommu capability queryYi Liu1-0/+19
2023-08-09iommu/vt-d: Fix to convert mm pfn to dma pfnYanfei Xu1-9/+13
2023-08-09iommu/vt-d: Fix to flush cache of PASID directory tableYanfei Xu1-1/+1
2023-08-09iommu/vt-d: Remove rmrr check in domain attaching device pathLu Baolu1-58/+0
2023-08-09iommu/vt-d: Add set_dev_pasid callback for dma domainLu Baolu2-5/+106
2023-08-09iommu/vt-d: Prepare for set_dev_pasid callbackLu Baolu1-1/+2
2023-08-09iommu/vt-d: Make prq draining code genericLu Baolu3-26/+23
2023-08-09iommu/vt-d: Remove pasid_mutexLu Baolu1-40/+5
2023-08-09iommu/vt-d: Add domain_flush_pasid_iotlb()Lu Baolu1-2/+14
2023-08-09iommu: Generalize PASID 0 for normal DMA w/o PASIDJacob Pan3-15/+13
2023-08-06x86/vector: Rename send_cleanup_vector() to vector_schedule_cleanup()Thomas Gleixner1-1/+1
2023-07-14iommu: Have __iommu_probe_device() check for already probed devicesJason Gunthorpe1-7/+0
2023-06-29Merge tag 'iommu-updates-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-18/+11
2023-06-19Merge branches 'iommu/fixes', 'arm/smmu', 'ppc/pamu', 'virtio', 'x86/vt-d', '...Joerg Roedel1-18/+11
2023-06-16iommu/vt-d: Remove commented-out codeLu Baolu1-9/+1
2023-06-16iommu/vt-d: Remove two WARN_ON in domain_context_mapping_one()Yanfei Xu1-4/+0
2023-06-16iommu/vt-d: Handle the failure case of dmar_reenable_qi()Yanfei Xu1-3/+8
2023-06-16iommu/vt-d: Remove unnecessary (void*) conversionsSuhui1-1/+1
2023-06-05x86,intel_iommu: Replace cmpxchg_double()Peter Zijlstra1-6/+2
2023-05-22iommu: Use flush queue capabilityRobin Murphy1-1/+0
2023-05-22iommu: Add a capability for flush queue supportRobin Murphy1-0/+1
2023-04-30Merge tag 'iommu-updates-v6.4' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds9-242/+141
2023-04-14Merge branches 'iommu/fixes', 'arm/allwinner', 'arm/exynos', 'arm/mediatek', ...Joerg Roedel8-241/+141
2023-04-13iommu/vt-d: Remove BUG_ON in dmar_insert_dev_scope()Tina Zhang1-1/+2
2023-04-13iommu/vt-d: Remove a useless BUG_ON(dev->is_virtfn)Tina Zhang1-2/+0
2023-04-13iommu/vt-d: Remove BUG_ON in map/unmap()Tina Zhang1-3/+5
2023-04-13iommu/vt-d: Remove BUG_ON when domain->pgd is NULLTina Zhang1-4/+0
2023-04-13iommu/vt-d: Remove BUG_ON in handling iotlb cache invalidationTina Zhang1-3/+8
2023-04-13iommu/vt-d: Remove BUG_ON on checking valid pfn rangeTina Zhang1-6/+6
2023-04-13iommu/vt-d: Make size of operands same in bitwise operationsTina Zhang2-3/+3
2023-04-13iommu/vt-d: Remove PASID supervisor request supportJacob Pan2-50/+0
2023-04-13iommu/vt-d: Use non-privileged mode for all PASIDsJacob Pan1-2/+0
2023-04-13iommu/vt-d: Remove extern from function prototypesLu Baolu1-18/+18
2023-04-13iommu/vt-d: Do not use GFP_ATOMIC when not neededChristophe JAILLET1-1/+1
2023-04-13iommu/vt-d: Remove unnecessary checks in iopf disabling pathLu Baolu1-9/+8
2023-04-13iommu/vt-d: Move PRI handling to IOPF feature pathLu Baolu1-12/+41
2023-04-13iommu/vt-d: Move pfsid and ats_qdep calculation to device probe pathLu Baolu1-15/+11
2023-04-13iommu/vt-d: Move iopf code from SVA to IOPF enabling pathLu Baolu1-14/+18
2023-04-13iommu/vt-d: Allow SVA with device-specific IOPFLu Baolu1-1/+15
2023-03-31iommu/vt-d: Fix an IOMMU perfmon warning when CPU hotplugKan Liang2-24/+46
2023-03-31iommu/vt-d: Allow zero SAGAW if second-stage not supportedLu Baolu1-1/+2
2023-03-31iommu/vt-d: Remove unnecessary locking in intel_irq_remapping_alloc()Lu Baolu1-6/+0
2023-03-31iommu: Remove ioasid infrastructureJason Gunthorpe2-2/+0
2023-03-31iommu/ioasid: Rename INVALID_IOASIDJacob Pan3-4/+4
2023-03-31iommu/vt-d: Remove virtual command interfaceJacob Pan4-91/+0
2023-03-22iommu: Use sysfs_emit() for sysfs showLu Baolu1-8/+9
2023-02-24Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds2-3/+2
2023-02-18Merge branches 'apple/dart', 'arm/exynos', 'arm/renesas', 'arm/smmu', 'x86/vt...Joerg Roedel9-89/+1244
2023-02-16iommu/vt-d: Allow to use flush-queue when first level is defaultTina Zhang1-1/+2
2023-02-16iommu/vt-d: Fix PASID directory pointer coherencyJacob Pan1-0/+7
2023-02-16iommu/vt-d: Avoid superfluous IOTLB tracking in lazy modeJacob Pan1-1/+6
2023-02-16iommu/vt-d: Fix error handling in sva enable/disable pathsLu Baolu1-4/+12
2023-02-03iommu/vt-d: Enable IOMMU perfmon supportKan Liang2-0/+6
2023-02-03iommu/vt-d: Add IOMMU perfmon overflow handler supportKan Liang4-2/+95
2023-02-03iommu/vt-d: Support cpumask for IOMMU perfmonKan Liang1-8/+105
2023-02-03iommu/vt-d: Add IOMMU perfmon supportKan Liang3-0/+565
2023-02-03iommu/vt-d: Support Enhanced Command InterfaceKan Liang3-0/+99
2023-02-03iommu/vt-d: Retrieve IOMMU perfmon capability informationKan Liang6-1/+273
2023-02-03iommu/vt-d: Support size of the register set in DRHDKan Liang1-4/+7
2023-02-03iommu/vt-d: Set No Execute Enable bit in PASID table entryLu Baolu1-0/+11
2023-02-03iommu/vt-d: Remove sva from intel_svm_devLu Baolu2-15/+9
2023-02-03iommu/vt-d: Remove users from intel_svm_devLu Baolu2-36/+27
2023-02-03iommu/vt-d: Remove unused fields in svm structuresLu Baolu2-6/+0
2023-02-03iommu/vt-d: Remove include/linux/intel-svm.hLu Baolu3-2/+5
2023-01-30Merge branch 'iommu-memory-accounting' of ssh://gitolite.kernel.org/pub/scm/l...Jason Gunthorpe3-17/+23
2023-01-25iommu/intel: Use GFP_KERNEL in sleepable contextsJason Gunthorpe1-2/+2
2023-01-25iommu/intel: Support the gfp argument to the map_pages opJason Gunthorpe1-9/+15
2023-01-25iommu/intel: Add a gfp parameter to alloc_pgtable_page()Jason Gunthorpe3-9/+9
2023-01-11iommu/x86: Replace IOMMU_CAP_INTR_REMAP with IRQ_DOMAIN_FLAG_ISOLATED_MSIJason Gunthorpe2-3/+2
2022-12-19Merge tag 'iommu-updates-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2-94/+90
2022-12-17Merge tag 'x86_mm_for_6.2_v2' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-8/+5
2022-12-15x86_64: Remove pointless set_64bit() usagePeter Zijlstra1-8/+5
2022-12-14Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds5-112/+120
2022-12-12Merge tag 'irq-core-2022-12-10' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds2-26/+27
2022-12-12Merge branches 'arm/allwinner', 'arm/exynos', 'arm/mediatek', 'arm/rockchip',...Joerg Roedel5-201/+199
2022-12-05iommu/vt-d: Enable PCI/IMSThomas Gleixner1-3/+16
2022-12-05iommu/vt-d: Switch to MSI parent domainsThomas Gleixner2-16/+12
2022-12-05x86/apic/vector: Provide MSI parent domainThomas Gleixner1-1/+1
2022-12-05iommu/vt-d: Fix buggy QAT device maskJacob Pan1-1/+1
2022-12-02Merge tag 'v6.1-rc7' into iommufd.git for-nextJason Gunthorpe2-7/+6
2022-12-02iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init()Xiongfeng Wang1-0/+1
2022-12-02iommu/vt-d: Fix PCI device refcount leak in has_external_pci()Xiongfeng Wang1-1/+3
2022-12-02iommu/vt-d: Fix PCI device refcount leak in prq_event_thread()Yang Yingliang1-5/+9
2022-12-02iommu/vt-d: Add a fix for devices need extra dtlb flushJacob Pan3-3/+75
2022-11-29iommu: Add IOMMU_CAP_ENFORCE_CACHE_COHERENCYJason Gunthorpe1-5/+11
2022-11-22iommu/vt-d: Use real field for indication of first levelLu Baolu2-25/+15
2022-11-22iommu/vt-d: Remove unnecessary domain_context_mapped()Lu Baolu1-44/+3
2022-11-22iommu/vt-d: Rename domain_add_dev_info()Lu Baolu1-2/+3
2022-11-22iommu/vt-d: Rename iommu_disable_dev_iotlb()Lu Baolu1-3/+3
2022-11-22iommu/vt-d: Add blocking domain supportLu Baolu1-8/+18