aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/amd
AgeCommit message (Expand)AuthorFilesLines
6 daysMerge branches 'arm/renesas', 'arm/smmu', 'x86/amd', 'core' and 'x86/vt-d' in...Joerg Roedel10-256/+838
14 daysiommu/amd: Enable Guest Translation after reading IOMMU feature registerVasant Hegde1-2/+2
2024-05-03iommu/amd: Fix compilation errorAndy Shevchenko1-0/+1
2024-04-26Merge branch 'memory-observability' into x86/amdJoerg Roedel6-77/+63
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/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 Murphy1-8/+0
2024-04-26iommu/vt-d: Allocate DMAR fault interrupts locallyDimitri Sivanich2-2/+2
2024-04-15iommu/amd: use page allocation function provided by iommu-pages.hPasha Tatashin5-79/+62
2024-04-12iommu/amd: Change log message severityVasant Hegde1-2/+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-13Merge tag 'iommu-updates-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds5-405/+337
2024-03-08iommu/amd: Fix sleeping in atomic contextVasant Hegde1-1/+1
2024-02-16iommu/amd: Mark interrupt as managedMario Limonciello1-0/+3
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/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/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-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 'iommu-updates-v6.8' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds6-120/+106
2024-01-03Merge branches 'apple/dart', 'arm/rockchip', 'arm/smmu', 'virtio', 'x86/vt-d'...Joerg Roedel6-120/+106
2023-12-12iommu: Mark dev_iommu_priv_set() with a lockdepJason Gunthorpe1-2/+0
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-11-27iommu/amd: Set variable amd_dirty_ops to staticKunwu Chan1-2/+2
2023-11-21x86/apic: Drop apic::delivery_modeAndrew Cooper1-2/+2
2023-11-09Merge tag 'iommu-updates-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds8-1463/+332
2023-10-27Merge branches 'iommu/fixes', 'arm/tegra', 'arm/smmu', 'virtio', 'x86/vt-d', ...Joerg Roedel8-1463/+332
2023-10-26iommu: Pass in parent domain with user_data to domain_alloc_user opYi Liu1-3/+6
2023-10-24iommu/amd: Access/Dirty bit support in IOPTEsJoao Martins4-1/+182
2023-10-24iommu/amd: Add domain_alloc_user based domain allocationJoao Martins1-3/+41
2023-10-16iommu/amd: Remove DMA_FQ type from domain allocation pathVasant Hegde1-1/+0
2023-10-06iommu/amd: Remove unused EXPORT_SYMBOLSVasant Hegde2-7/+0
2023-10-06iommu/amd: Remove amd_iommu_device_info()Vasant Hegde2-42/+8
2023-10-06iommu/amd: Remove PPR supportVasant Hegde3-59/+1
2023-10-06iommu/amd: Remove iommu_v2 moduleVasant Hegde5-1051/+0
2023-10-02iommu: Allow .iotlb_sync_map to fail and handle s390's -ENOMEM returnNiklas Schnelle1-2/+3
2023-09-25iommu/amd: Initialize iommu_device->max_pasidsVasant Hegde2-10/+2
2023-09-25iommu/amd: Enable device ATS/PASID/PRI capabilities independentlyVasant Hegde3-89/+120
2023-09-25iommu/amd: Introduce iommu_dev_data.flags to track device capabilitiesVasant Hegde2-19/+30
2023-09-25iommu/amd: Introduce iommu_dev_data.pprSuravee Suthikulpanit2-6/+5
2023-09-25iommu/amd: Rename ats related variablesVasant Hegde2-19/+17
2023-09-25iommu/amd: Modify logic for checking GT and PPR featuresSuravee Suthikulpanit4-14/+8
2023-09-25iommu/amd: Consolidate feature detection and reporting logicSuravee Suthikulpanit4-60/+54
2023-09-25iommu/amd: Miscellaneous clean up when free domainSuravee Suthikulpanit2-26/+26
2023-09-25iommu/amd: Do not set amd_iommu_pgtable in pass-through modeVasant Hegde1-3/+0
2023-09-25iommu/amd: Introduce helper functions for managing GCR3 tableSuravee Suthikulpanit1-27/+38
2023-09-25iommu/amd: Refactor protection domain allocation codeVasant Hegde1-23/+22
2023-09-25iommu/amd: Consolidate logic to allocate protection domainSuravee Suthikulpanit1-12/+7
2023-09-25iommu/amd: Consolidate timeout pre-define to amd_iommu_type.hSuravee Suthikulpanit3-8/+8
2023-09-25iommu/amd: Remove unused amd_io_pgtable.pt_root variableSuravee Suthikulpanit2-2/+0
2023-09-01Merge tag 'iommu-updates-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds5-83/+170
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-18mmu_notifiers: rename invalidate_range notifierAlistair Popple1-5/+5
2023-08-17iommu/amd: Remove unused declarationsYue Haibing1-3/+0
2023-08-08iommu/amd: Rearrange DTE bit definationsVasant Hegde1-4/+4
2023-08-06x86/vector: Rename send_cleanup_vector() to vector_schedule_cleanup()Thomas Gleixner1-1/+1
2023-07-14iommu/amd: Enable PPR/GA interrupt after interrupt handler setupVasant Hegde1-4/+7
2023-07-14iommu/amd: Consolidate PPR log enablementVasant Hegde1-3/+3
2023-07-14iommu/amd: Disable PPR log/interrupt in iommu_disable()Vasant Hegde1-0/+4
2023-07-14iommu/amd: Enable separate interrupt for PPR and GA logVasant Hegde2-12/+47
2023-07-14iommu/amd: Refactor IOMMU interrupt handling logic for Event, PPR, and GA logsVasant Hegde2-43/+53
2023-07-14iommu/amd: Handle PPR log overflowVasant Hegde4-1/+22
2023-07-14iommu/amd: Generalize log overflow handlingVasant Hegde3-22/+36
2023-07-14iommu/amd/iommu_v2: Clear pasid state in free pathVasant Hegde1-0/+3
2023-07-14iommu/amd/iommu_v2: Fix pasid_state refcount dec hit 0 warning on pasid unbindDaniel Marcovitch1-2/+2
2023-06-29Merge tag 'iommu-updates-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds6-137/+184
2023-06-28Merge branch 'expand-stack'Linus Torvalds1-2/+2
2023-06-27Merge tag 'locking-core-2023-06-27' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds2-8/+11
2023-06-27mm: always expand the stack with the mmap write lock heldLinus Torvalds1-2/+2
2023-06-19Merge branches 'iommu/fixes', 'arm/smmu', 'ppc/pamu', 'virtio', 'x86/vt-d', '...Joerg Roedel6-141/+188
2023-06-16iommu/amd: Fix possible memory leak of 'domain'Su Hui1-4/+4
2023-06-16iommu/amd: Remove extern from function prototypesVasant Hegde2-48/+46
2023-06-16iommu/amd: Use BIT/BIT_ULL macro to define bit fieldsVasant Hegde1-38/+38
2023-06-16iommu/amd: Fix DTE_IRQ_PHYS_ADDR_MASK macroVasant Hegde1-1/+1
2023-06-09iommu/amd: Fix compile error for unused functionJoerg Roedel1-26/+26
2023-06-09iommu/amd: Improving Interrupt Remapping Table InvalidationSuravee Suthikulpanit3-7/+24
2023-06-09iommu/amd: Do not Invalidate IRT when IRTE caching is disabledSuravee Suthikulpanit1-6/+15
2023-06-09iommu/amd: Introduce Disable IRTE Caching SupportSuravee Suthikulpanit2-0/+40
2023-06-09iommu/amd: Remove the unused struct amd_ir_data.refSuravee Suthikulpanit2-11/+7
2023-06-09iommu/amd: Switch amd_iommu_update_ga() to use modify_irte_ga()Joao Martins1-28/+10
2023-06-05x86,amd_iommu: Replace cmpxchg_double()Peter Zijlstra2-8/+11
2023-05-23iommu/amd/pgtbl_v2: Fix domain max addressVasant Hegde1-1/+10
2023-05-22iommu: Add a capability for flush queue supportRobin Murphy1-0/+2
2023-05-22iommu/amd: Fix domain flush size when syncing iotlbJon Pan-Doh1-1/+1
2023-05-22iommu/amd: Add missing domain type checksJason Gunthorpe1-1/+5
2023-05-22iommu/amd: Fix up merge conflict resolutionJerry Snitselaar1-3/+0
2023-05-22iommu/amd: Update copyright noticeCarlos Bilbao1-1/+1
2023-05-22iommu/amd: Use page mode macros in fetch_pte()Jerry Snitselaar1-2/+2
2023-05-22iommu/amd: Handle GALog overflowsJoao Martins3-1/+33
2023-05-22iommu/amd: Don't block updates to GATag if guest mode is onJoao Martins1-2/+1
2023-04-14Merge branches 'iommu/fixes', 'arm/allwinner', 'arm/exynos', 'arm/mediatek', ...Joerg Roedel6-20/+67
2023-04-13iommu/amd: Fix "Guest Virtual APIC Table Root Pointer" configuration in IRTEKishon Vijay Abraham I1-2/+2
2023-04-13iommu/amd: Set page size bitmap during V2 domain allocationJerry Snitselaar1-4/+2
2023-03-28iommu/amd: Add 5 level guest page table supportVasant Hegde5-5/+40
2023-03-22iommu: Use sysfs_emit() for sysfs showLu Baolu1-2/+2
2023-03-22iommu/amd: Allocate IOMMU irqs using numa locality infoVasant Hegde1-1/+2
2023-03-22iommu/amd: Allocate page table using numa locality infoVasant Hegde5-12/+23
2023-02-24Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-3/+2
2023-02-18Merge branches 'apple/dart', 'arm/exynos', 'arm/renesas', 'arm/smmu', 'x86/vt...Joerg Roedel2-40/+65
2023-02-18iommu/amd: Skip attach device domain is same as new domainVasant Hegde1-0/+7
2023-02-16iommu/amd: Improve page fault error reportingVasant Hegde1-0/+9
2023-02-16iommu/amd: Do not identity map v2 capable device when snp is enabledVasant Hegde1-4/+9
2023-02-03iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameterGavrilov Ilia1-1/+15
2023-01-20iommu/amd: Do not clear event/ppr log buffer when snp is enabledTom Lendacky1-4/+14
2023-01-13iommu/amd: Fix error handling for pdev_pri_ats_enable()Vasant Hegde1-5/+7
2023-01-13iommu/amd: Do not allocate io_pgtable_ops for passthrough domainVasant Hegde1-0/+4
2023-01-13iommu: Remove detach_dev callbacksLu Baolu1-26/+0
2023-01-11iommu/x86: Replace IOMMU_CAP_INTR_REMAP with IRQ_DOMAIN_FLAG_ISOLATED_MSIJason Gunthorpe1-3/+2
2022-12-19Merge tag 'iommu-updates-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds3-29/+67
2022-12-14Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-10/+4
2022-12-12Merge branches 'arm/allwinner', 'arm/exynos', 'arm/mediatek', 'arm/rockchip',...Joerg Roedel3-39/+69
2022-12-05iommu/amd: Enable PCI/IMSThomas Gleixner1-2/+15
2022-12-05iommu/amd: Switch to MSI base domainsThomas Gleixner2-7/+13
2022-12-05x86/apic/vector: Provide MSI parent domainThomas Gleixner1-1/+1
2022-12-05iommu/amd: Fix typo in macro parameter nameMichael Forney1-1/+1
2022-11-29iommu: Add IOMMU_CAP_ENFORCE_CACHE_COHERENCYJason Gunthorpe1-0/+2
2022-11-19iommu/amd: Check return value of mmu_notifier_register()Denis Arefev1-1/+3
2022-11-19iommu/amd: Fix pci device refcount leak in ppr_notifier()Yang Yingliang1-0/+1
2022-11-19iommu/amd: Fix ill-formed ivrs_ioapic, ivrs_hpet and ivrs_acpihid optionsKim Phillips1-25/+54
2022-11-19iommu/amd: Fix ivrs_acpihid cmdline parsing codeKim Phillips1-0/+7
2022-11-17x86/apic: Remove X86_IRQ_ALLOC_CONTIGUOUS_VECTORSThomas Gleixner1-7/+0
2022-11-17iommu/amd: Remove bogus check for multi MSI-XThomas Gleixner1-2/+1
2022-11-03iommu/amd: Remove variable cnt ind iommu_poll_ga_log()Colin Ian King1-2/+1
2022-11-01iommu/amd: Drop unnecessary checks in amd_iommu_attach_device()Nicolin Chen1-10/+2
2022-10-21iommu: Add gfp parameter to iommu_alloc_resv_regionLu Baolu1-3/+4
2022-09-26Merge branches 'apple/dart', 'arm/mediatek', 'arm/omap', 'arm/smmu', 'virtio'...Joerg Roedel9-120/+601
2022-09-26iommu/amd: Fix sparse warningVasant Hegde2-2/+2
2022-09-26iommu/amd: Remove outdated commentVasant Hegde1-4/+0
2022-09-26iommu/amd: Free domain ID after domain_flush_pagesVasant Hegde1-3/+3
2022-09-26iommu/amd: Free domain id in error pathVasant Hegde1-2/+6
2022-09-11iommu: Fix false ownership failure on AMD systems with PASID activatedJason Gunthorpe1-0/+2
2022-09-09Merge branch 'iommu/fixes' into coreJoerg Roedel1-1/+2
2022-09-09iommu/dma: Make header privateRobin Murphy1-1/+1
2022-09-07iommu/amd: Add command-line option to enable different page tableVasant Hegde1-5/+18
2022-09-07iommu/amd: Add support for using AMD IOMMU v2 page table for DMA-APISuravee Suthikulpanit1-0/+25
2022-09-07iommu/amd: Add support for Guest IO protectionSuravee Suthikulpanit3-0/+19
2022-09-07iommu/amd: Initial support for AMD IOMMU v2 page tableVasant Hegde3-2/+420
2022-09-07iommu/amd: Update sanity check when enable PRI/ATS for IOMMU v1 tableSuravee Suthikulpanit1-3/+11
2022-09-07iommu/amd: Refactor amd_iommu_domain_enable_v2 to remove lockingSuravee Suthikulpanit1-19/+27
2022-09-07iommu/amd: Add map/unmap_pages() iommu_domain_ops callback supportVasant Hegde1-13/+16
2022-09-07iommu/amd/io-pgtable: Implement unmap_pages io_pgtable_ops callbackVasant Hegde1-8/+9
2022-09-07iommu/amd/io-pgtable: Implement map_pages io_pgtable_ops callbackVasant Hegde1-25/+34
2022-09-07iommu/dma: Clean up KconfigRobin Murphy1-1/+0
2022-09-07iommu/amd: Clean up bus_set_iommu()Robin Murphy3-30/+1
2022-09-07iommu/amd: Handle race between registration and device probeRobin Murphy1-0/+4
2022-09-07iommu: Retire iommu_capable()Robin Murphy1-1/+1
2022-09-07iommu/amd: use full 64-bit value in build_completion_wait()John Sperbeck1-1/+2
2022-07-29Merge branches 'arm/exynos', 'arm/mediatek', 'arm/msm', 'arm/smmu', 'virtio',...Joerg Roedel7-675/+1133
2022-07-29iommu/amd: Fix compile warning in init codeJoerg Roedel1-6/+3
2022-07-29iommu/amd: Add support for AVIC when SNP is enabledSuravee Suthikulpanit2-1/+17
2022-07-29iommu/amd: Simplify and Consolidate Virtual APIC (AVIC) EnablementSuravee Suthikulpanit1-30/+55
2022-07-15iommu/amd: Do not support IOMMUv2 APIs when SNP is enabledSuravee Suthikulpanit1-1/+6
2022-07-15iommu/amd: Do not support IOMMU_DOMAIN_IDENTITY after SNP is enabledSuravee Suthikulpanit1-0/+7
2022-07-15iommu/amd: Set translation valid bit only when IO page tables are in useSuravee Suthikulpanit2-3/+16
2022-07-15iommu/amd: Introduce function to check and enable SNPBrijesh Singh2-0/+44