OpenCloudOS-Kernel/arch/x86/kvm
xiongmengbiao 430f1f4354 crypto: ccp: support TKM run on CSV
In the CSV VM, data is encrypted in the host machine.
To support running TKM in the CSV VM, a new
KVM_HC_PSP_FORWARD_OP operation was introduced.

In this mode, all TKM request data is converted
from GPA to HPA and directly sent to PSP for processing.

PSP can decrypt the encrypted data on HPA using the
correct ASID.

Signed-off-by: xiongmengbiao <xiongmengbiao@hygon.cn>
2024-11-13 10:56:14 +08:00
..
mmu KVM: x86/mmu: Drop non-PA bits when getting GFN for guest's PGD 2024-11-01 17:19:00 +08:00
svm crypto: ccp: support TKM run on CSV 2024-11-13 10:56:14 +08:00
vmx KVM: x86: Use KVM-governed feature framework to track "LAM enabled" 2024-11-01 17:19:01 +08:00
.gitignore KVM: x86: use a separate asm-offsets.c file 2022-11-09 12:10:17 -05:00
Kconfig KVM: SVM: Add support for different CSV guests to reuse the same ASID 2024-05-09 15:14:00 +08:00
Makefile Merge linux 6.6.45 2024-08-23 19:54:49 +08:00
cpuid.c KVM: x86: Advertise and enable LAM (user and supervisor) 2024-11-01 17:19:01 +08:00
cpuid.h KVM: x86: Use KVM-governed feature framework to track "LAM enabled" 2024-11-01 17:19:01 +08:00
debugfs.c KVM: x86: Unify pr_fmt to use module name for all KVM modules 2022-12-29 15:47:35 -05:00
emulate.c KVM: x86: Introduce get_untagged_addr() in kvm_x86_ops and call it in emulator 2024-11-01 17:19:00 +08:00
fpu.h
governed_features.h KVM: x86: Use KVM-governed feature framework to track "LAM enabled" 2024-11-01 17:19:01 +08:00
hyperv.c KVM: x86: hyper-v: Don't auto-enable stimer on write from user-space 2023-11-28 17:19:56 +00:00
hyperv.h KVM: x86: Hyper-V invariant TSC control 2022-12-29 15:33:29 -05:00
i8254.c KVM: x86: Unify pr_fmt to use module name for all KVM modules 2022-12-29 15:47:35 -05:00
i8254.h KVM: x86: PIT: Preserve state of speaker port data bit 2022-06-08 13:06:20 -04:00
i8259.c KVM: x86: Fix poll command 2023-06-01 13:44:13 -07:00
ioapic.c KVM: x86/ioapic: Resample the pending state of an IRQ when unmasking 2023-03-27 10:13:28 -04:00
ioapic.h x86/kvm: remove unused ack_notifier callbacks 2021-11-18 07:05:57 -05:00
irq.c KVM: x86: Fold kvm_get_apic_interrupt() into kvm_cpu_get_interrupt() 2024-10-12 10:13:09 +08:00
irq.h KVM: x86: Don't re-setup empty IRQ routing when KVM_CAP_SPLIT_IRQCHIP 2024-08-14 17:08:55 +08:00
irq_comm.c KVM: x86: Don't re-setup empty IRQ routing when KVM_CAP_SPLIT_IRQCHIP 2024-08-14 17:08:55 +08:00
kvm-asm-offsets.c KVM: SVM: move MSR_IA32_SPEC_CTRL save/restore to assembly 2022-11-09 12:25:53 -05:00
kvm_cache_regs.h KVM: x86: Add helpers to query individual CR0/CR4 bits 2023-03-22 10:10:53 -07:00
kvm_emulate.h KVM: x86: Introduce get_untagged_addr() in kvm_x86_ops and call it in emulator 2024-11-01 17:19:00 +08:00
kvm_onhyperv.c KVM: x86/mmu: Move filling of Hyper-V's TLB range struct into Hyper-V code 2023-04-10 15:17:29 -07:00
kvm_onhyperv.h s390: 2023-05-01 12:06:20 -07:00
lapic.c KVM: x86: Re-split x2APIC ICR into ICR+ICR2 for AMD (x2AVIC) 2024-10-12 10:13:09 +08:00
lapic.h KVM: x86: Fold kvm_get_apic_interrupt() into kvm_cpu_get_interrupt() 2024-10-12 10:13:09 +08:00
mmu.h KVM: x86: Use KVM-governed feature framework to track "LAM enabled" 2024-11-01 17:19:01 +08:00
mtrr.c KVM: x86: Make kvm_mtrr_valid() static now that there are no external users 2023-06-01 13:41:06 -07:00
pmu.c KVM: x86/pmu: Apply "fast" RDPMC only to Intel PMUs 2024-09-19 15:24:31 +08:00
pmu.h KVM: x86/pmu: Prioritize VMX interception over #GP on RDPMC due to bad index 2024-09-19 15:24:31 +08:00
reverse_cpuid.h Merge linux 6.6.26 2024-04-13 17:34:05 +08:00
smm.c KVM: x86: Use emulator callbacks instead of duplicating "host flags" 2023-01-31 17:29:09 -08:00
smm.h KVM: x86: smm: preserve interrupt shadow in SMRAM 2022-11-09 12:31:26 -05:00
trace.h KVM: x86: Plumb "force_immediate_exit" into kvm_entry() tracepoint 2024-10-12 10:13:09 +08:00
tss.h
x86.c crypto: ccp: support TKM run on CSV 2024-11-13 10:56:14 +08:00
x86.h KVM: x86: Virtualize LAM for supervisor pointer 2024-11-01 17:19:01 +08:00
xen.c KVM: x86/xen: inject vCPU upcall vector when local APIC is enabled 2024-04-03 15:28:24 +02:00
xen.h KVM: x86/xen: inject vCPU upcall vector when local APIC is enabled 2024-04-03 15:28:24 +02:00