aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu
AgeCommit message (Expand)AuthorFilesLines
2025-05-02Merge tag 'iommu-fixes-v6.15-rc4' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds4-18/+54
2025-04-28iommu/vt-d: Apply quirk_iommu_igfx for 8086:0044 (QM57/QS57)Mingcong Bai1-1/+3
2025-04-24iommu/amd: WARN if KVM attempts to set vCPU affinity without posted intrruptsSean Christopherson1-10/+3
2025-04-24iommu/amd: Return an error if vCPU affinity is set for non-vCPU IRTESean Christopherson1-1/+1
2025-04-17iommu/vt-d: Revert ATS timing change to fix boot failureLu Baolu1-12/+19
2025-04-17iommu/amd: Fix potential buffer overflow in parse_ivrs_acpihidPavel Paklov1-0/+8
2025-04-17iommu/arm-smmu-v3: Fail aliasing StreamIDs more gracefullyRobin Murphy1-3/+3
2025-04-17iommu/arm-smmu-v3: Fix iommu_device_probe bug due to duplicated stream idsNicolin Chen1-4/+15
2025-04-17iommu/arm-smmu-v3: Fix pgsize_bit for sva domainsBalbir Singh1-0/+6
2025-04-17iommu/arm-smmu-v3: Add missing S2FWB feature detectionAneesh Kumar K.V (Arm)1-0/+2
2025-04-11iommu/tegra241-cmdqv: Fix warnings due to dmam_free_coherent()Nicolin Chen1-27/+5
2025-04-11iommu: remove unneeded semicolonPei Xiao1-2/+2
2025-04-11iommu/mediatek: Fix NULL pointer deference in mtk_iommu_device_groupLouis-Alexis Eyraud1-13/+13
2025-04-11iommu/exynos: Fix suspend/resume with IDENTITY domainMarek Szyprowski1-2/+2
2025-04-11iommu/ipmmu-vmsa: Register in a sensible orderRobin Murphy1-17/+10
2025-04-11iommu: Clear iommu-dma ops on cleanupRobin Murphy1-0/+3
2025-04-11iommu/vt-d: Remove an unnecessary call set_dma_ops()Petr Tesarik1-1/+0
2025-04-11iommu/vt-d: Wire up irq_ack() to irq_move_irq() for posted MSIsSean Christopherson1-14/+15
2025-04-11iommu: Fix crash in report_iommu_fault()Fedor Pchelkin1-1/+2
2025-04-05treewide: Switch/rename to timer_delete[_sync]()Thomas Gleixner1-1/+1
2025-04-01Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds22-768/+1993
2025-03-28iommufd: Test attach before detaching pasidYi Liu1-0/+7
2025-03-28iommu: Convert unreachable() to BUG()Josh Poimboeuf1-2/+2
2025-03-28iommufd: Balance veventq->num_events inc/decYi Liu1-1/+2
2025-03-28iommufd: Initialize the flags of vevent in iommufd_viommu_report_event()Yi Liu1-1/+1
2025-03-28iommufd: Extend IOMMU_GET_HW_INFO to report PASID capabilityYi Liu1-1/+33
2025-03-26Merge tag 'iommu-updates-v6.15' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds30-734/+926
2025-03-25Merge tag 'hyperv-next-signed-20250324' of git://git.kernel.org/pub/scm/linux...Linus Torvalds1-4/+4
2025-03-25iommufd/selftest: Add test ops to test pasid attach/detachYi Liu2-0/+188
2025-03-25iommufd/selftest: Add a helper to get test deviceYi Liu1-13/+23
2025-03-25iommufd/selftest: Add set_dev_pasid in mock iommuYi Liu2-5/+36
2025-03-25iommufd: Allow allocating PASID-compatible domainYi Liu1-3/+4
2025-03-25iommu/vt-d: Add IOMMU_HWPT_ALLOC_PASID supportYi Liu2-2/+3
2025-03-25iommufd: Enforce PASID-compatible domain for RIDYi Liu1-4/+22
2025-03-25iommufd: Support pasid attach/replaceYi Liu2-26/+41
2025-03-25iommufd: Enforce PASID-compatible domain in PASID pathYi Liu3-0/+21
2025-03-25iommufd/device: Add pasid_attach array to track per-PASID attachYi Liu2-20/+41
2025-03-25iommufd/device: Replace device_list with device_arrayYi Liu1-19/+39
2025-03-25iommufd/device: Wrap igroup->hwpt and igroup->device_list into attach structYi Liu2-23/+58
2025-03-25iommufd/device: Add helper to detect the first attach of a groupYi Liu1-2/+9
2025-03-25iommufd/device: Replace idev->igroup with local variableYi Liu1-20/+23
2025-03-25iommufd/device: Only add reserved_iova in non-pasid pathYi Liu1-6/+8
2025-03-25iommufd: Pass @pasid through the device attach/replace pathYi Liu3-39/+52
2025-03-25iommu: Introduce a replace API for device pasidYi Liu2-4/+114
2025-03-25iommu: Require passing new handles to APIs supporting handleYi Liu1-0/+9
2025-03-25iommu: Drop sw_msi from iommu_domainNicolin Chen4-17/+27
2025-03-25iommufd: Move iommufd_sw_msi and related functions to driver.cNicolin Chen5-126/+153
2025-03-25iommu: Sort out domain user dataRobin Murphy5-93/+128
2025-03-20hyperv: Log hypercall status codes as stringsNuno Das Neves1-2/+2
2025-03-20Merge branches 'apple/dart', 'arm/smmu/updates', 'arm/smmu/bindings', 'rockch...Joerg Roedel30-734/+926
2025-03-20iommu/vt-d: Fix possible circular locking dependencyLu Baolu1-0/+2
2025-03-20iommu/vt-d: Don't clobber posted vCPU IRTE when host IRQ affinity changesSean Christopherson1-10/+15
2025-03-20iommu/vt-d: Put IRTE back into posted MSI mode if vCPU posting is disabledSean Christopherson1-6/+13
2025-03-20iommu: apple-dart: fix potential null pointer derefQasim Ijaz1-3/+2
2025-03-20iommu/rockchip: Retire global dma_dev workaroundRobin Murphy1-21/+13
2025-03-20iommu/rockchip: Register in a sensible orderRobin Murphy1-11/+10
2025-03-20iommu/rockchip: Allocate per-device data sensiblyRobin Murphy1-3/+3
2025-03-18iommu/arm-smmu-v3: Set MEV bit in nested STE for DoS mitigationsNicolin Chen3-2/+5
2025-03-18iommu/arm-smmu-v3: Report events that belong to devices attached to vIOMMUNicolin Chen3-25/+57
2025-03-18iommu/arm-smmu-v3: Introduce struct arm_smmu_vmasterNicolin Chen3-1/+86
2025-03-18iommufd/selftest: Add IOMMU_TEST_OP_TRIGGER_VEVENT for vEVENTQ coverageNicolin Chen2-0/+40
2025-03-18iommufd/selftest: Require vdev_id when attaching to a nested domainNicolin Chen1-0/+24
2025-03-18iommufd/viommu: Add iommufd_viommu_report_event helperNicolin Chen1-0/+48
2025-03-18iommufd/viommu: Add iommufd_viommu_get_vdev_id helperNicolin Chen1-0/+24
2025-03-18iommufd: Add IOMMUFD_OBJ_VEVENTQ and IOMMUFD_CMD_VEVENTQ_ALLOCNicolin Chen4-1/+299
2025-03-17iommufd: Rename fault.c to eventq.cNicolin Chen2-1/+1
2025-03-17iommufd: Abstract an iommufd_eventq from iommufd_faultNicolin Chen3-63/+82
2025-03-17iommufd/fault: Add an iommufd_fault_init() helperNicolin Chen1-28/+42
2025-03-17iommufd/fault: Move two fault functions out of the headerNicolin Chen2-25/+25
2025-03-13iommu/mediatek-v1: Support COMPILE_TESTRobin Murphy2-3/+11
2025-03-13iommu/amd: Enable support for up to 2K interrupts per functionKishon Vijay Abraham I3-14/+65
2025-03-13iommu/amd: Rename DTE_INTTABLEN* and MAX_IRQS_PER_TABLE macroSairaj Kodilkar3-5/+5
2025-03-13iommu/amd: Replace slab cache allocator with page allocatorSairaj Kodilkar3-36/+15
2025-03-13iommu/amd: Introduce generic function to set multibit feature valueSairaj Kodilkar2-18/+11
2025-03-12iommu: Don't warn prematurely about dodgy probesRobin Murphy1-6/+6
2025-03-11iommu/arm-smmu: Set rpm auto_suspend once during probePranjal Shrivastava1-4/+6
2025-03-11iommu: Get DT/ACPI parsing into the proper probe pathRobin Murphy2-4/+27
2025-03-11iommu: Keep dev->iommu state consistentRobin Murphy3-2/+8
2025-03-11iommu: Resolve ops in iommu_init_device()Robin Murphy1-14/+16
2025-03-11iommu: Handle race with default domain setupRobin Murphy1-0/+5
2025-03-11iommu: Unexport iommu_fwspec_free()Robin Murphy5-13/+6
2025-03-10iommu/vt-d: Cleanup intel_context_flush_present()Lu Baolu3-38/+10
2025-03-10iommu/vt-d: Move PRI enablement in probe pathLu Baolu4-90/+55
2025-03-10iommu/vt-d: Move scalable mode ATS enablement to probe pathLu Baolu1-24/+27
2025-03-10iommu/vt-d: Check if SVA is supported when attaching the SVA domainJason Gunthorpe2-36/+44
2025-03-10iommu/vt-d: Use virt_to_phys()Jason Gunthorpe2-20/+2
2025-03-10iommu/vt-d: Fix system hang on reboot -fYunhui Cui1-7/+10
2025-03-10iommu: apple-dart: Allow mismatched bypass supportHector Martin1-5/+12
2025-03-10iommu: apple-dart: Increase MAX_DARTS_PER_DEVICE to 3Hector Martin1-1/+1
2025-03-10iommu/amd: Consolidate protection domain free codeVasant Hegde3-12/+6
2025-03-10iommu/amd: Remove unused forward declarationVasant Hegde1-1/+0
2025-03-10iommu/amd: Fix header fileVasant Hegde1-4/+3
2025-03-10iommu/amd: Remove outdated commentVasant Hegde1-7/+0
2025-03-10iommu/amd/pgtbl_v2: Improve error handlingVasant Hegde1-1/+1
2025-03-10iommu/amd: Remove unused variableVasant Hegde1-3/+0
2025-03-10iommu/amd: Log IOMMU control register in event log pathVasant Hegde1-1/+3
2025-03-10iommu/dma: Remove redundant lockingRobin Murphy1-13/+4
2025-03-07iommufd: Fail replace if device has not been attachedYi Liu1-0/+16
2025-03-07iommufd: Set domain->iommufd_hwpt in all hwpt->domain allocatorsNicolin Chen1-1/+3
2025-03-04iommufd: Fix uninitialized rc in iommufd_access_rw()Nicolin Chen1-1/+1
2025-03-04iommufd: Disallow allocating nested parent domain with fault IDYi Liu1-0/+3
2025-02-28Merge tag 'for-joerg' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg/io...Joerg Roedel9-292/+415
2025-02-28iommu: Swap the order of setting group->pasid_array and calling attach op of ...Yi Liu1-12/+36
2025-02-28iommu: Store either domain or handle in group->pasid_arrayYi Liu1-12/+31
2025-02-28iommu: Drop iommu_group_replace_domain()Yi Liu2-32/+6
2025-02-28iommu: Make @handle mandatory in iommu_{attach|replace}_group_handle()Yi Liu1-9/+8
2025-02-28iommu/vt-d: Fix suspicious RCU usageLu Baolu2-0/+8
2025-02-28iommu/vt-d: Remove device comparison in context_setup_pass_through_cbJerry Snitselaar1-3/+0
2025-02-28iommu/amd: Preserve default DTE fields when updating Host Page Table RootAlejandro Jimenez1-2/+2
2025-02-27iommufd: Implement sw_msi support nativelyJason Gunthorpe4-23/+173
2025-02-22hyperv: Change hv_root_partition into a functionNuno Das Neves1-2/+2
2025-02-21iommu: Turn fault_data to iommufd private pointerNicolin Chen2-2/+2
2025-02-21irqchip: Have CONFIG_IRQ_MSI_IOMMU be selected by irqchips that need itJason Gunthorpe2-1/+2
2025-02-21iommu: Make iommu_dma_prepare_msi() into a generic operationJason Gunthorpe2-19/+43
2025-02-21genirq/msi: Refactor iommu_dma_compose_msi_msg()Jason Gunthorpe1-18/+0
2025-02-21genirq/msi: Store the IOMMU IOVA directly in msi_desc instead of iommu_cookieJason Gunthorpe1-15/+13
2025-02-21iommu/io-pgtable-dart: Only set subpage protection disable for DART 1Asahi Lina1-1/+1
2025-02-21iommu/s390: implement iommu passthrough via identity domainMatthew Rosato1-23/+72
2025-02-21iommu/s390: handle IOAT registration based on domainMatthew Rosato1-2/+41
2025-02-16Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-4/+30
2025-02-14x86/sev: Fix broken SNP support with KVM module built-inAshish Kalra1-4/+30
2025-02-14iommu/vt-d: Make intel_iommu_drain_pasid_prq() cover faults for RIDLu Baolu1-1/+3
2025-02-14iommu/exynos: Fix typosAndrew Kreimer1-3/+3
2025-02-14iommu: Fix a spelling errorEaswar Hariharan1-1/+1
2025-02-14iommu/amd: Expicitly enable CNTRL.EPHEn bit in resume pathVasant Hegde2-0/+5
2025-02-11iommufd/fault: Remove iommufd_fault_domain_attach/detach/replace_dev()Nicolin Chen2-128/+0
2025-02-11iommufd: Make attach_handle generic than fault specificNicolin Chen3-33/+113
2025-02-10iommu: Fix potential memory leak in iopf_queue_remove_device()Lu Baolu1-0/+1
2025-01-25Merge tag 'hyperv-next-signed-20250123' of git://git.kernel.org/pub/scm/linux...Linus Torvalds1-2/+2
2025-01-24Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds8-73/+100
2025-01-24Merge tag 'iommu-updates-v6.14' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds35-1027/+1258
2025-01-21Merge tag 'irq-core-2025-01-21' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds3-3/+1
2025-01-21iommufd: Fix struct iommu_hwpt_pgfault init and paddingNicolin Chen1-1/+1
2025-01-20iommufd/fault: Use a separate spinlock to protect fault->deliver listNicolin Chen2-14/+49
2025-01-17Merge branches 'arm/smmu/updates', 'arm/smmu/bindings', 'qualcomm/msm', 'rock...Joerg Roedel35-1027/+1258
2025-01-17iommu: Use str_enable_disable-like helpersKrzysztof Kozlowski5-8/+13
2025-01-17iommu/amd: Fully decode all combinations of alloc_paging_flagsJason Gunthorpe1-15/+15
2025-01-17iommu/amd: Move the nid to pdom_setup_pgtable()Jason Gunthorpe3-15/+11
2025-01-17iommu/amd: Change amd_iommu_pgtable to use enum protection_domain_modeJason Gunthorpe3-25/+25
2025-01-17iommu/amd: Remove type argument from do_iommu_domain_alloc() and relatedJason Gunthorpe3-27/+13
2025-01-17iommu/amd: Remove dev == NULL checksJason Gunthorpe1-20/+10
2025-01-17iommu/amd: Remove domain_alloc()Jason Gunthorpe1-20/+0
2025-01-17iommu/amd: Remove unused amd_iommu_domain_update()Alejandro Jimenez2-10/+0
2025-01-17iommu/riscv: Fixup compile warningGuo Ren1-1/+1
2025-01-16iommufd/fault: Destroy response and mutex in iommufd_fault_destroy()Nicolin Chen1-0/+8
2025-01-15x86/apic: Convert to IRQCHIP_MOVE_DEFERREDThomas Gleixner3-3/+1
2025-01-14iommufd: Keep OBJ/IOCTL lists in an alphabetical orderNicolin Chen1-16/+14
2025-01-14iommufd/iova_bitmap: Fix shift-out-of-bounds in iova_bitmap_offset_to_index()Qasim Ijaz1-1/+1
2025-01-14iommu: iommufd: fix WARNING in iommufd_device_unbindSuraj Sonawane1-1/+1
2025-01-10iommu/arm-smmu-v3: Add missing #include of linux/string_choices.hWill Deacon1-0/+1
2025-01-10iommu/hyper-v: Don't assume cpu_possible_mask is denseMichael Kelley1-2/+2
2025-01-08iommu/arm-smmu-v3: Use str_read_write helper w/ logsPranjal Shrivastava1-1/+1
2025-01-07iommu/io-pgtable-arm: Add way to debug pgtable walkRob Clark1-0/+23
2025-01-07iommu/io-pgtable-arm: Re-use the pgtable walk for iova_to_physRob Clark1-37/+37
2025-01-07iommu/io-pgtable-arm: Make pgtable walker more genericRob Clark1-24/+43
2025-01-07iommu/arm-smmu: Add ACTLR data and support for qcom_smmu_500Bibek Kumar Patro1-0/+33
2025-01-07iommu/arm-smmu: Introduce ACTLR custom prefetcher settingsBibek Kumar Patro2-0/+34
2025-01-07iommu/arm-smmu: Add support for PRR bit setupBibek Kumar Patro2-0/+54
2025-01-07iommu/arm-smmu: Refactor qcom_smmu structure to include single pointerBibek Kumar Patro3-3/+3
2025-01-07iommu/arm-smmu: Re-enable context caching in smmu reset operationBibek Kumar Patro2-2/+15
2025-01-07iommu/vt-d: Link cache tags of same iommu unit togetherZhenzhong Duan1-1/+10
2025-01-07iommu/vt-d: Draining PRQ in sva unbind path when FPD bit setLu Baolu2-1/+27
2025-01-07iommu/vt-d: Remove iommu cap auditLu Baolu5-366/+1
2025-01-07iommu/vt-d: Remove domain_alloc_paging()Jason Gunthorpe1-16/+0
2025-01-07iommu/vt-d: Avoid use of NULL after WARN_ON_ONCEKees Bakker1-3/+4
2025-01-06iommu/amd: remove return value of amd_iommu_detectGao Shiyuan1-6/+4
2025-01-06iommu/msm: Use helper function devm_clk_get_prepared()Zhang Heng1-40/+11
2025-01-06iommu/riscv: Add shutdown function for iommu driverXu Lu4-2/+19
2025-01-06iommu/riscv: Empty iommu queue before enabling itXu Lu1-0/+6
2024-12-19iommu/tegra241-cmdqv: Read SMMU IDR1.CMDQS instead of hardcodingNicolin Chen1-3/+5
2024-12-19iommu/io-pgtable-arm: Fix cfg reading in arm_lpae_concat_mandatory()Mostafa Saleh1-5/+6
2024-12-18iommu: Remove the remove_dev_pasid opYi Liu1-13/+4
2024-12-18iommu/amd: Make the blocked domain support PASIDYi Liu1-1/+9
2024-12-18iommu/vt-d: Make the blocked domain support PASIDYi Liu1-4/+11
2024-12-18iommu/arm-smmu-v3: Make the blocked domain support PASIDJason Gunthorpe1-6/+6
2024-12-18iommu: Detaching pasid by attaching to the blocked_domainYi Liu1-2/+14
2024-12-18iommu: Consolidate the ops->remove_dev_pasid usage into a helperYi Liu1-8/+11
2024-12-18iommu: Prevent pasid attach if no ops->remove_dev_pasidYi Liu1-5/+8
2024-12-18iommu/amd: Remove amd_iommu_apply_erratum_63()Suravee Suthikulpanit2-48/+3
2024-12-18iommu/amd: Lock DTE before updating the entry with WRITE_ONCE()Suravee Suthikulpanit2-19/+25
2024-12-18iommu/amd: Modify clear_dte_entry() to avoid in-place updateSuravee Suthikulpanit1-12/+9
2024-12-18iommu/amd: Introduce helper function get_dte256()Suravee Suthikulpanit1-11/+51
2024-12-18iommu/amd: Modify set_dte_entry() to use 256-bit DTE helpersSuravee Suthikulpanit4-68/+106
2024-12-18iommu/amd: Introduce helper function to update 256-bit DTESuravee Suthikulpanit2-1/+132
2024-12-18iommu/amd: Introduce struct ivhd_dte_flags to store persistent DTE flagsSuravee Suthikulpanit2-29/+100
2024-12-18iommu/amd: Disable AMD IOMMU if CMPXCHG16B feature is not supportedSuravee Suthikulpanit1-14/+9
2024-12-18iommu/amd: Misc ACPI IVRS debug info clean upSuravee Suthikulpanit2-21/+16
2024-12-18iommu/riscv: Add support for platform msiAndrew Jones1-18/+84
2024-12-13iommu/vt-d: Avoid draining PRQ in sva mm release pathLu Baolu1-1/+2
2024-12-13iommu/vt-d: Fix qi_batch NULL pointer with nested parent domainYi Liu1-7/+27
2024-12-13iommu/vt-d: Remove cache tags before disabling ATSLu Baolu1-1/+3
2024-12-12Merge tag 'arm-smmu-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/w...Joerg Roedel1-1/+1
2024-12-11iommufd: Deal with IOMMU_HWPT_FAULT_ID_VALID in iommufd coreYi Liu4-13/+10
2024-12-11iommufd/selftest: Remove domain_alloc_paging()Jason Gunthorpe1-27/+16
2024-12-10iommu/amd: Add lockdep asserts for domain->dev_listJason Gunthorpe1-0/+5
2024-12-10iommu/amd: Put list_add/del(dev_data) back under the domain->lockJason Gunthorpe1-1/+4
2024-12-09iommu/io-pgtable-arm: Add coverage for different OAS in selftestMostafa Saleh1-12/+15
2024-12-09iommu/io-pgtable-arm: Fix stage-2 concatenation with 16KMostafa Saleh1-12/+33
2024-12-09iommu/tegra241-cmdqv: do not use smp_processor_id in preemptible contextLuis Claudio R. Goncalves1-1/+1
2024-12-09iommu/arm-smmu-v3: Remove domain_alloc_paging()Jason Gunthorpe1-31/+0