| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Do a single prime in vmenter.. multiple passes added inside the macroHEADmaster | Louis Burda | 2023-02-09 | 1 | -3/+1 |
| | | |||||
| * | Add counter for L1 misses in guest | Louis Burda | 2023-02-07 | 2 | -3/+13 |
| | | |||||
| * | Dont treat shadow-mmu not writable but pte writable as an error | Louis Burda | 2023-02-07 | 1 | -3/+3 |
| | | |||||
| * | fixup! Save registers to xmm to lower baseline counts and avoid timing ↵ | Louis Burda | 2023-02-06 | 1 | -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 vmenter | Louis Burda | 2023-02-06 | 1 | -13/+8 |
| | | |||||
| * | Save registers to xmm to lower baseline counts and avoid timing issues with ↵ | Louis Burda | 2023-02-06 | 1 | -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 detected | Louis Burda | 2023-02-06 | 1 | -3/+0 |
| | | |||||
| * | Use retired instructions in userspace for TRACK_STEPS | Louis Burda | 2023-02-06 | 2 | -12/+47 |
| | | |||||
| * | Fix stepping inconsistency by moving oneshot after prime | Louis Burda | 2023-02-06 | 3 | -20/+50 |
| | | |||||
| * | Simplify target gfn stepping by tracking a single page | Louis Burda | 2023-02-03 | 1 | -18/+3 |
| | | |||||
| * | Properly implement target gfn stepping | Louis Burda | 2023-02-03 | 4 | -93/+72 |
| | | |||||
| * | Fix page tracking without singlestep resolve | Louis Burda | 2023-02-02 | 2 | -26/+28 |
| | | |||||
| * | Debug single-stepping on page-boundaries in page_step | Louis Burda | 2023-02-02 | 2 | -46/+46 |
| | | |||||
| * | Handle instruction loads on page boundaries more cleanly | Louis Burda | 2023-02-02 | 3 | -26/+70 |
| | | |||||
| * | Merge branch 'sev-snp-iommu-avic_5.19-rc6_v4' of github.com:AMDESE/linux | Louis Burda | 2023-01-31 | 6 | -18/+0 |
| |\ | |||||
| | * | Revert "KVM: SEV: add cache flush to solve SEV cache incoherency issues" | Ashish Kalra | 2022-09-28 | 6 | -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_* modes | Louis Burda | 2023-01-30 | 3 | -81/+46 |
| | | | |||||
| * | | Untrack cachepc symlink | Louis Burda | 2023-01-30 | 2 | -1/+1 |
| | | | |||||
| * | | Rework how apic timer is adjusted and merge CPC_TRACK_PAGES_RESOLVE | Louis Burda | 2023-01-27 | 2 | -47/+17 |
| | | | |||||
| * | | Consistent use of cpc shorthand instead of cachepc | Louis Burda | 2023-01-27 | 9 | -136/+136 |
| | | | |||||
| * | | Add CPC_TRACK_STEPS and make apic reset more robust | Louis Burda | 2023-01-27 | 2 | -37/+67 |
| | | | |||||
| * | | TRACK_STEPS_SIGNALLED: Only prime+probe when we are stepping on target gfn | Louis Burda | 2023-01-27 | 4 | -42/+120 |
| | | | |||||
| * | | Add signalled stepping track mode | Louis Burda | 2023-01-26 | 5 | -30/+145 |
| | | | |||||
| * | | Use prime returned address for probe | Louis Burda | 2023-01-25 | 1 | -4/+1 |
| | | | |||||
| * | | Move vm pause out of irq-masked section | Louis Burda | 2023-01-25 | 1 | -5/+10 |
| | | | |||||
| * | | Remove cachepc objects from kvm-amd module | Louis Burda | 2023-01-25 | 1 | -2/+1 |
| | | | |||||
| * | | Ensure oneshot is disabled if not single/long-step before run | Louis Burda | 2023-01-24 | 1 | -0/+2 |
| | | | |||||
| * | | Page tracking support (without speculation) | Louis Burda | 2023-01-24 | 2 | -115/+88 |
| | | | |||||
| * | | Enable single stepping non sev-es guests and long KVM_RUNs to prevent interrupts | Louis Burda | 2023-01-23 | 2 | -26/+35 |
| | | | |||||
| * | | Implement prime+probe without vcall, move vm pausing | Louis Burda | 2023-01-21 | 3 | -67/+78 |
| | | | |||||
| * | | More debug info and wbinvd for accurate vmsa | Louis Burda | 2023-01-19 | 2 | -44/+75 |
| | | | |||||
| * | | Add more debug prints | Louis Burda | 2023-01-17 | 4 | -30/+48 |
| | | | |||||
| * | | Add debug print to vmmcall exit | Louis Burda | 2023-01-11 | 2 | -3/+7 |
| | | | |||||
| * | | Minimize diff to 0aaa1e5 and small restructure | Louis Burda | 2023-01-11 | 8 | -100/+42 |
| | | | |||||
| * | | Add accidentally removed mmu.o and declare cachepc_tdp_protect_gfn | Louis Burda | 2023-01-10 | 3 | -3/+5 |
| | | | |||||
| * | | Stash fixups | Louis Burda | 2023-01-10 | 6 | -28/+161 |
| | | | |||||
| * | | Fix decrypt_rip for SEV SNP | Louis Burda | 2023-01-09 | 1 | -33/+36 |
| | | | |||||
| * | | re-enable single step when full tracking | Louis Burda | 2023-01-05 | 1 | -1/+5 |
| | | | |||||
| * | | Fix page fault handling | Louis Burda | 2022-12-19 | 4 | -43/+134 |
| | | | |||||
| * | | Remove old warnings | Louis Burda | 2022-12-11 | 1 | -5/+0 |
| | | | |||||
| * | | Revert unnecessary diffs and small tdp_mmu fix | Louis Burda | 2022-12-11 | 6 | -81/+12 |
| | | | |||||
| * | | Add support for only exec based stepping (unstable) | Louis Burda | 2022-12-11 | 4 | -10/+53 |
| | | | |||||
| * | | Dont unmap vmsa from direct map | Louis Burda | 2022-12-10 | 3 | -113/+94 |
| | | | |||||
| * | | stash | Louis Burda | 2022-12-06 | 9 | -55/+326 |
| | | | |||||
| * | | Reset pmc counter and update baseline | Louis Burda | 2022-10-27 | 1 | -2/+8 |
| | | | |||||
| * | | Refactor more code out into repo files | Louis Burda | 2022-10-20 | 8 | -12/+16 |
| | | | |||||
| * | | Move sevstep/kvm into sevstep/sevstep | Louis Burda | 2022-10-05 | 2 | -4/+4 |
| | | | |||||
| * | | Move kvm_page_track_mode to sevstep uapi | Louis Burda | 2022-10-05 | 1 | -8/+1 |
| | | | |||||
| * | | Remove ccp symver target | Louis Burda | 2022-10-05 | 1 | -2/+0 |
| | | | |||||
| * | | Refactor out sevstep into cachepc repository | Louis Burda | 2022-10-05 | 12 | -1262/+41 |
| | | | |||||
