aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/amd/init.c
AgeCommit message (Expand)AuthorFilesLines
2025-09-26Merge branches 'apple/dart', 'ti/omap', 'riscv', 'intel/vt-d' and 'amd/amd-vi...Joerg Roedel1-91/+193
2025-09-13iommu/amd: Fix alias device DTE settingVasant Hegde1-3/+3
2025-09-05iommu/amd: Fix ivrs_base memleak in early_amd_iommu_init()Zhen Ni1-1/+2
2025-09-05iommu/amd: Skip enabling command/event buffers for kdumpAshish Kalra1-9/+19
2025-09-05iommu/amd: Reuse device table for kdumpAshish Kalra1-70/+34
2025-09-05iommu/amd: Add support to remap/unmap IOMMU buffers for kdumpAshish Kalra1-12/+140
2025-08-15iommu/amd: Avoid stack buffer overflow from kernel cmdlineKees Cook1-2/+2
2025-07-15iommu/amd: Refactor AMD IOMMU debugfs initial setupDheeraj Kumar Srivastava1-3/+2
2025-06-27iommu/amd: Add efr[HATS] max v1 page table levelAnkit Soni1-0/+16
2025-06-27iommu/amd: Add HATDis feature supportAnkit Soni1-2/+29
2025-06-04Merge tag 'pci-v6.16-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-3/+0
2025-05-23Merge branches 'fixes', 'apple/dart', 'arm/smmu/updates', 'arm/smmu/bindings'...Joerg Roedel1-51/+43
2025-05-15Revert "iommu/amd: Prevent binding other PCI drivers to IOMMU PCI devices"Lukas Wunner1-3/+0
2025-05-02iommu/amd: Add support for HTRangeIgnore featureSairaj Kodilkar1-0/+5
2025-04-17iommu/amd: Fix potential buffer overflow in parse_ivrs_acpihidPavel Paklov1-0/+8
2025-04-17iommu: Update various drivers to pass in lg2sz instead of order to iommu pagesJason Gunthorpe1-14/+15
2025-04-17iommu/amd: Use roundup_pow_two() instead of get_order()Jason Gunthorpe1-9/+3
2025-04-17iommu/amd: Change rlookup, irq_lookup, and alias to use kvalloc()Jason Gunthorpe1-14/+12
2025-04-17iommu/pages: Remove iommu_free_page()Jason Gunthorpe1-1/+1
2025-04-17iommu/pages: Remove the order argument to iommu_free_pages()Jason Gunthorpe1-17/+11
2025-03-13iommu/amd: Enable support for up to 2K interrupts per functionKishon Vijay Abraham I1-1/+15
2025-03-13iommu/amd: Rename DTE_INTTABLEN* and MAX_IRQS_PER_TABLE macroSairaj Kodilkar1-1/+1
2025-03-13iommu/amd: Replace slab cache allocator with page allocatorSairaj Kodilkar1-20/+1
2025-03-13iommu/amd: Introduce generic function to set multibit feature valueSairaj Kodilkar1-17/+10
2025-03-10iommu/amd: Remove unused forward declarationVasant Hegde1-1/+0
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/amd: Expicitly enable CNTRL.EPHEn bit in resume pathVasant Hegde1-0/+4
2025-01-24Merge tag 'iommu-updates-v6.14' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-116/+137
2025-01-17iommu/amd: Change amd_iommu_pgtable to use enum protection_domain_modeJason Gunthorpe1-7/+7
2025-01-15x86/apic: Convert to IRQCHIP_MOVE_DEFERREDThomas Gleixner1-1/+1
2025-01-06iommu/amd: remove return value of amd_iommu_detectGao Shiyuan1-6/+4
2024-12-18iommu/amd: Remove amd_iommu_apply_erratum_63()Suravee Suthikulpanit1-47/+3
2024-12-18iommu/amd: Modify set_dte_entry() to use 256-bit DTE helpersSuravee Suthikulpanit1-4/+26
2024-12-18iommu/amd: Introduce struct ivhd_dte_flags to store persistent DTE flagsSuravee Suthikulpanit1-29/+84
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 Suthikulpanit1-20/+15
2024-10-30iommu/amd: Remove unused amd_iommus variableVasant Hegde1-6/+0
2024-10-30iommu/amd: Use ida interface to manage protection domain IDVasant Hegde1-24/+7
2024-10-30Merge branch 'core' into amd/amd-viJoerg Roedel1-8/+10
2024-10-29iommu/amd: Implement global identity domainVasant Hegde1-0/+3
2024-10-29iommu/amd: Move V2 page table support check to early_amd_iommu_init()Vasant Hegde1-7/+7
2024-10-29iommu/amd: Add helper function to check GIOSUP/GTSUPVasant Hegde1-2/+1
2024-10-29iommu/amd: Do not try copy old DTE resume pathVasant Hegde1-6/+2
2024-09-10iommu/amd: Add kernel parameters to limit V1 page-sizesJoerg Roedel1-0/+8
2024-08-23iommu/amd: Update PASID, GATS, GLX, SNPAVICSUP feature related macrosSuravee Suthikulpanit1-5/+3
2024-06-27iommu/amd: Fix GT feature enablement againVasant Hegde1-0/+1
2024-06-13iommu/amd: Fix panic accessing amd_iommu_enable_faultingDimitri Sivanich1-1/+1
2024-06-04iommu/amd: Fix sysfs leak in iommu initKun(llfl)1-0/+9
2024-05-13Merge branches 'arm/renesas', 'arm/smmu', 'x86/amd', 'core' and 'x86/vt-d' in...Joerg Roedel1-108/+69
2024-05-06iommu/amd: Enable Guest Translation after reading IOMMU feature registerVasant Hegde1-2/+2
2024-04-26Merge branch 'memory-observability' into x86/amdJoerg Roedel1-46/+40
2024-04-26iommu/amd: Define per-IOMMU iopf_queueSuravee Suthikulpanit1-2/+16
2024-04-26iommu/amd: Move PPR-related functions into ppr.cSuravee Suthikulpanit1-56/+9
2024-04-26iommu/amd: Rename amd_iommu_v2_supported() as amd_iommu_pasid_supported()Vasant Hegde1-1/+1
2024-04-26iommu/vt-d: Allocate DMAR fault interrupts locallyDimitri Sivanich1-1/+1
2024-04-15iommu/amd: use page allocation function provided by iommu-pages.hPasha Tatashin1-49/+42
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-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 Torvalds1-6/+6
2024-02-16iommu/amd: Mark interrupt as managedMario Limonciello1-0/+3
2024-02-09iommu/amd: Enable Guest Translation before registering devicesVasant Hegde1-3/+3
2024-02-09iommu/amd: Remove EXPORT_SYMBOL for perf counter related functionsVasant Hegde1-3/+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 Kalra1-38/+31
2023-12-11iommu/amd: Rename iommu_flush_all_caches() -> amd_iommu_flush_all_caches()Vasant Hegde1-4/+4
2023-10-06iommu/amd: Remove unused EXPORT_SYMBOLSVasant Hegde1-1/+0
2023-09-25iommu/amd: Initialize iommu_device->max_pasidsVasant Hegde1-7/+2
2023-09-25iommu/amd: Modify logic for checking GT and PPR featuresSuravee Suthikulpanit1-8/+1
2023-09-25iommu/amd: Consolidate feature detection and reporting logicSuravee Suthikulpanit1-53/+36
2023-09-25iommu/amd: Do not set amd_iommu_pgtable in pass-through modeVasant Hegde1-3/+0
2023-09-25iommu/amd: Consolidate timeout pre-define to amd_iommu_type.hSuravee Suthikulpanit1-6/+4
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 Hegde1-12/+38
2023-07-14iommu/amd: Handle PPR log overflowVasant Hegde1-0/+11
2023-07-14iommu/amd: Generalize log overflow handlingVasant Hegde1-19/+32
2023-06-19Merge branches 'iommu/fixes', 'arm/smmu', 'ppc/pamu', 'virtio', 'x86/vt-d', '...Joerg Roedel1-1/+37
2023-06-09iommu/amd: Improving Interrupt Remapping Table InvalidationSuravee Suthikulpanit1-1/+1
2023-06-09iommu/amd: Introduce Disable IRTE Caching SupportSuravee Suthikulpanit1-0/+36
2023-05-22iommu/amd: Handle GALog overflowsJoao Martins1-0/+24
2023-04-14Merge branches 'iommu/fixes', 'arm/allwinner', 'arm/exynos', 'arm/mediatek', ...Joerg Roedel1-5/+25
2023-03-28iommu/amd: Add 5 level guest page table supportVasant Hegde1-2/+21
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-02-03iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameterGavrilov Ilia1-1/+15
2022-12-05iommu/amd: Fix typo in macro parameter nameMichael Forney1-1/+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-09-26Merge branches 'apple/dart', 'arm/mediatek', 'arm/omap', 'arm/smmu', 'virtio'...Joerg Roedel1-15/+32
2022-09-26iommu/amd: Fix sparse warningVasant Hegde1-2/+0
2022-09-07iommu/amd: Add command-line option to enable different page tableVasant Hegde1-5/+18
2022-09-07iommu/amd: Add support for Guest IO protectionSuravee Suthikulpanit1-0/+13
2022-09-07iommu/amd: Clean up bus_set_iommu()Robin Murphy1-8/+1
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 Suthikulpanit1-1/+10
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: Set translation valid bit only when IO page tables are in useSuravee Suthikulpanit1-1/+2
2022-07-15iommu/amd: Introduce function to check and enable SNPBrijesh Singh1-0/+42
2022-07-15iommu/amd: Globally detect SNP supportSuravee Suthikulpanit1-2/+5
2022-07-15iommu/amd: Process all IVHDs before enabling IOMMU featuresSuravee Suthikulpanit1-6/+19
2022-07-15iommu/amd: Introduce global variable for storing common EFR and EFR2Suravee Suthikulpanit1-8/+37
2022-07-15iommu/amd: Introduce Support for Extended Feature 2 RegisterSuravee Suthikulpanit1-8/+16
2022-07-07iommu/amd: Print PCI segment ID in error log messagesVasant Hegde1-5/+5
2022-07-07iommu/amd: Add PCI segment support for ivrs_[ioapic/hpet/acpihid] commandsSuravee Suthikulpanit1-17/+27
2022-07-07iommu/amd: Specify PCI segment ID when getting pci deviceSuravee Suthikulpanit1-2/+4
2022-07-07iommu/amd: Include PCI segment ID when initialize IOMMUSuravee Suthikulpanit1-27/+29
2022-07-07iommu/amd: Remove global amd_iommu_[dev_table/alias_table/last_bdf]Suravee Suthikulpanit1-74/+15
2022-07-07iommu/amd: Update set_dev_entry_bit() and get_dev_entry_bit()Suravee Suthikulpanit1-20/+39
2022-07-07iommu/amd: Update (un)init_device_table_dma()Suravee Suthikulpanit1-7/+20
2022-07-07iommu/amd: Convert to use per PCI segment rlookup_tableVasant Hegde1-21/+2
2022-07-07iommu/amd: Convert to use per PCI segment irq_lookup_tableVasant Hegde1-19/+0
2022-07-07iommu/amd: Introduce per PCI segment rlookup table sizeVasant Hegde1-5/+6
2022-07-07iommu/amd: Introduce per PCI segment alias table sizeVasant Hegde1-2/+3
2022-07-07iommu/amd: Introduce per PCI segment device table sizeVasant Hegde1-8/+10
2022-07-07iommu/amd: Introduce per PCI segment last_bdfVasant Hegde1-27/+42
2022-07-07iommu/amd: Introduce per PCI segment unity map listVasant Hegde1-10/+20
2022-07-07iommu/amd: Introduce per PCI segment alias_tableSuravee Suthikulpanit1-9/+32
2022-07-07iommu/amd: Introduce per PCI segment old_dev_tbl_cpySuravee Suthikulpanit1-45/+64
2022-07-07iommu/amd: Introduce per PCI segment dev_data_listVasant Hegde1-0/+1
2022-07-07iommu/amd: Introduce per PCI segment irq_lookup_tableVasant Hegde1-0/+27
2022-07-07iommu/amd: Introduce per PCI segment rlookup tableSuravee Suthikulpanit1-0/+23
2022-07-07iommu/amd: Introduce per PCI segment device tableSuravee Suthikulpanit1-2/+24
2022-07-07iommu/amd: Introduce pci segment structureVasant Hegde1-1/+45
2022-07-07iommu/amd: Handle return of iommu_device_sysfs_addBo Liu1-1/+4
2022-05-31Merge tag 'iommu-updates-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-3/+5
2022-05-20Merge branches 'apple/dart', 'arm/mediatek', 'arm/msm', 'arm/smmu', 'ppc/pamu...Joerg Roedel1-3/+5
2022-05-20iommu/amd: Increase timeout waiting for GA log enablementJoerg Roedel1-1/+1
2022-05-04iommu/amd: Remove redundant checkVasant Hegde via iommu1-2/+1
2022-04-28iommu/amd: Indicate whether DMA remap support is enabledMario Limonciello1-0/+3
2022-04-18x86: remove the IOMMU table infrastructureChristoph Hellwig1-6/+0
2022-03-08Merge branches 'arm/mediatek', 'arm/msm', 'arm/renesas', 'arm/rockchip', 'arm...Joerg Roedel1-4/+14
2022-03-08iommu/amd: Clean up function declarationsVasant Hegde1-1/+1
2022-03-08iommu/amd: Call memunmap in error pathVasant Hegde1-0/+2
2022-03-04iommu/amd: Improve error handling for amd_iommu_init_pciSuravee Suthikulpanit1-3/+11
2022-02-14iommu/amd: Recover from event log overflowLennert Buytenhek1-0/+10
2022-02-04iommu/amd: Fix loop timeout issue in iommu_ga_log_enable()Joerg Roedel1-0/+2
2021-12-20iommu/amd: Fix typo in *glues … together* in commentPaul Menzel1-1/+1
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-11-01Merge tag 'overflow-v5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-3/+6
2021-10-04x86/sme: Replace occurrences of sme_active() with cc_platform_has()Tom Lendacky1-3/+4
2021-09-25iommu/amd: Use struct_group() for memcpy() regionKees Cook1-3/+6
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-08-02iommu/amd: Remove stale amd_iommu_unmap_flush usageJoerg Roedel1-4/+2
2021-08-02Merge remote-tracking branch 'korg/core' into x86/amdJoerg Roedel1-3/+4
2021-08-02iommu/amd: Do not use flush-queue when NpCache is onNadav Amit1-1/+6
2021-07-26iommu: Remove mode argument from iommu_set_dma_strict()John Garry1-1/+1
2021-07-26iommu/amd: Add support for IOMMU default DMA mode build optionsZhen Lei1-2/+1
2021-07-26iommu: Deprecate Intel and AMD cmdline methods to enable strict modeJohn Garry1-1/+3
2021-06-25Merge branches 'iommu/fixes', 'arm/rockchip', 'arm/smmu', 'x86/vt-d', 'x86/am...Joerg Roedel1-9/+11
2021-06-08iommu/amd: Fix section mismatch warning for detect_ivrs()Joerg Roedel1-1/+1
2021-06-07iommu/amd: Tidy up DMA ops initRobin Murphy1-5/+0
2021-06-04iommu/amd: Add amd_iommu=force_enable optionJoerg Roedel1-1/+8
2021-06-04iommu/amd: Fix extended features loggingAlexander Monakov1-2/+2
2021-04-16iommu: Streamline registration interfaceRobin Murphy1-2/+1
2021-04-16Merge branches 'iommu/fixes', 'arm/mediatek', 'arm/smmu', 'arm/exynos', 'unis...Joerg Roedel1-53/+3
2021-04-15iommu/amd: Put newline after closing bracket in warningPaul Menzel1-1/+1
2021-04-15iommu/amd: Remove performance counter pre-initialization testSuravee Suthikulpanit1-23/+1
2021-04-15Revert "iommu/amd: Fix performance counter initialization"Paul Menzel1-34/+11
2021-04-07iommu/amd: Remove a few unused exportsChristoph Hellwig1-5/+0
2021-03-18iommu/amd: Keep track of amd_iommu_irq_remap stateJoerg Roedel1-1/+4
2021-03-18iommu/amd: Don't call early_amd_iommu_init() when AMD IOMMU is disabledJoerg Roedel1-4/+4
2021-03-18iommu/amd: Move Stoney Ridge check to detect_ivrs()Joerg Roedel1-11/+12
2021-02-12Merge branches 'arm/renesas', 'arm/smmu', 'x86/amd', 'x86/vt-d' and 'core' in...Joerg Roedel1-15/+39
2021-02-12iommu/amd: Fix performance counter initializationSuravee Suthikulpanit1-11/+34
2021-01-28iommu/amd: Adopt IO page table framework for AMD IOMMU v1 page tableSuravee Suthikulpanit1-0/+2
2021-01-28iommu/amd: Use IVHD EFR for early initialization of IOMMU featuresSuravee Suthikulpanit1-2/+54
2021-01-27iommu/amd: remove h from printk format specifierTom Rix1-1/+1
2021-01-27iommu/amd: Remove unnecessary assignmentAdrian Huang1-3/+2
2021-01-05iommu/amd: Set iommu->int_enabled consistently when interrupts are set upDavid Woodhouse1-2/+1
2020-12-16Merge tag 'iommu-updates-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-3/+3
2020-12-14Merge tag 'x86-apic-2020-12-14' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-71/+154
2020-12-11iommu/amd: Add sanity check for interrupt remapping table length macrosSuravee Suthikulpanit1-3/+3
2020-11-23iommu/amd: Enforce 4k mapping for certain IOMMU data structuresSuravee Suthikulpanit1-5/+22
2020-11-18iommu/amd: Fix IOMMU interrupt generation in X2APIC modeDavid Woodhouse1-59/+132
2020-11-11iommu/amd: Don't register interrupt remapping irqdomain when IR is disabledDavid Woodhouse1-3/+5
2020-11-11iommu/amd: Fix union of bitfields in intcapxt supportDavid Woodhouse1-7/+9
2020-10-28iommu/amd: Use msi_msg shadow structsThomas Gleixner1-20/+26
2020-10-07Merge branches 'arm/allwinner', 'arm/mediatek', 'arm/renesas', 'arm/tegra', '...Joerg Roedel1-2/+46
2020-10-01iommu/amd: Fix the overwritten field in IVMD headerAdrian Huang1-46/+10
2020-09-24iommu/amd: Re-purpose Exclusion range registers to support SNP CWWBSuravee Suthikulpanit1-0/+26
2020-09-24iommu/amd: Use 4K page for completion wait write-back semaphoreSuravee Suthikulpanit1-0/+18
2020-09-04iommu/amd: Use cmpxchg_double() when updating 128-bit IRTESuravee Suthikulpanit1-2/+19
2020-09-04iommu/amd: Fix kerneldoc commentsKrzysztof Kozlowski1-2/+2
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-07-22iommu/amd: Remove double zero checkLibing Zhou1-9/+2
2020-06-30iommu/amd: Print extended features in one line to fix divergent log levelsPaul Menzel1-1/+1
2020-06-10iommu/amd: Move AMD IOMMU driver into subdirectoryJoerg Roedel1-0/+3174