blob: 9646ec1ec0cf91d102b2076cbb8b33783696b8b1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
|