summaryrefslogtreecommitdiffstats
path: root/arch/x86
Commit message (Collapse)AuthorAgeFilesLines
* Do a single prime in vmenter.. multiple passes added inside the macroHEADmasterLouis Burda2023-02-091-3/+1
|
* Add counter for L1 misses in guestLouis Burda2023-02-072-3/+13
|
* Dont treat shadow-mmu not writable but pte writable as an errorLouis Burda2023-02-071-3/+3
|
* fixup! Save registers to xmm to lower baseline counts and avoid timing ↵Louis Burda2023-02-061-0/+4
| | | | | | issues with apic_oneshot The cpu register state is cleared after vmrun in sev-es, as such we need to reload cpc_ds for probing and cpc_prime_probe. Since the access locations are constant, these extra loads will simply end up in the baseline. Additionally, the apic precision is not affected as the acceses happen *after* vmrun
* Set interrupt flag after prime / clear before probe in vmenterLouis Burda2023-02-061-13/+8
|
* Save registers to xmm to lower baseline counts and avoid timing issues with ↵Louis Burda2023-02-061-46/+45
| | | | | | apic_oneshot Swapping general-purpose registers with xmm registers should be constant-time, while writing and reading from memory after prime will cause cache misses with varying servicing time. This added uncertainty decreases stepping accuracy with apic.
* Only do vmmcall in aes_generic if dummy key detectedLouis Burda2023-02-061-3/+0
|
* Use retired instructions in userspace for TRACK_STEPSLouis Burda2023-02-062-12/+47
|
* Fix stepping inconsistency by moving oneshot after primeLouis Burda2023-02-063-20/+50
|
* Simplify target gfn stepping by tracking a single pageLouis Burda2023-02-031-18/+3
|
* Properly implement target gfn steppingLouis Burda2023-02-034-93/+72
|
* Fix page tracking without singlestep resolveLouis Burda2023-02-022-26/+28
|
* Debug single-stepping on page-boundaries in page_stepLouis Burda2023-02-022-46/+46
|
* Handle instruction loads on page boundaries more cleanlyLouis Burda2023-02-023-26/+70
|
* Merge branch 'sev-snp-iommu-avic_5.19-rc6_v4' of github.com:AMDESE/linuxLouis Burda2023-01-316-18/+0
|\
| * Revert "KVM: SEV: add cache flush to solve SEV cache incoherency issues"Ashish Kalra2022-09-286-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 683412ccf61294d727ead4a73d97397396e69a6b. Need to revert this commit to fix soft-lockup and RCU stall issues on both SNP host and guest. The wbinvd_on_all_cpus() invoked from the MMU invalidation notifiers as part of this patch adds a lot of additional overhead and latencies on SNP host kernel especially with large physical count cpus during NUMA autobalancing and host RMP page fault handling. Signed-off-by: Ashish Kalra <ashish.kalra@amd.com>
* | Combine TRACK_STEPS_* modesLouis Burda2023-01-303-81/+46
| |
* | Untrack cachepc symlinkLouis Burda2023-01-302-1/+1
| |
* | Rework how apic timer is adjusted and merge CPC_TRACK_PAGES_RESOLVELouis Burda2023-01-272-47/+17
| |
* | Consistent use of cpc shorthand instead of cachepcLouis Burda2023-01-279-136/+136
| |
* | Add CPC_TRACK_STEPS and make apic reset more robustLouis Burda2023-01-272-37/+67
| |
* | TRACK_STEPS_SIGNALLED: Only prime+probe when we are stepping on target gfnLouis Burda2023-01-274-42/+120
| |
* | Add signalled stepping track modeLouis Burda2023-01-265-30/+145
| |
* | Use prime returned address for probeLouis Burda2023-01-251-4/+1
| |
* | Move vm pause out of irq-masked sectionLouis Burda2023-01-251-5/+10
| |
* | Remove cachepc objects from kvm-amd moduleLouis Burda2023-01-251-2/+1
| |
* | Ensure oneshot is disabled if not single/long-step before runLouis Burda2023-01-241-0/+2
| |
* | Page tracking support (without speculation)Louis Burda2023-01-242-115/+88
| |
* | Enable single stepping non sev-es guests and long KVM_RUNs to prevent interruptsLouis Burda2023-01-232-26/+35
| |
* | Implement prime+probe without vcall, move vm pausingLouis Burda2023-01-213-67/+78
| |
* | More debug info and wbinvd for accurate vmsaLouis Burda2023-01-192-44/+75
| |
* | Add more debug printsLouis Burda2023-01-174-30/+48
| |
* | Add debug print to vmmcall exitLouis Burda2023-01-112-3/+7
| |
* | Minimize diff to 0aaa1e5 and small restructureLouis Burda2023-01-118-100/+42
| |
* | Add accidentally removed mmu.o and declare cachepc_tdp_protect_gfnLouis Burda2023-01-103-3/+5
| |
* | Stash fixupsLouis Burda2023-01-106-28/+161
| |
* | Fix decrypt_rip for SEV SNPLouis Burda2023-01-091-33/+36
| |
* | re-enable single step when full trackingLouis Burda2023-01-051-1/+5
| |
* | Fix page fault handlingLouis Burda2022-12-194-43/+134
| |
* | Remove old warningsLouis Burda2022-12-111-5/+0
| |
* | Revert unnecessary diffs and small tdp_mmu fixLouis Burda2022-12-116-81/+12
| |
* | Add support for only exec based stepping (unstable)Louis Burda2022-12-114-10/+53
| |
* | Dont unmap vmsa from direct mapLouis Burda2022-12-103-113/+94
| |
* | stashLouis Burda2022-12-069-55/+326
| |
* | Reset pmc counter and update baselineLouis Burda2022-10-271-2/+8
| |
* | Refactor more code out into repo filesLouis Burda2022-10-208-12/+16
| |
* | Move sevstep/kvm into sevstep/sevstepLouis Burda2022-10-052-4/+4
| |
* | Move kvm_page_track_mode to sevstep uapiLouis Burda2022-10-051-8/+1
| |
* | Remove ccp symver targetLouis Burda2022-10-051-2/+0
| |
* | Refactor out sevstep into cachepc repositoryLouis Burda2022-10-0512-1262/+41
| |