diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-02-24 17:20:38 -0800 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-03-02 16:02:52 -0800 |
| commit | 4f11fded5381eb32ca2e0f1e280c6eb97eff92c8 (patch) | |
| tree | 35a04791da684d7f4563f72900f93fe923453185 /rust/kernel/interop/git@git.tavy.me:linux-stable.git | |
| parent | 4046823e78b0c9abd25d23bffd7f1c773532dbfd (diff) | |
KVM: x86: Trace unsatisfied MMIO reads on a per-page basis
Invoke the "unsatisfied MMIO reads" when KVM first detects that a
particular access "chunk" requires an exit to userspace instead of tracing
the entire access at the time KVM initiates the exit to userspace. I.e.
precisely trace the first and/or second fragments of a page split instead
of tracing the entire access, as the GPA could be wrong on a page split
case.
Leave the completion tracepoint alone, at least for now, as fixing the
completion path would incur significantly complexity to track exactly which
fragment(s) of the overall access actually triggered MMIO, but add a
comment that the tracing for completed reads in is technically wrong.
Tested-by: Tom Lendacky <thomas.lendacky@gmail.com>
Tested-by: Rick Edgecombe <rick.p.edgecombe@intel.com>
Link: https://patch.msgid.link/20260225012049.920665-4-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
