aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu
AgeCommit message (Expand)AuthorFilesLines
11 hoursMerge tag 'iommu-updates-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds48-1473/+3388
5 daysMerge tag 'x86-irq-2024-05-12' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2-5/+113
6 daysMerge branches 'arm/renesas', 'arm/smmu', 'x86/amd', 'core' and 'x86/vt-d' in...Joerg Roedel48-1473/+3388
9 daysiommu/arm-smmu-v3: Make the kunit into a moduleJason Gunthorpe5-2/+15
9 daysiommu/arm-smmu: Use the correct type in nvidia_smmu_context_fault()Jason Gunthorpe1-3/+1
13 daysiommu/amd: Enable Guest Translation after reading IOMMU feature registerVasant Hegde1-2/+2
13 daysiommu/vt-d: Decouple igfx_off from graphic identity mappingLu Baolu1-13/+6
2024-05-03Merge tag 'arm-smmu-updates' of git://git.kernel.org/pub/scm/linux/kernel/git...Joerg Roedel11-341/+1457
2024-05-03iommu/amd: Fix compilation errorAndy Shevchenko1-0/+1
2024-05-01iommu/arm-smmu-v3: Add unit tests for arm_smmu_write_entryJason Gunthorpe6-27/+533
2024-05-01iommu/arm-smmu-v3: Build the whole CD in arm_smmu_make_s1_cd()Jason Gunthorpe2-32/+18
2024-05-01iommu/arm-smmu-v3: Move the CD generation for SVA into a functionJason Gunthorpe3-132/+107
2024-05-01iommu/arm-smmu-v3: Allocate the CD table entry in advanceJason Gunthorpe1-16/+8
2024-05-01iommu/arm-smmu-v3: Make arm_smmu_alloc_cd_ptr()Jason Gunthorpe2-23/+39
2024-05-01iommu/arm-smmu-v3: Consolidate clearing a CD table entryJason Gunthorpe3-11/+18
2024-05-01iommu/arm-smmu-v3: Move the CD generation for S1 domains into a functionJason Gunthorpe3-29/+76
2024-05-01iommu/arm-smmu-v3: Make CD programming use arm_smmu_write_entry()Jason Gunthorpe1-22/+67
2024-05-01iommu/arm-smmu-v3: Add an ops indirection to the STE codeJason Gunthorpe1-72/+104
2024-05-01iommu/arm-smmu-qcom: Don't build debug features as a kernel moduleWill Deacon1-1/+1
2024-04-30iommu/vt-d: Enable posted mode for device MSIsJacob Pan1-4/+109
2024-04-30iommu/vt-d: Make posted MSI an opt-in command line optionJacob Pan1-1/+4
2024-04-26Merge branch 'memory-observability' into x86/amdJoerg Roedel20-198/+350
2024-04-26Merge branch 'iommu/fixes' into x86/amdJoerg Roedel1-0/+4
2024-04-26iommu/amd: Add SVA domain supportVasant Hegde4-3/+93
2024-04-26iommu: Add ops->domain_alloc_sva()Jason Gunthorpe1-5/+11
2024-04-26iommu/amd: Initial SVA support for AMD IOMMUVasant Hegde6-6/+156
2024-04-26iommu/amd: Add support for enable/disable IOPFVasant Hegde4-8/+77
2024-04-26iommu/amd: Add IO page fault notifier handlerWei Huang2-1/+107
2024-04-26iommu/amd: Add support for page responseSuravee Suthikulpanit3-6/+13
2024-04-26iommu/amd: Define per-IOMMU iopf_queueSuravee Suthikulpanit4-2/+55
2024-04-26iommu/amd: Enable PCI features based on attached domain capabilityVasant Hegde2-12/+14
2024-04-26iommu/amd: Setup GCR3 table in advance if domain is SVA capableVasant Hegde1-15/+71
2024-04-26iommu/amd: Introduce iommu_dev_data.max_pasidsVasant Hegde2-0/+13
2024-04-26iommu/amd: Fix PPR interrupt processing logicVasant Hegde1-4/+0
2024-04-26iommu/amd: Move PPR-related functions into ppr.cSuravee Suthikulpanit5-114/+139
2024-04-26iommu/amd: Add support for enabling/disabling IOMMU featuresWei Huang1-0/+28
2024-04-26iommu/amd: Introduce per device DTE update functionVasant Hegde2-8/+19
2024-04-26iommu/amd: Rename amd_iommu_v2_supported() as amd_iommu_pasid_supported()Vasant Hegde2-2/+2
2024-04-26iommu/amd: Enhance def_domain_type to handle untrusted deviceVasant Hegde1-0/+4
2024-04-26iommu/dma: Centralise iommu_setup_dma_ops()Robin Murphy7-64/+19
2024-04-26iommu/dma: Make limit checks self-containedRobin Murphy1-12/+9
2024-04-26iommu/vt-d: Remove struct intel_svmLu Baolu3-99/+37
2024-04-26iommu: Add ops->domain_alloc_sva()Jason Gunthorpe1-5/+11
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 Sivanich5-6/+14
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-19Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+1
2024-04-18iommu/arm-smmu-qcom: Use the custom fault handler on more platformsGeorgi Djakov1-0/+4
2024-04-18iommu/arm-smmu-qcom: Use a custom context fault handler for sdm845Georgi Djakov2-0/+147
2024-04-18iommu/arm-smmu: Allow using a threaded handler for context interruptsGeorgi Djakov2-2/+11
2024-04-18iommu/arm-smmu-qcom-debug: Add support for TBUsGeorgi Djakov4-4/+365
2024-04-18iommu/arm-smmu-v3: Free MSIs in case of ENOMEMAleksandr Aprelkov1-1/+1
2024-04-18iommu/arm-smmu: Convert to domain_alloc_paging()Jason Gunthorpe1-6/+2
2024-04-15iommu: account IOMMU allocated memoryPasha Tatashin1-0/+2
2024-04-15iommu: observability of the IOMMU allocationsPasha Tatashin1-0/+30
2024-04-15iommu/tegra-smmu: use page allocation function provided by iommu-pages.hPasha Tatashin1-8/+10
2024-04-15iommu/sun50i: use page allocation function provided by iommu-pages.hPasha Tatashin1-3/+4
2024-04-15iommu/rockchip: use page allocation function provided by iommu-pages.hPasha Tatashin1-6/+8
2024-04-15iommu/exynos: use page allocation function provided by iommu-pages.hPasha Tatashin1-6/+8
2024-04-15iommu/io-pgtable-dart: use page allocation function provided by iommu-pages.hPasha Tatashin1-23/+14
2024-04-15iommu/io-pgtable-arm: use page allocation function provided by iommu-pages.hPasha Tatashin1-9/+6
2024-04-15iommu/amd: use page allocation function provided by iommu-pages.hPasha Tatashin5-79/+62
2024-04-15iommu/dma: use iommu_put_pages_list() to releae freelistPasha Tatashin1-3/+4
2024-04-15iommu/vt-d: add wrapper functions for page allocationsPasha Tatashin7-63/+201
2024-04-14iommufd: Add missing IOMMUFD_DRIVER kconfig for the selftestJason Gunthorpe1-0/+1
2024-04-12iommu/amd: Change log message severityVasant Hegde1-2/+2
2024-04-12iommu: Pass domain to remove_dev_pasid() opYi Liu3-19/+10
2024-04-12iommu: Undo pasid attachment only for the devices that have succeededYi Liu1-6/+15
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-04-12iommu: mtk: fix module autoloadingKrzysztof Kozlowski2-0/+2
2024-04-12iommu/amd: Do not enable SNP when V2 page table is enabledVasant Hegde1-10/+11
2024-04-12iommu/amd: Fix possible irq lock inversion dependency issueVasant Hegde1-4/+7
2024-04-09iommu/arm-smmu-v3: Add a type for the CD entryJason Gunthorpe2-10/+17
2024-04-09iommu/arm-smmu-v3: Do not ATC invalidate the entire domainJason Gunthorpe1-1/+4
2024-04-09iommu/arm-smmu-v3: Do not allow a SVA domain to be set on the wrong PASIDJason Gunthorpe1-0/+3
2024-04-09iommu/arm-smmu-v3: Retire disable_bypass parameterRobin Murphy1-33/+13
2024-04-04x86/CPU/AMD: Track SNP host status with cc_platform_*()Borislav Petkov (AMD)1-1/+3
2024-03-28iommu: Validate the PASID in iommu_attach_device_pasid()Jason Gunthorpe1-1/+10
2024-03-26iommu/arm-smmu-v3: Fix access for STE.SHCFGMostafa Saleh2-12/+25
2024-03-26iommu/arm-smmu-v3: Add cpu_to_le64() around STRTAB_STE_0_VJason Gunthorpe1-1/+2
2024-03-24Merge tag 'dma-mapping-6.9-2024-03-24' of git://git.infradead.org/users/hch/d...Linus Torvalds1-0/+9
2024-03-21Merge tag 'kbuild-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds1-1/+1
2024-03-13iommu/dma: Force swiotlb_max_mapping_size on an untrusted deviceNicolin Chen1-0/+9
2024-03-13Merge tag 'iommu-updates-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds42-1590/+1781
2024-03-12Merge tag 'soc-dt-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/socLinus Torvalds1-1/+1
2024-03-11Merge tag 'x86_sev_for_v6.9_rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds2-25/+101
2024-03-11Merge tag 'irq-msi-2024-03-10' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+3
2024-03-08Merge branches 'arm/mediatek', 'arm/renesas', 'arm/smmu', 'x86/vt-d', 'x86/am...Joerg Roedel42-1590/+1781
2024-03-08iommu: Fix compilation without CONFIG_IOMMU_INTELBert Karwatzki3-2/+5
2024-03-08iommu/amd: Fix sleeping in atomic contextVasant Hegde1-1/+1
2024-03-06iommu/dma: Document min_align_mask assumptionRobin Murphy1-0/+5
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: Add static iommu_ops->release_domainLu Baolu1-4/+15
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-04Merge tag 'qcom-arm32-for-6.9' of https://git.kernel.org/pub/scm/linux/kernel...Arnd Bergmann1-1/+1
2024-03-01Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds2-24/+54
2024-03-01Merge tag 'arm-smmu-updates' of git://git.kernel.org/pub/scm/linux/kernel/git...Joerg Roedel5-270/+506
2024-03-01iommu/sva: Fix SVA handle sharing in multi device caseZhangfei Gao1-2/+2
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-03-01iommu: re-use local fwnode variable in iommu_ops_from_fwnode()Krzysztof Kozlowski1-1/+1
2024-03-01iommu: constify fwnode in iommu_ops_from_fwnode()Krzysztof Kozlowski1-1/+1
2024-03-01iommu: constify of_phandle_args in xlateKrzysztof Kozlowski15-18/+26
2024-03-01iommu: constify pointer to bus_typeKrzysztof Kozlowski2-4/+6
2024-02-29iommu/arm-smmu-v3: Convert to domain_alloc_paging()Jason Gunthorpe1-5/+17
2024-02-29iommu/arm-smmu-v3: Pass arm_smmu_domain and arm_smmu_device to finalizeJason Gunthorpe1-17/+18
2024-02-29iommu/arm-smmu-v3: Use the identity/blocked domain during releaseJason Gunthorpe1-5/+2
2024-02-29iommu/arm-smmu-v3: Add a global static BLOCKED domainJason Gunthorpe1-0/+19
2024-02-29iommu/arm-smmu-v3: Add a global static IDENTITY domainJason Gunthorpe2-25/+58
2024-02-29iommu/arm-smmu-v3: Check that the RID domain is S1 in SVAJason Gunthorpe1-1/+7
2024-02-29iommu/arm-smmu-v3: Remove arm_smmu_master->domainJason Gunthorpe2-17/+10
2024-02-29iommu/arm-smmu-v3: Pass smmu_domain to arm_enable/disable_ats()Jason Gunthorpe1-7/+6
2024-02-29iommu/arm-smmu-v3: Put writing the context descriptor in the right orderJason Gunthorpe1-9/+20
2024-02-29iommu/arm-smmu-v3: Do not change the STE twice during arm_smmu_attach_dev()Jason Gunthorpe1-6/+9
2024-02-29iommu/arm-smmu-v3: Compute the STE only once for each masterJason Gunthorpe1-35/+22
2024-02-29iommu/arm-smmu-v3: Hold arm_smmu_asid_lock during all of attach_devJason Gunthorpe1-9/+13
2024-02-29iommu/arm-smmu-v3: Build the whole STE in arm_smmu_make_s2_domain_ste()Jason Gunthorpe2-14/+15
2024-02-29iommu/arm-smmu-v3: Move the STE generation for S1 and S2 domains into functionsJason Gunthorpe1-55/+83
2024-02-29iommu/arm-smmu-v3: Consolidate the STE generation for abort/bypassJason Gunthorpe1-42/+55
2024-02-29iommu/arm-smmu-v3: Make STE programming independent of the callersJason Gunthorpe1-64/+211
2024-02-26iommufd/selftest: Don't check map/unmap pairing with HUGE_PAGESJason Gunthorpe1-11/+18
2024-02-26iommufd: Fix protection fault in iommufd_test_syz_conv_iovaNicolin Chen1-6/+21
2024-02-26iommufd/selftest: Fix mock_dev_num bugNicolin Chen1-4/+9
2024-02-26iommufd: Fix iopt_access_list_id overwrite bugNicolin Chen1-3/+6
2024-02-24Merge tag 'iommu-fixes-v6.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds8-93/+222
2024-02-23iommu/sva: Restore SVA handle sharingJason Gunthorpe1-0/+17
2024-02-23Merge tag 'arm-smmu-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/w...Joerg Roedel2-37/+18
2024-02-22iommu/arm-smmu-qcom: Add X1E80100 MDSS compatibleAbel Vesa1-0/+1
2024-02-22iommu/arm-smmu-v3: Do not use GFP_KERNEL under as spinlockJason Gunthorpe1-26/+12
2024-02-21iommufd: Reject non-zero data_type if no data_len is providedJason Gunthorpe1-1/+2
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 Baolu3-31/+17
2024-02-16iommu: Make iopf_group_response() return voidLu Baolu4-112/+92
2024-02-16iommu: Track iopf group instead of last faultLu Baolu1-158/+84
2024-02-16iommu: Improve iopf_queue_remove_device()Lu Baolu2-26/+38
2024-02-16iommu: Use refcount for fault data accessLu Baolu2-49/+80
2024-02-16iommu: Refine locking for per-device fault data managementLu Baolu1-31/+30
2024-02-16iommu: Separate SVA and IOPFLu Baolu11-267/+203
2024-02-16iommu: Make iommu_queue_iopf() more genericLu Baolu3-18/+59
2024-02-16iommu: Prepare for separating SVA and IOPFLu Baolu1-25/+14
2024-02-16iommu: Merge iommu_fault_event and iopf_faultLu Baolu5-15/+9
2024-02-16iommu: Remove iommu_[un]register_device_fault_handler()Lu Baolu5-110/+13
2024-02-16iommu: Merge iopf_device_param into iommu_fault_paramLu Baolu2-86/+58
2024-02-16iommu: Cleanup iopf data structure definitionsLu Baolu2-5/+0
2024-02-16iommu/arm-smmu-v3: Remove unrecoverable faults reportingLu Baolu1-33/+13
2024-02-16iommu/mtk_iommu: Use devm_kcalloc() instead of devm_kzalloc()Erick Archer2-3/+3
2024-02-16iommu/amd: Mark interrupt as managedMario Limonciello1-0/+3
2024-02-15irqchip: Convert all platform MSI users to the new APIThomas Gleixner1-2/+3
2024-02-13Revert "iommu/arm-smmu: Convert to domain_alloc_paging()"Dmitry Baryshkov1-11/+6
2024-02-09iommu/amd: Introduce per-device domain ID to fix potential TLB aliasing issueVasant Hegde2-17/+64
2024-02-09iommu/amd: Remove unused GCR3 table parameters from struct protection_domainSuravee Suthikulpanit2-13/+1
2024-02-09iommu/amd: Rearrange device flush codeVasant Hegde1-49/+43
2024-02-09iommu/amd: Remove unused flush pasid functionsVasant Hegde2-103/+0
2024-02-09iommu/amd: Refactor GCR3 table helper functionsSuravee Suthikulpanit1-22/+31
2024-02-09iommu/amd: Refactor protection_domain helper functionsSuravee Suthikulpanit1-11/+3
2024-02-09iommu/amd: Refactor attaching / detaching device functionsSuravee Suthikulpanit1-3/+27
2024-02-09iommu/amd: Refactor helper function for setting / clearing GCR3Suravee Suthikulpanit3-83/+61
2024-02-09iommu: Introduce iommu_group_mutex_assert()Vasant Hegde1-0/+19
2024-02-09iommu/amd: Rearrange GCR3 table setup codeVasant Hegde1-32/+32
2024-02-09iommu/amd: Add support for device based TLB invalidationVasant Hegde2-0/+28
2024-02-09iommu/amd: Use protection_domain.flags to check page table modeVasant Hegde1-2/+2
2024-02-09iommu/amd: Introduce per-device GCR3 tableSuravee Suthikulpanit1-0/+7
2024-02-09iommu/amd: Introduce struct protection_domain.pd_modeSuravee Suthikulpanit2-0/+8
2024-02-09iommu/amd: Introduce get_amd_iommu_from_dev()Suravee Suthikulpanit2-41/+28
2024-02-09iommu/amd: Enable Guest Translation before registering devicesVasant Hegde1-3/+3
2024-02-09iommu/amd: Pass struct iommu_dev_data to set_dte_entry()Vasant Hegde1-10/+8