-
Notifications
You must be signed in to change notification settings - Fork 20
Pkvm v6.18 pvvmcs part2 #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
cxdong
merged 133 commits into
intel-staging:pkvm-v6.18
from
cxdong:pkvm-v6.18-pvvmcs-part2
Jan 19, 2026
Merged
Changes from 1 commit
Commits
Show all changes
133 commits
Select commit
Hold shift + click to select a range
b292256
pKVM: x86: Share the mce banks info between host and pKVM in npVMs
Qiangcy 37dc101
pKVM: x86: Add two helpers to manage pkvm_vcpu instances
cxdong bfecc3b
pKVM: x86: Add IBPB symbols for loading vcpu
cxdong 78dee66
pKVM: VMX: Implement vcpu_load operation
cxdong 32781b5
pKVM: x86: Add vcpu_load PV interface
cxdong 3472fbd
pKVM: VMX: Implement vcpu_put operation
cxdong 7eef996
pKVM: x86: Add vcpu_put PV interface
cxdong 77f91ad
KVM: pVMX: Implement vcpu_load operation
cxdong 28f93a2
KVM: pVMX: Implement vcpu_put operation
cxdong b86f004
pKVM: x86: Extend pkvm_fixup_exception to support EX_TYPE_DEFAULT
cxdong c2b7607
KVM: VMX: Add helper vmcs_store()
cxdong 6784ecd
pKVM: VMX: Ensure the host VMCS is loaded when handling NMI
cxdong 22784b3
pKVM: x86: Redefine KVM print macros for the pKVM hypervisor
cxdong 3b0c312
pKVM: x86: Add helper to handle the PV interfaces for a loaded vCPU
cxdong 0d96fca
pKVM: x86: Audit PV interfaces for protected VMs
cxdong 127c23d
pKVM: VMX: Implement update_exception_bitmap operation
cxdong c836239
pKVM: x86: Add update_exception_bitmap PV interface
cxdong 1b0994e
KVM: pVMX: Implement update_exception_bitmap operation
cxdong b933b88
pKVM: VMX: Implement set_efer operation
cxdong bcbb17f
pKVM: x86: Add set_efer PV interface
cxdong ae2976c
KVM: pVMX: Implement set_efer operation
cxdong 8ade101
pKVM: x86: Import fpu_update_guest_xfd() from kernel x86 fpu
cxdong 0a12a0f
pKVM: x86: Setup feature MSRs stuff
cxdong f1c13ea
pKVM: x86: Import kvm_set_msr_common() from KVM
cxdong 0efdfd1
pKVM: x86: Import kvm_get_msr_common() from KVM
cxdong d7595b3
pKVM: x86: Add helper to check pKVM host emulated MSR
cxdong 121641f
KVM: pVMX: Implement has_emulated_msr operation
Qiangcy c9bf33e
pKVM: VMX: Implement set_msr operation
cxdong 417dd6e
pKVM: x86: Add set_msr PV interface
cxdong 22e6112
KVM: pVMX: Implement set_msr operation
cxdong 951f7f4
pKVM: VMX: Implement get_msr operation
cxdong d0d5717
pKVM: x86: Add get_msr PV interface
cxdong 44eacd2
KVM: pVMX: Implement get_msr operation
cxdong 53828fe
KVM: pVMX: Implement get_feature_msr operation
cxdong b46801b
pKVM: x86: Enforce initial values of most MSRs
dd793d3
pKVM: VMX: Implement cache_reg operation
cxdong 2928f69
pKVM: x86: Add cache_reg PV interface
cxdong d0a504c
KVM: pVMX: Implement cache_reg operation
cxdong cd751d7
pKVM: VMX: Implement set_cr4/is_valid_cr4 operations
cxdong cb04020
pKVM: x86: Add set_cr4 PV interface
cxdong e7ba61c
KVM: pVMX: Implement CR4 related operations
cxdong e2562b2
pKVM: VMX: Implement set_cr0/is_valid_cr0 operations
cxdong d07cfd1
pKVM: x86: Add set_cr0 PV interface
cxdong 1215cff
KVM: pVMX: Implement CR0 related operations
cxdong 70b04f1
pKVM: VMX: Implement rflags related operations
cxdong 869a2af
pKVM: x86: Add set/get_rflags PV interfaces
cxdong 8b0a2c3
KVM: pVMX: Implement rflags related operations
cxdong ea216e6
pKVM: VMX: Implement debug registers related operations
cxdong f21390c
pKVM: x86: Add set_dr7 PV interfaces
cxdong ec5722b
KVM: pVMX: Implement set_dr7 operation
cxdong ff71b91
pKVM: VMX: Import the vmenter.S
cxdong ab6baf6
pKVM: VMX: Implement vcpu_reset operation
cxdong 53d2ca8
pKVM: x86: Setup xstate cache
cxdong 0d1dfc9
pKVM: x86: Import fpstate_clear_xstate_component
cxdong d5a304d
pKVM: x86: Import fpu_swap_kvm_fpstate
cxdong 14a59fa
pKVM: x86: Import kvm_vcpu_reset
cxdong 4d5a499
pKVM: x86: Reset vCPU when creating it
e19a0d0
pKVM: x86: Add vcpu_reset PV interface
cxdong a7d453c
KVM: pVMX: Implement vcpu_reset operation
cxdong 897512a
KVM: pVMX: Handle CR4 access from host userspace
Qiangcy 8eab416
pKVM: VMX: Implement segment related ops
cxdong 90b8dd4
pKVM: x86: Define pkvm_hypercall_in macro
cxdong 33fea2e
pKVM: x86: Get hypercall inputs from the host
cxdong 6e7aeaf
pKVM: x86: Add segment PV interfaces
cxdong a45436b
KVM: pVMX: Implement segment related operations
cxdong f13643a
pKVM: VMX: Implement idt/gdt related operations
cxdong b5c7dc4
pKVM: x86: Add idt/gdt PV interfaces
cxdong 62e9247
KVM: pVMX: Implement idt/gdt related operations
cxdong 46fec25
pKVM: VMX: Implement TLB flushing related operations
cxdong 7d89e1e
pKVM: x86: Add TLB flushing PV interfaces
cxdong f651912
KVM: pVMX: Implement TLB flushing operations
cxdong b655aed
pKVM: VMX: Implement interrupt shadow operations
cxdong aec611f
pKVM: x86: Add interrupt shadow PV interfaces
cxdong 3fed737
KVM: pVMX: Implement interrupt shadow operations
cxdong 9b8b4ee
pKVM: VMX: Implement enable irq/nmi window operations
cxdong 1841c3c
pKVM: x86: Add enabling irq/nmi window PV interfaces
cxdong 9de9513
KVM: pVMX: Implement enabling irq/nmi window operations
cxdong 891c91d
pKVM: VMX: Implement irq/nmi mask related operations
cxdong e007472
pKVM: x86: Add irq/nmi mask PV interfaces
cxdong a8d31e6
KVM: pVMX: Implement irq/nmi mask related operations
cxdong be2d96c
pKVM: VMX: Implement event injection operations
cxdong 45b9a20
pKVM: x86: Add event injection PV interfaces
cxdong 83c2be2
KVM: pVMX: Implement event injection operations
cxdong a72f611
pKVM: VMX: Implement cancel injection operation
cxdong fb6d867
pKVM: x86 Add cancel injection PV interface
cxdong 4cc1ffe
KVM: pVMX: Implement cancel injection operation
cxdong 98b97cb
pKVM: VMX: Implement update_cr8_intercept operations
cxdong 56a8a53
pKVM: x86: Add update_cr8_intercept PV interface
cxdong 38832f1
KVM: pVMX: Implement update_cr8_intercept operation
cxdong d0031dd
KVM: pVMX: Implement x2apic_icr_is_split knob
cxdong 2af3393
pKVM: VMX: Implement set_virtual_apic_mode operation
cxdong ead4b58
pKVM: x86: Add set_virtual_apic_mode PV interface
cxdong fc8554a
KVM: pVMX: Implement set_virtual_apic_mode operation
cxdong 2be0ab7
pKVM: VMX: Implement refresh_apicv_exec_ctrl operation
cxdong 71ea859
pKVM: x86: Add refresh_apicv_exec_ctrl PV interface
cxdong f0f1808
KVM: pVMX: Implement refresh_apicv_exec_ctrl operation
cxdong 65c481c
pKVM: VMX: Implement load_eoi_exitmap operation
cxdong 9526051
pKVM: x86: Add load_eoi_exitmap PV interface
cxdong 2eb9f93
KVM: pVMX: Implement load_eoi_exitmap operation
cxdong 90a3823
KVM: pVMX: Implement apicv_pre_state_restore operation
cxdong 3a34989
KVM: pVMX: Implement required_apicv_inhibits knob
cxdong 4fb733f
pKVM: VMX: Implement hwapic_isr_update operation
cxdong 13f7e35
pKVM: x86: Add hwapic_isr_update PV interface
cxdong c020b5f
KVM: pVMX: Implement hwapic_isr_update operation
cxdong 8931a49
pKVM: VMX: Implement sync_pir_to_irr operation
cxdong b4afee4
pKVM: x86: Add sync_pir_to_irr PV interface
cxdong e40778e
KVM: pVMX: Implement sync_pir_to_irr operation
cxdong a273a5e
KVM: pVMX: Implement interrupt delivery/pending operations
cxdong 3abf8d2
KVM: pVMX: Implement posted interrupt related operations
cxdong 6baa12f
KVM: pVMX: Implement apic_init_signal_blocked operation
cxdong 4de54ca
KVM: pVMX: Implement vcpu_deliver_sipi_vector operation
cxdong 10ea38d
pKVM: VMX: Implement vcpu_after_set_cpuid operation
cxdong 0e6bf81
pKVM: x86: Initialize KVM cpuid_xstate_sizes
cxdong f70afca
pKVM: x86: Import fpu_enable_guest_xfd_features
cxdong cc6365c
pKVM: x86: Import kvm_set_cpuid
cxdong b1297ce
pKVM: x86: Remove KVM PV feature bits for pVM
cxdong 694ddce
pKVM: x86: Add vcpu_after_set_cpuid PV interface
cxdong 4c171e8
KVM: pVMX: Implement vcpu_after_set_cpuid operation
cxdong aad45bb
pKVM: x86: Acquire the default cpuid leaves into the per-cpu buffer
ktian1 99b3b66
pKVM: x86: Enforce cpuid for pVM
cxdong 9f0fe53
pKVM: x86: Add vcpu_add_fpstate PV interface
cxdong 8068fc3
KVM: pVMX: Add new fpstate memory for xfd
cxdong 337751c
pKVM: VMX: Implement write_tsc_offset/multiplier operations
cxdong 89b0fc7
pKVM: x86: Add write_tsc_offset/multiplier PV interfaces
cxdong ef7cdca
KVM: pVMX: Implement write_tsc_offset/multiplier operations
cxdong 395d3b2
pKVM: VMX: Implement load_mmu_pgd operation
cxdong a162945
pKVM: x86: Add load_mmu_pgd PV interface
cxdong a3a1830
KVM: pVMX: Implement load_mmu_pgd operation
cxdong 8c5f579
KVM: pVMX: Provide stub implementation for nested related operations
cxdong e8d1800
pKVM: VMX: Implement setup_mce operation
cxdong 784b805
pKVM: x86: Add setup_mce PV interface
cxdong 27c4656
KVM: pVMX: Implement setup_mce operation
cxdong 4d6a20f
KVM: pVMX: Provide stub implementation for SMM mode operations
cxdong File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/set_gdt/set_idt/?