aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu
AgeCommit message (Expand)AuthorFilesLines
2024-04-19Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+1
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/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-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
2024-02-09iommu/amd: Remove EXPORT_SYMBOL for perf counter related functionsVasant Hegde1-3/+0
2024-02-09iommu/amd: Remove redundant error check in amd_iommu_probe_device()Vasant Hegde1-2/+1
2024-02-09iommu/amd: Remove duplicate function declarations from amd_iommu.hVasant Hegde1-8/+0
2024-02-09iommu/ipmmu-vmsa: Minor cleanupsRobin Murphy1-11/+4
2024-02-09iommu/iova: use named kmem_cache for iova magazinesPasha Tatashin1-2/+12
2024-02-09iommu/iova: Reorganise some codeRobin Murphy1-64/+64
2024-02-09iommu/iova: Tidy up iova_cache_get() failureRobin Murphy1-17/+16
2024-02-09iommu/amd: Remove unused APERTURE_* macrosVasant Hegde1-8/+0
2024-02-09iommu/amd: Remove unused IOVA_* macroVasant Hegde1-4/+0
2024-02-09iommu/amd: Remove unused PPR_* macrosVasant Hegde1-4/+0
2024-02-07iommu/amd: Fix failure return from snp_lookup_rmpentry()Ashish Kalra1-10/+15
2024-02-06iommu/msm-iommu: don't limit the driver too muchDmitry Baryshkov1-1/+1
2024-02-06iommufd/iova_bitmap: Consider page offset for the pages to be pinnedJoao Martins1-6/+7
2024-02-06iommufd/selftest: Hugepage mock domain supportJoao Martins2-2/+14
2024-02-06iommufd/selftest: Refactor mock_domain_read_and_clear_dirty()Joao Martins1-19/+45
2024-02-06iommufd/iova_bitmap: Handle recording beyond the mapped pagesJoao Martins1-0/+43
2024-02-06iommufd/iova_bitmap: Switch iova_bitmap::bitmap to an u8 arrayJoao Martins1-4/+4
2024-02-06iommufd/iova_bitmap: Bounds check mapped::pages accessJoao Martins1-0/+4
2024-02-01iommu: Allow ops->default_domain to work when !CONFIG_IOMMU_DMAJason Gunthorpe1-5/+13
2024-01-29iommu/amd: Clean up RMP entries for IOMMU pages during SNP shutdownAshish Kalra1-0/+79
2024-01-29iommu/amd: Don't rely on external callers to enable IOMMU SNP supportAshish Kalra2-39/+31
2024-01-18Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds6-13/+256
2024-01-18Merge tag 'iommu-updates-v6.8' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds33-952/+1036
2024-01-11iommufd/selftest: Check the bus type during probeJason Gunthorpe1-13/+15
2024-01-11iommu/vt-d: Add iotlb flush for nested domainLu Baolu1-0/+88
2024-01-11iommufd/selftest: Add IOMMU_TEST_OP_MD_CHECK_IOTLB test opNicolin Chen2-0/+31
2024-01-11iommufd/selftest: Add mock_domain_cache_invalidate_user supportNicolin Chen2-0/+68
2024-01-11iommufd: Add IOMMU_HWPT_INVALIDATEYi Liu3-0/+54
2024-01-09Merge tag 'mm-stable-2024-01-08-15-31' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds2-2/+2
2024-01-08Merge tag 'x86-apic-2024-01-08' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds2-3/+3
2024-01-08mm, treewide: rename MAX_ORDER to MAX_PAGE_ORDERKirill A. Shutemov2-2/+2
2024-01-03Merge branches 'apple/dart', 'arm/rockchip', 'arm/smmu', 'virtio', 'x86/vt-d'...Joerg Roedel33-952/+1036
2023-12-19iommu: Don't reserve 0-length IOVA regionAshish Mhetre1-0/+4
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-15iommu/sva: Fix memory leak in iommu_sva_bind_device()Harshit Mogalapalli1-1/+2
2023-12-15iommu/dma: Trace bounce buffer usage when mapping buffersIsaac J. Manjarres1-0/+3
2023-12-13iommu/arm-smmu: Convert to domain_alloc_paging()Jason Gunthorpe1-6/+11
2023-12-13iommu/arm-smmu: Pass arm_smmu_domain to internal functionsJason Gunthorpe1-12/+10
2023-12-13iommu/arm-smmu: Implement IOMMU_DOMAIN_BLOCKEDJason Gunthorpe1-3/+25
2023-12-13iommu/arm-smmu: Convert to a global static identity domainJason Gunthorpe2-29/+53
2023-12-13iommu/arm-smmu: Reorganize arm_smmu_domain_add_master()Jason Gunthorpe1-13/+10
2023-12-13iommu/arm-smmu-v3: Remove ARM_SMMU_DOMAIN_NESTEDJason Gunthorpe2-4/+1
2023-12-13iommu/arm-smmu-v3: Master cannot be NULL in arm_smmu_write_strtab_ent()Jason Gunthorpe1-7/+2
2023-12-13iommu/arm-smmu-v3: Add a type for the STEJason Gunthorpe2-31/+35
2023-12-12iommu/arm-smmu-v3: disable stall for quiet_cdWenkai Lin1-0/+3
2023-12-12iommu/qcom: restore IOMMU state if neededVladimir Lypak1-1/+9
2023-12-12iommu/arm-smmu-qcom: Add QCM2290 MDSS compatibleKonrad Dybcio1-0/+1
2023-12-12iommu/arm-smmu-qcom: Add missing GMU entry to match tableRob Clark1-0/+1
2023-12-12iommu: Mark dev_iommu_priv_set() with a lockdepJason Gunthorpe7-8/+9
2023-12-12iommu: Mark dev_iommu_get() with lockdepJason Gunthorpe1-0/+2
2023-12-12iommu/of: Use -ENODEV consistently in of_iommu_configure()Jason Gunthorpe1-34/+15
2023-12-12iommmu/of: Do not return struct iommu_ops from of_iommu_configure()Jason Gunthorpe1-12/+19
2023-12-12iommu: Set owner token to SVA domainLu Baolu1-0/+1
2023-12-12iommu: Support mm PASID 1:n with sva domainsTina Zhang1-38/+54
2023-12-12iommu: Add mm_get_enqcmd_pasid() helper functionTina Zhang2-9/+16
2023-12-12iommu/vt-d: Remove mm->pasid in intel_sva_bind_mm()Tina Zhang1-7/+7
2023-12-12iommu: Change kconfig around IOMMU_SVAJason Gunthorpe1-0/+1
2023-12-11iommu/apple-dart: Fix spelling mistake "grups" -> "groups"Colin Ian King1-1/+1
2023-12-11iommu/amd/pgtbl_v2: Invalidate updated page ranges onlyVasant Hegde2-16/+22
2023-12-11iommu/amd: Make domain_flush_pages as global functionVasant Hegde3-12/+17
2023-12-11iommu/amd: Consolidate amd_iommu_domain_flush_complete() callVasant Hegde2-12/+10
2023-12-11iommu/amd: Refactor device iotlb invalidation codeVasant Hegde1-21/+12
2023-12-11iommu/amd: Refactor IOMMU tlb invalidation codeVasant Hegde1-22/+14
2023-12-11iommu/amd: Add support to invalidate multiple guest pagesVasant Hegde1-18/+13
2023-12-11iommu/amd: Remove redundant passing of PDE bitVasant Hegde1-14/+13
2023-12-11iommu/amd: Remove redundant domain flush from attach_device()Vasant Hegde1-9/+0
2023-12-11iommu/amd: Rename iommu_flush_all_caches() -> amd_iommu_flush_all_caches()Vasant Hegde4-11/+10
2023-12-11iommu/amd: Do not flush IRTE when only updating isRun and destination fieldsSuravee Suthikulpanit1-4/+16
2023-12-05Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds7-113/+171
2023-12-01iommu: Fix printk arg in of_iommu_get_resv_regions()Daniel Mentz1-1/+1
2023-11-29iommufd: Do not UAF during iommufd_put_object()Jason Gunthorpe2-78/+135
2023-11-29iommufd: Add iommufd_ctx to iommufd_put_object()Jason Gunthorpe6-35/+36
2023-11-27Merge branch 'iommu/fixes' into coreJoerg Roedel6-40/+115
2023-11-27iommu/apple-dart: Use readl instead of readl_relaxed for consistencySven Peter1-1/+1
2023-11-27iommu/apple-dart: Add support for t8103 USB4 DARTSven Peter1-0/+29
2023-11-27iommu/apple-dart: Write to all DART_T8020_STREAM_SELECTSven Peter1-2/+4
2023-11-27iommu: Extend LPAE page table format to support custom allocatorsBoris Brezillon1-16/+39
2023-11-27iommu: Allow passing custom allocators to pgtable driversBoris Brezillon1-0/+23
2023-11-27iommu/vt-d: Set variable intel_dirty_ops to staticKunwu Chan1-2/+2