aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu
AgeCommit message (Expand)AuthorFilesLines
2022-03-29Merge tag 'dma-mapping-5.18' of git://git.infradead.org/users/hch/dma-mappingLinus Torvalds1-9/+5
2022-03-28Merge tag 'driver-core-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds3-14/+4
2022-03-24Merge tag 'iommu-updates-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds32-1897/+573
2022-03-23Merge tag 'media/v5.18-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mc...Linus Torvalds2-1/+75
2022-03-21Merge tag 'x86-pasid-2022-03-21' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds9-86/+27
2022-03-08Merge branches 'arm/mediatek', 'arm/msm', 'arm/renesas', 'arm/rockchip', 'arm...Joerg Roedel32-1897/+573
2022-03-08Merge tag 'arm-smmu-updates' of git://git.kernel.org/pub/scm/linux/kernel/git...Joerg Roedel4-74/+61
2022-03-08iommu/amd: Improve amd_iommu_v2_exit()Suravee Suthikulpanit1-17/+17
2022-03-08iommu/amd: Remove unused struct fault.devidVasant Hegde1-1/+0
2022-03-08iommu/amd: Clean up function declarationsVasant Hegde2-5/+1
2022-03-08iommu/amd: Call memunmap in error pathVasant Hegde1-0/+2
2022-03-07iommu/arm-smmu: Account for PMU interruptsRobin Murphy2-52/+46
2022-03-04iommu/vt-d: Enable ATS for the devices in SATC tableYian Chen1-2/+38
2022-03-04iommu/vt-d: Remove unused function intel_svm_capable()YueHaibing1-5/+0
2022-03-04iommu/vt-d: Add missing "__init" for rmrr_sanity_check()Marco Bonelli1-1/+1
2022-03-04iommu/vt-d: Move intel_iommu_ops to header fileAndy Shevchenko1-2/+0
2022-03-04iommu/vt-d: Fix indentation of goto labelsLu Baolu1-2/+2
2022-03-04iommu/vt-d: Remove unnecessary prototypesLu Baolu1-5/+0
2022-03-04iommu/vt-d: Remove unnecessary includesLu Baolu1-27/+7
2022-03-04iommu/vt-d: Remove DEFER_DEVICE_DOMAIN_INFOLu Baolu4-128/+79
2022-03-04iommu/vt-d: Remove domain and devinfo mempoolLu Baolu1-99/+5
2022-03-04iommu/vt-d: Remove iova_cache_get/put()Lu Baolu1-5/+0
2022-03-04iommu/vt-d: Remove finding domain in dmar_insert_one_dev_info()Lu Baolu1-21/+0
2022-03-04iommu/vt-d: Remove intel_iommu::domainsLu Baolu1-65/+3
2022-03-04Merge branch 'core' into x86/vt-dJoerg Roedel29-1385/+305
2022-03-04iommu/mediatek: Always tlb_flush_all when each PM resumeYong Wu1-0/+7
2022-03-04iommu/mediatek: Add tlb_lock in tlb_flush_allYong Wu1-3/+9
2022-03-04iommu/mediatek: Remove the power status checking in tlb flush allYong Wu1-5/+0
2022-03-04iommu/mediatek: Always check runtime PM status in tlb flush range callbackSebastian Reichel1-7/+3
2022-03-04iommu/mediatek: Remove for_each_m4u in tlb_sync_allYong Wu1-9/+7
2022-03-04iommu/iova: Improve 32-bit free space estimateRobin Murphy1-2/+3
2022-03-04iommu/amd: Improve error handling for amd_iommu_init_pciSuravee Suthikulpanit1-3/+11
2022-03-03dma-mapping: remove CONFIG_DMA_REMAPChristoph Hellwig1-9/+5
2022-02-28iommu/tegra-smmu: Fix missing put_device() call in tegra_smmu_findMiaoqian Lin1-1/+3
2022-02-28iommu/vt-d: Fix double list_add when enabling VMD in scalable modeAdrian Huang1-1/+1
2022-02-28iommu: Split struct iommu_opsLu Baolu21-162/+203
2022-02-28iommu: Remove unused argument in is_attach_deferredLu Baolu5-16/+10
2022-02-28iommu: Use right way to retrieve iommu_opsLu Baolu1-25/+25
2022-02-28iommu: Remove apply_resv_regionLu Baolu1-3/+0
2022-02-28iommu: Remove aux-domain related interfaces and iommu_opsLu Baolu1-46/+0
2022-02-28iommu/vt-d: Remove aux-domain related callbacksLu Baolu2-309/+3
2022-02-28iommu: Remove guest pasid related interfaces and definitionsLu Baolu1-210/+0
2022-02-28iommu/vt-d: Remove guest pasid related callbacksLu Baolu4-582/+0
2022-02-28Merge 5.17-rc6 into driver-core-nextGreg Kroah-Hartman5-18/+33
2022-02-25iommu/mediatek: Make use of the helper component_compare/release_ofYong Wu3-14/+4
2022-02-15iommu/sva: Assign a PASID to mm on PASID allocation and free it on mm exitFenghua Yu6-78/+19
2022-02-14iommu/sva: Rename CONFIG_IOMMU_SVA_LIB to CONFIG_IOMMU_SVAFenghua Yu4-8/+8
2022-02-14iommu/iova: Separate out rcache initJohn Garry2-14/+63
2022-02-14iommu/msm: Simplify with dev_err_probe()David Heidelberg1-14/+10
2022-02-14iommu/msm: Use standard driver registrationRobin Murphy1-13/+1
2022-02-14iommu/rockchip: : Use standard driver registrationRobin Murphy1-6/+1
2022-02-14iommu: Remove trivial ops->capable implementationsRobin Murphy3-18/+0
2022-02-14iommu/ipmmu-vmsa: Add support for R-Car Gen4Yoshihiro Shimoda1-3/+7
2022-02-14iommu/ipmmu-vmsa: Check for error num after setting maskJiasheng Jiang1-1/+3
2022-02-14iommu/vtd: Replace acpi_bus_get_device()Rafael J. Wysocki1-1/+2
2022-02-14iommu/amd: Fix I/O page table memory leakSuravee Suthikulpanit1-6/+6
2022-02-14iommu/amd: Recover from event log overflowLennert Buytenhek4-2/+20
2022-02-08iommu/arm-smmu-v3: fix event handling soft lockupZhou Guanghui1-0/+1
2022-02-08iommu/arm-smmu: Add missing pm_runtime_disable() in qcom_iommu_device_probeMiaoqian Lin1-3/+7
2022-02-08iommu/arm-smmu-v3: Simplify memory allocationChristophe JAILLET1-17/+5
2022-02-08iommu/arm-smmu-v3: Avoid open coded arithmetic in memory allocationChristophe JAILLET1-2/+2
2022-02-04iommu/amd: Fix loop timeout issue in iommu_ga_log_enable()Joerg Roedel1-0/+2
2022-01-31iommu/vt-d: Fix potential memory leak in intel_setup_irq_remapping()Guoqing Jiang1-3/+10
2022-01-31iommu: Fix some W=1 warningsJohn Garry3-13/+14
2022-01-31iommu: Fix potential use-after-free during probeVijayanand Jitta1-2/+7
2022-01-28media: iommu/mediatek: Add device_link between the consumer and the larb devicesYong Wu2-1/+58
2022-01-28media: iommu/mediatek: Add probe_defer for smi-larbYong Wu2-0/+8
2022-01-28media: iommu/mediatek: Return ENODEV if the device is NULLYong Wu2-2/+2
2022-01-28media: iommu/mediatek-v1: Free the existed fwspec if the master dev already hasYong Wu1-0/+9
2022-01-18Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-1/+1
2022-01-14virtio: wrap config->reset callsMichael S. Tsirkin1-1/+1
2022-01-13Merge tag 'irq-msi-2022-01-13' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-18/+5
2022-01-12Merge tag 'iommu-updates-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds13-483/+475
2022-01-04Merge branches 'arm/smmu', 'virtio', 'x86/amd', 'x86/vt-d' and 'core' into nextJoerg Roedel13-483/+475
2021-12-20iommu: Move flush queue data into iommu_dma_cookieRobin Murphy2-79/+94
2021-12-20iommu/iova: Move flush queue code to iommu-dmaRobin Murphy2-176/+176
2021-12-20iommu/iova: Consolidate flush queue codeRobin Murphy1-73/+58
2021-12-20iommu/vt-d: Use put_pages_listMatthew Wilcox (Oracle)3-76/+41
2021-12-20iommu/amd: Use put_pages_listMatthew Wilcox (Oracle)1-32/+18
2021-12-20iommu/amd: Simplify pagetable freeingRobin Murphy1-48/+34
2021-12-20iommu/iova: Squash flush_cb abstractionRobin Murphy2-18/+6
2021-12-20iommu/iova: Squash entry_dtor abstractionRobin Murphy2-28/+17
2021-12-20iommu/iova: Fix race between FQ timeout and teardownXiongfeng Wang1-2/+1
2021-12-20iommu/amd: Fix typo in *glues … together* in commentPaul Menzel1-1/+1
2021-12-17iommu/vt-d: Remove unused dma_to_mm_pfn functionMaíra Canal1-5/+0
2021-12-17iommu/vt-d: Drop duplicate check in dma_pte_free_pagetable()Kefeng Wang1-4/+0
2021-12-17iommu/vt-d: Use bitmap_zalloc() when applicableChristophe JAILLET1-5/+4
2021-12-17iommu/amd: Remove useless irq affinity notifierMaxim Levitsky1-2/+0
2021-12-17iommu/amd: X2apic mode: mask/unmask interrupts on suspend/resumeMaxim Levitsky1-1/+7
2021-12-17iommu/amd: X2apic mode: setup the INTX registers on mask/unmaskMaxim Levitsky1-32/+33
2021-12-17iommu/amd: X2apic mode: re-enable after resumeMaxim Levitsky1-1/+4
2021-12-17iommu/amd: Restore GA log/tail pointer on host resumeMaxim Levitsky1-16/+15
2021-12-17iommu/iova: Move fast alloc size roundup into alloc_iova_fast()John Garry via iommu2-8/+9
2021-12-17iommu/virtio: Fix typo in a commentXiang wangx1-1/+1
2021-12-17iommu/vt-d: Use correctly sized arguments for bit fieldKees Cook1-2/+2
2021-12-16iommu/arm-smmu-v3: Use msi_get_virq()Thomas Gleixner1-16/+3
2021-12-16platform-msi: Use msi_desc::msi_indexThomas Gleixner1-2/+2
2021-12-16device: Move MSI related data into a structThomas Gleixner1-1/+1
2021-12-15Revert "iommu/arm-smmu-v3: Decrease the queue size of evtq and priq"Zhou Wang1-3/+2
2021-12-14iommu/io-pgtable-arm-v7s: Add error handle for page table allocation failureYunfei Wang1-1/+5
2021-12-14iommu/arm-smmu-v3: Constify arm_smmu_mmu_notifier_opsRikard Falkeborn1-1/+1
2021-12-14iommu: arm-smmu-impl: Add SM8450 qcom iommu implementationVinod Koul1-0/+1
2021-12-14iommu/arm-smmu-qcom: Fix TTBR0 readRob Clark1-1/+1
2021-12-06iommu/virtio: Support identity-mapped domainsJean-Philippe Brucker1-4/+57
2021-12-06iommu/virtio: Pass end address to viommu_add_mapping()Jean-Philippe Brucker1-16/+15
2021-12-06iommu/virtio: Sort reserved regionsJean-Philippe Brucker1-2/+7
2021-12-06iommu/virtio: Support bypass domainsJean-Philippe Brucker1-1/+19
2021-12-06s390/pci: use physical addresses in DMA tablesNiklas Schnelle1-5/+5
2021-12-06iommu/io-pgtable-arm: Fix table descriptor paddr formattingHector Martin1-4/+5
2021-12-06iommu: Extend mutex lock scope in iommu_probe_device()Lu Baolu1-1/+2
2021-11-26iommu/vt-d: Fix unmap_pages supportAlex Williamson1-4/+2
2021-11-26iommu/vt-d: Fix an unbalanced rcu_read_lock/rcu_read_unlock()Christophe JAILLET1-2/+3
2021-11-26iommu/rockchip: Fix PAGE_DESC_HI_MASKs for RK3568Alex Bee1-2/+2
2021-11-26iommu/amd: Clarify AMD IOMMUv2 initialization messagesJoerg Roedel1-3/+3
2021-11-06Merge tag 'pci-v5.16-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+28
2021-11-04iommu/dart: Exclude MSI doorbell from PCIe device IOVA rangeMarc Zyngier1-0/+27
2021-11-04Merge tag 'iommu-updates-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds16-229/+337
2021-11-01Merge tag 'overflow-v5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-3/+6
2021-11-01Merge tag 'x86_cc_for_v5.16_rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds4-6/+10
2021-10-31Merge branches 'apple/dart', 'arm/mediatek', 'arm/renesas', 'arm/smmu', 'arm/...Joerg Roedel16-229/+337
2021-10-28iommu/dma: Fix incorrect error return on iommu deferred attachLogan Gunthorpe1-1/+2
2021-10-27iommu/dart: Initialize DART_STREAMS_ENABLESven Peter1-0/+5
2021-10-27iommu/dma: Use kvcalloc() instead of kvzalloc()Gustavo A. R. Silva1-1/+1
2021-10-18iommu/tegra-smmu: Use devm_bitmap_zalloc when applicableChristophe JAILLET1-4/+1
2021-10-18iommu/dart: Use kmemdup instead of kzalloc and memcpyWan Jiabing1-2/+1
2021-10-18iommu/vt-d: Avoid duplicate removing in __domain_mapping()Longpeng(Mike)1-5/+6
2021-10-18iommu/vt-d: Clean up unused PASID updating functionsFenghua Yu1-23/+1
2021-10-18iommu/vt-d: Delete dev_has_feat callbackLu Baolu1-54/+5
2021-10-18iommu/vt-d: Use second level for GPA->HPA translationLu Baolu1-3/+12
2021-10-18iommu/vt-d: Check FL and SL capability sanity in scalable modeLu Baolu2-0/+14
2021-10-18iommu/vt-d: Remove duplicate identity domain flagLu Baolu1-5/+4
2021-10-18iommu/vt-d: Dump DMAR translation structure when DMA fault occursKyung Min Park3-2/+125
2021-10-18iommu/vt-d: Do not falsely log intel_iommu is unsupported kernel optionTvrtko Ursulin1-1/+5
2021-10-13iommu/arm: fix ARM_SMMU_QCOM compilationArnd Bergmann1-0/+8
2021-10-08Merge tag 'asm-generic-fixes-5.15' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds3-4/+5
2021-10-08iommu/arm-smmu-qcom: Request direct mapping for modem deviceSibi Sankar1-0/+1
2021-10-07qcom_scm: hide Kconfig symbolArnd Bergmann3-4/+5
2021-10-04iommu: arm-smmu-qcom: Add compatible for QCM2290Loic Poulain1-0/+1
2021-10-04iommu/arm-smmu-qcom: Add SM6350 SMMU compatibleKonrad Dybcio1-0/+1
2021-10-04iommu/arm-smmu-v3: Properly handle the return value of arm_smmu_cmdq_build_cmd()Zhen Lei1-6/+12
2021-10-04iommu/arm-smmu-v3: Stop pre-zeroing batch commands in arm_smmu_atc_inv_master()Zhen Lei1-1/+2
2021-10-04treewide: Replace the use of mem_encrypt_active() with cc_platform_has()Tom Lendacky3-3/+6
2021-10-04x86/sme: Replace occurrences of sme_active() with cc_platform_has()Tom Lendacky1-3/+4
2021-09-29iommu/amd: Use report_iommu_fault()Lennert Buytenhek2-0/+23
2021-09-29iommu/dma: Account for min_align_mask w/swiotlbDavid Stevens1-3/+2
2021-09-29swiotlb: Support aligned swiotlb buffersDavid Stevens1-2/+2
2021-09-29iommu/dma: Check CONFIG_SWIOTLB more broadlyDavid Stevens1-8/+12
2021-09-29iommu/dma: Fold _swiotlb helpers into callersDavid Stevens1-76/+59
2021-09-29iommu/dma: Skip extra sync during unmap w/swiotlbDavid Stevens1-5/+6
2021-09-29iommu/dma: Fix arch_sync_dma for mapDavid Stevens1-9/+7
2021-09-29iommu/dma: Fix sync_sg with swiotlbDavid Stevens1-20/+13
2021-09-28iommu/mediatek: Fix out-of-range warning with clangArnd Bergmann1-1/+3
2021-09-28iommu/dart: Clear sid2group entry when a group is freedSven Peter1-3/+35
2021-09-28iommu/ipmmu-vmsa: Hook up r8a77980 DT matching codeNikita Yushchenko1-0/+3
2021-09-28iommu/vt-d: Drop "0x" prefix from PCI bus & device addressesBjorn Helgaas1-3/+3
2021-09-28iommu/dart: Remove iommu_flush_opsSven Peter1-18/+0
2021-09-28iommu/dma: Unexport IOVA cookie managementRobin Murphy2-9/+1
2021-09-28iommu/dart: Clean up IOVA cookie crumbsRobin Murphy1-2/+0
2021-09-28iommu/ipmmu-vmsa: Add support for r8a779a0Yoshihiro Shimoda1-4/+25
2021-09-25iommu/amd: Use struct_group() for memcpy() regionKees Cook1-3/+6
2021-09-11Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-0/+2
2021-09-10Merge tag 'iommu-fixes-v5.15-rc0' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds3-24/+41
2021-09-09iommu: Clarify default domain KconfigRobin Murphy1-1/+1
2021-09-09iommu/vt-d: Fix a deadlock in intel_svm_drain_prq()Fenghua Yu1-0/+12
2021-09-09iommu/vt-d: Fix PASID leak in intel_svm_unbind_mm()Fenghua Yu1-3/+0
2021-09-09iommu/amd: Remove iommu_init_ga()Suravee Suthikulpanit1-13/+4
2021-09-09iommu/amd: Relocate GAMSup check to early_enable_iommusWei Huang1-7/+24
2021-09-06iova: Export alloc_iova_fast() and free_iova_fast()Xie Yongji1-0/+2
2021-09-03Merge tag 'iommu-updates-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds34-565/+1802
2021-09-03Merge branch 'stable/for-linus-5.15' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-6/+6
2021-09-02Merge tag 'dma-mapping-5.15' of git://git.infradead.org/users/hch/dma-mappingLinus Torvalds2-15/+22
2021-09-01Merge tag 'drivers-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/soc...Linus Torvalds1-0/+2
2021-08-30Merge tag 's390-5.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390...Linus Torvalds1-5/+13
2021-08-25s390/pci: improve DMA translation init and exitNiklas Schnelle1-5/+13
2021-08-20Merge branches 'apple/dart', 'arm/smmu', 'iommu/fixes', 'x86/amd', 'x86/vt-d'...Joerg Roedel34-568/+1822
2021-08-20iommu/io-pgtable: Abstract iommu_iotlb_gather accessRobin Murphy2-2/+2
2021-08-20iommu/arm-smmu: Fix missing unlock on error in arm_smmu_device_group()Yang Yingliang1-1/+3
2021-08-19iommu/vt-d: Add present bit check in pasid entry setup helpersLiu Yi L1-0/+16
2021-08-19iommu/vt-d: Use pasid_pte_is_present() helper functionLiu Yi L1-1/+1
2021-08-19iommu/vt-d: Drop the kernel doc annotationAndy Shevchenko1-1/+1
2021-08-19iommu/vt-d: Allow devices to have more than 32 outstanding PRsLu Baolu2-5/+2
2021-08-19iommu/vt-d: Preset A/D bits for user space DMA usageLu Baolu1-7/+3
2021-08-19iommu/vt-d: Enable Intel IOMMU scalable mode by defaultLu Baolu2-1/+5
2021-08-19iommu/vt-d: Refactor Kconfig a bitLu Baolu2-19/+12
2021-08-19iommu/vt-d: Remove unnecessary oom messageZhen Lei2-7/+1
2021-08-19iommu/vt-d: Update the virtual command related registersLu Baolu1-5/+5
2021-08-18Merge tag 'qcom-drivers-for-5.15' of git://git.kernel.org/pub/scm/linux/kerne...Arnd Bergmann1-0/+2
2021-08-18iommu: Allow enabling non-strict mode dynamicallyRobin Murphy3-24/+51
2021-08-18iommu: Merge strictness and domain type configsRobin Murphy2-42/+42
2021-08-18iommu: Only log strictness for DMA domainsRobin Murphy1-4/+5
2021-08-18iommu: Expose DMA domain strictness via sysfsRobin Murphy1-0/+2
2021-08-18iommu: Express DMA strictness via the domain typeRobin Murphy2-13/+11
2021-08-18iommu/vt-d: Prepare for multiple DMA domain typesRobin Murphy1-9/+6
2021-08-18iommu/arm-smmu: Prepare for multiple DMA domain typesRobin Murphy2-1/+3
2021-08-18iommu/amd: Prepare for multiple DMA domain typesRobin Murphy1-7/+2
2021-08-18iommu: Introduce explicit type for non-strict DMA domainsRobin Murphy2-3/+7
2021-08-18iommu/io-pgtable: Remove non-strict quirkRobin Murphy4-26/+4
2021-08-18iommu: Indicate queued flushes via gather dataRobin Murphy2-0/+8
2021-08-18iommu/dma: Remove redundant "!dev" checksRobin Murphy1-4/+1
2021-08-18iommu/virtio: Drop IOVA cookie managementRobin Murphy1-8/+0