aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/virt
AgeCommit message (Expand)AuthorFilesLines
12 daysMerge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-24/+40
2026-06-16Merge tag 'x86_tdx_for_7.2-rc1' of gitolite.kernel.org:pub/scm/linux/kernel/g...Linus Torvalds6-77/+647
2026-06-16Merge tag 'x86_sev_for_v7.2_rc1' of gitolite.kernel.org:pub/scm/linux/kernel/...Linus Torvalds1-2/+16
2026-06-12Merge tag 'kvm-x86-mmu-7.2' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-24/+40
2026-06-03x86/virt/tdx: Refresh TDX module version after updateChao Gao2-2/+9
2026-06-03x86/virt/seamldr: Add module update lockingDave Hansen1-0/+16
2026-06-03x86/virt/tdx: Restore TDX module stateChao Gao3-0/+20
2026-06-03x86/virt/seamldr: Initialize the newly-installed TDX moduleChao Gao2-1/+5
2026-06-03x86/virt/seamldr: Install a new TDX moduleChao Gao1-0/+14
2026-06-03x86/virt/tdx: Reset software states during TDX module shutdownChao Gao1-1/+16
2026-06-03x86/virt/seamldr: Shut down the current TDX moduleChao Gao4-2/+54
2026-06-03x86/virt/seamldr: Abort updates after a failed stepChao Gao1-4/+8
2026-06-03x86/virt/seamldr: Introduce skeleton for TDX module updatesChao Gao1-1/+88
2026-06-03x86/virt/seamldr: Allocate and populate a module update requestChao Gao1-1/+156
2026-06-03coco/tdx-host: Implement firmware upload sysfs ABI for TDX module updatesChao Gao1-0/+14
2026-06-03coco/tdx-host: Don't expose P-SEAMLDR information on CPUs with erratumChao Gao2-0/+24
2026-06-03x86/virt/seamldr: Add a helper to retrieve P-SEAMLDR informationChao Gao1-1/+19
2026-06-03x86/virt/seamldr: Introduce a wrapper for P-SEAMLDR SEAMCALLsChao Gao2-1/+26
2026-06-03coco/tdx-host: Expose TDX module versionChao Gao1-1/+1
2026-06-03coco/tdx-host: Introduce a "tdx_host" deviceChao Gao1-1/+1
2026-06-03x86/virt/tdx: Move low level SEAMCALL helpers out of <asm/tdx.h>Kai Huang2-45/+111
2026-06-03x86/virt/tdx: Move TDX_FEATURES0 bits to asm/tdx.hChao Gao1-3/+0
2026-06-03x86/virt/tdx: Consolidate TDX global initialization statesChao Gao1-9/+13
2026-06-03x86/virt/tdx: Move TDX global initialization states to file scopeChao Gao1-3/+4
2026-06-03x86/virt/tdx: Clarify try_init_module_global() result cachingChao Gao1-4/+10
2026-05-26x86/virt/tdx: Move mk_keyed_paddr() to tdx.c due to no external usersYan Zhao1-0/+6
2026-05-26x86/tdx: Drop exported function tdx_quirk_reset_page()Yan Zhao1-6/+0
2026-05-26x86/tdx: Use PFN directly for unmapping guest private memorySean Christopherson1-4/+5
2026-05-26x86/tdx: Use PFN directly for mapping guest private memorySean Christopherson1-7/+12
2026-05-13x86/tdx: Use pg_level in TDX APIs, not the TDX-Module's 0-based levelSean Christopherson1-8/+18
2026-05-13x86/virt: Silence RCU lockdep splat in emergency virt callback pathMikhail Gavrilov1-1/+14
2026-05-08x86/sev: Do not initialize SNP if missing CPUsTycho Andersen (AMD)1-2/+16
2026-04-27x86/tdx: Disable the TDX module during kexec and kdumpVishal Verma1-0/+1
2026-04-27x86/virt/tdx: Add SEAMCALL wrapper for TDH.SYS.DISABLEVishal Verma2-0/+32
2026-04-27x86/virt/tdx: Pull kexec cache flush logic into arch/x86Rick Edgecombe1-19/+27
2026-04-17Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds5-148/+554
2026-04-14Merge tag 'x86_sev_for_v7.1_rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-74/+89
2026-04-09x86/virt: Treat SVM as unsupported when running as an SEV+ guestSean Christopherson1-1/+2
2026-03-29x86/sev, crypto/ccp: Move HSAVE_PA setup to arch/x86/Tycho Andersen (AMD)1-0/+8
2026-03-29x86/sev, crypto/ccp: Move SNP init to ccp driverTycho Andersen (AMD)1-2/+0
2026-03-29x86/sev: Create snp_shutdown()Tycho Andersen (AMD)1-3/+19
2026-03-28x86/sev: Create snp_prepare()Tycho Andersen (AMD)1-19/+30
2026-03-28x86/sev: Create a function to clear/zero the RMPTom Lendacky1-14/+27
2026-03-09x86/virt/sev: Keep the RMP table bookkeeping area mappedTom Lendacky1-23/+17
2026-03-09x86/virt/sev: Drop WBINVD before setting MSR_AMD64_SYSCFG_SNP_ENTycho Andersen (AMD)1-3/+0
2026-03-09x86/virt/sev: Drop support for SNP hotplugTycho Andersen (AMD)1-27/+5
2026-03-04x86/virt/tdx: Use ida_is_empty() to detect if any TDs may be runningSean Christopherson1-13/+4
2026-03-04x86/virt/tdx: KVM: Consolidate TDX CPU hotplug handlingChao Gao1-3/+46
2026-03-04x86/virt/tdx: Tag a pile of functions as __init, and globals as __ro_after_initSean Christopherson2-63/+66
2026-03-04KVM: x86/tdx: Do VMXON and TDX-Module initialization during subsys initSean Christopherson2-78/+92
2026-03-04x86/virt/tdx: Drop the outdated requirement that TDX be enabled in IRQ contextSean Christopherson1-8/+1
2026-03-04x86/virt: Add refcounting of VMX/SVM usage to support multiple in-kernel usersSean Christopherson1-17/+47
2026-03-04KVM: x86: Move bulk of emergency virtualizaton logic to virt subsystemSean Christopherson1-8/+115
2026-03-04KVM: SVM: Move core EFER.SVME enablement to kernelSean Christopherson1-0/+53
2026-03-04KVM: VMX: Move core VMXON enablement to kernelSean Christopherson1-2/+83
2026-03-04x86/virt: Force-clear X86_FEATURE_VMX if configuring root VMCS failsSean Christopherson1-2/+12
2026-03-04KVM: VMX: Unconditionally allocate root VMCSes during boot CPU bringupSean Christopherson1-0/+71
2026-03-04KVM: x86: Move "kvm_rebooting" to kernel as "virt_rebooting"Sean Christopherson2-0/+9
2026-02-25x86/virt/tdx: Print TDX module version during initVishal Verma1-0/+6
2026-02-25x86/virt/tdx: Retrieve TDX module versionChao Gao1-0/+16
2026-02-21Convert 'alloc_obj' family to use the new default GFP_KERNEL argumentLinus Torvalds2-2/+2
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook2-2/+2
2025-11-12x86: Restrict KVM-induced symbol exports to KVM modules where obvious/possibleSean Christopherson1-34/+35
2025-10-04Merge tag 'x86_tdx_for_6.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-32/+48
2025-09-17x86/sev: Add new dump_rmp parameter to snp_leak_pages() APIAshish Kalra1-3/+4
2025-09-11x86/virt/tdx: Use precalculated TDVPR page physical addressKai Huang1-13/+8
2025-09-05KVM/TDX: Explicitly do WBINVD when no more TDX SEAMCALLsKai Huang1-0/+19
2025-09-05x86/virt/tdx: Mark memory cache state incoherent when making SEAMCALLKai Huang1-2/+2
2025-08-22x86/tdx: Skip clearing reclaimed pages unless X86_BUG_TDX_PW_MCE is presentAdrian Hunter1-3/+7
2025-08-22x86/tdx: Tidy reset_pamt functionsAdrian Hunter1-12/+4
2025-08-22x86/tdx: Eliminate duplicate code in tdx_clear_page()Adrian Hunter1-2/+8
2025-06-10x86/virt/tdx: Avoid indirect calls to TDX assembly functionsKai Huang1-2/+3
2025-05-29Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds5-38/+511
2025-05-26x86/tdx: mark tdh_vp_enter() as __flattenPaolo Bonzini1-1/+1
2025-05-15x86/cpuid: Set <asm/cpuid/api.h> as the main CPUID headerAhmed S. Darwish1-1/+1
2025-05-02x86/msr: Add explicit includes of <asm/msr.h>Xin Li (Intel)1-0/+1
2025-04-10x86/msr: Rename 'wrmsrl()' to 'wrmsrq()'Ingo Molnar1-2/+2
2025-04-10x86/msr: Rename 'rdmsrl()' to 'rdmsrq()'Ingo Molnar1-8/+8
2025-04-07Merge branch 'kvm-tdx-initial' into HEADPaolo Bonzini5-38/+511
2025-03-14x86/virt/tdx: Add SEAMCALL wrapper to enter/exit TDX guestKai Huang3-0/+12
2025-03-14x86/virt/tdx: Add SEAMCALL wrappers for TD measurement of initial contentsIsaku Yamahata2-0/+29
2025-03-14x86/virt/tdx: Add SEAMCALL wrappers to remove a TD private pageIsaku Yamahata2-0/+28
2025-03-14x86/virt/tdx: Add SEAMCALL wrappers to manage TDX TLB trackingIsaku Yamahata2-0/+29
2025-03-14x86/virt/tdx: Add SEAMCALL wrappers to add TD private pagesIsaku Yamahata2-0/+41
2025-03-14x86/virt/tdx: Add SEAMCALL wrapper tdh_mem_sept_add() to add SEPT pagesIsaku Yamahata2-0/+20
2025-03-14KVM: TDX: Register TDX host key IDs to cgroup misc controllerZhiming Hu1-0/+6
2025-03-14KVM: VMX: Initialize TDX during KVM module loadKai Huang3-45/+14
2025-03-14x86/virt/tdx: Add tdx_guest_keyid_alloc/free() to alloc and free TDX guest KeyIDIsaku Yamahata1-0/+17
2025-03-14x86/virt/tdx: Read essential global metadata for KVMKai Huang2-0/+69
2025-03-14x86/virt/tdx: allocate tdx_sys_info in static memoryPaolo Bonzini1-5/+6
2025-03-14x86/virt/tdx: Add SEAMCALL wrappers for TDX flush operationsRick Edgecombe2-0/+22
2025-03-14x86/virt/tdx: Add SEAMCALL wrappers for TDX VM/vCPU field accessRick Edgecombe2-0/+50
2025-03-14x86/virt/tdx: Add SEAMCALL wrappers for TDX page cache managementRick Edgecombe2-0/+45
2025-03-14x86/virt/tdx: Add SEAMCALL wrappers for TDX vCPU creationRick Edgecombe2-0/+54
2025-03-14x86/virt/tdx: Add SEAMCALL wrappers for TDX TD creationRick Edgecombe2-0/+54
2025-03-14x86/virt/tdx: Add SEAMCALL wrappers for TDX KeyID managementRick Edgecombe2-7/+34
2025-02-22x86/kexec: Export e820_table_kexec[] to sysfsDave Young1-1/+0
2025-02-14x86/sev: Fix broken SNP support with KVM module built-inAshish Kalra1-16/+7
2025-01-24Merge tag 'x86_tdx_for_6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds4-100/+108
2024-12-18x86/virt/tdx: Require the module to assert it has the NO_RBP_MOD mitigationKai Huang2-0/+21
2024-12-18x86/virt/tdx: Switch to use auto-generated global metadata reading codeKai Huang2-104/+2
2024-12-18x86/virt/tdx: Use dedicated struct members for PAMT entry sizesKai Huang2-6/+12
2024-12-18x86/virt/tdx: Use auto-generated code to read global metadataPaolo Bonzini2-0/+73
2024-12-18x86/virt/tdx: Start to track all global metadata in one structureKai Huang2-14/+24
2024-12-18x86/virt/tdx: Rename 'struct tdx_tdmr_sysinfo' to reflect the spec betterKai Huang2-19/+19
2024-12-14x86/sev: Add full support for a segmented RMP tableTom Lendacky1-21/+239
2024-12-14x86/sev: Treat the contiguous RMP table as a single RMP segmentTom Lendacky1-19/+180
2024-12-14x86/sev: Map only the RMP table entries instead of the full RMP rangeTom Lendacky1-5/+31
2024-12-14x86/sev: Move the SNP probe routine out of the wayTom Lendacky1-30/+30
2024-12-14x86/sev: Add support for the RMPREAD instructionTom Lendacky1-0/+12
2024-12-13x86/sev: Prepare for using the RMPREAD instruction to access the RMPTom Lendacky1-38/+94
2024-11-19Merge tag 'x86_sev_for_v6.13' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds2-0/+46
2024-10-23x86/sev: Ensure that RMP table fixups are reservedAshish Kalra1-0/+2
2024-10-15x86/virt: Provide "nosnp" boot option for sev kernel command linePavan Kumar Paluri1-0/+12
2024-10-15x86/virt: Move SEV-specific parsing into arch/x86/virt/svmPavan Kumar Paluri2-0/+34
2024-07-16Merge tag 'x86_sev_for_v6.11_rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-22/+22
2024-07-11x86/sev: Do RMP memory coverage check after max_pfn has been setTom Lendacky1-22/+22
2024-05-28x86/virt/tdx: Switch to new Intel CPU model definesTony Luck1-4/+4
2024-05-13Merge tag 'x86-cleanups-2024-05-13' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+0
2024-04-29x86/sev: Add callback to apply RMP table fixups for kexecAshish Kalra1-0/+36
2024-04-04x86/CPU/AMD: Track SNP host status with cc_platform_*()Borislav Petkov (AMD)1-8/+18
2024-03-30x86/build: Use obj-y to descend into arch/x86/virt/Masahiro Yamada1-1/+1
2024-03-22x86/virt/tdx: Remove duplicate includeJiapeng Chong1-1/+0
2024-01-29crypto: ccp: Add panic notifier for SEV/SNP firmware shutdown on kdumpAshish Kalra1-0/+6
2024-01-29x86/sev: Introduce an SNP leaked pages listAshish Kalra1-0/+37
2024-01-29x86/sev: Adjust the directmap to avoid inadvertent RMP faultsMichael Roth1-2/+83
2024-01-29x86/sev: Add helper functions for RMPUPDATE and PSMASH instructionBrijesh Singh1-0/+92
2024-01-29x86/fault: Add helper for dumping RMP entriesBrijesh Singh1-10/+89
2024-01-29x86/sev: Add RMP entry lookup helpersBrijesh Singh1-0/+49
2024-01-29x86/sev: Add SEV-SNP host initialization supportBrijesh Singh2-0/+219
2023-12-12x86/mce: Differentiate real hardware #MCs from TDX erratum onesKai Huang2-0/+114
2023-12-12x86/cpu: Detect TDX partial write machine check erratumKai Huang1-0/+19
2023-12-08x86/virt/tdx: Handle TDX interaction with sleep and hibernationKai Huang1-0/+16
2023-12-08x86/virt/tdx: Initialize all TDMRsKai Huang2-9/+53
2023-12-08x86/virt/tdx: Configure global KeyID on all packagesKai Huang2-2/+132
2023-12-08x86/virt/tdx: Configure TDX module with the TDMRs and global KeyIDKai Huang2-1/+44
2023-12-08x86/virt/tdx: Designate reserved areas for all TDMRsKai Huang1-8/+209
2023-12-08x86/virt/tdx: Allocate and set up PAMTs for TDMRsKai Huang2-6/+212
2023-12-08x86/virt/tdx: Fill out TDMRs to cover all TDX memory regionsKai Huang2-1/+105
2023-12-08x86/virt/tdx: Add placeholder to construct TDMRs to cover all TDX memory regionsKai Huang2-3/+123
2023-12-08x86/virt/tdx: Get module global metadata for module initializationKai Huang2-1/+126
2023-12-08x86/virt/tdx: Use all system memory when initializing TDX module as TDX memoryKai Huang2-2/+171
2023-12-08x86/virt/tdx: Add skeleton to enable TDX on demandKai Huang2-0/+197
2023-12-08x86/virt/tdx: Add SEAMCALL error printing for module initializationKai Huang1-0/+44
2023-12-08x86/virt/tdx: Detect TDX during kernel bootKai Huang2-1/+82
2023-09-12x86/virt/tdx: Make TDX_MODULE_CALL handle SEAMCALL #UD and #GPKai Huang1-0/+19
2023-09-12x86/virt/tdx: Wire up basic SEAMCALL functionsKai Huang4-0/+67
2023-09-12x86/tdx: Reimplement __tdx_hypercall() using TDX_MODULE_CALL asmKai Huang1-4/+4
2023-09-11x86/tdx: Extend TDX_MODULE_CALL to support more TDCALL/SEAMCALL leafsKai Huang1-6/+117
2023-09-11x86/tdx: Pass TDCALL/SEAMCALL input/output registers via a structureKai Huang1-56/+39
2023-09-11x86/tdx: Skip saving output regs when SEAMCALL fails with VMFailInvalidKai Huang1-9/+20
2022-04-07x86/tdx: Provide common base for SEAMCALL and TDCALL C wrappersKirill A. Shutemov1-0/+96