diff options
| author | Louis Burda <quent.burda@gmail.com> | 2022-11-04 01:16:50 +0100 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2022-11-04 01:21:13 +0100 |
| commit | d4ac8d64359fcaf25a65196c83ba0a091f645a3b (patch) | |
| tree | f5e41923a018a335cb55538b8af8e6cc558e6534 /notes | |
| parent | 49c88d32d25d4eb39ad6452cfba2ca93d60e1b81 (diff) | |
| download | cachepc-d4ac8d64359fcaf25a65196c83ba0a091f645a3b.tar.gz cachepc-d4ac8d64359fcaf25a65196c83ba0a091f645a3b.zip | |
Fixed page tracking and somewhat working single step probe
Diffstat (limited to 'notes')
| -rw-r--r-- | notes | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -0,0 +1,26 @@ +Observations: +- some times get extra faults with race condition.. think there is + a race cond with track_page and something is untracking the pages again +- on + +Questions: +- test/sevstep: why 0 then 15, arent both accesses in the first page? + => first code page and stack access +- test/sevstep: why does it seem to work with event race but not without? + => it doesnt (anymore) + +Tried: +- try invalidating tlbs (no effect, prob was already) + +Next steps: +- enable single-steping with multiple page faults (only one ends up in + last_fault_gfn and others stay untracked) +- try adjusting timer for single stepping +- Try to setup the non-baseline step without apic, but remapping page + such that we see the relevant page faults and the gfn increment +- need to not retrack, allow the page to get remapped + (return false from sevstep_uspt_track.. caller) and enable single_step, + THEN when interrupt hits retrack the page +- test/sevstep: implement counter.. read program memory to see + how many instructions were executed on apic timer +- add warning for high values in baseline |
