diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-02-24 17:20:37 -0800 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-03-02 16:02:52 -0800 |
| commit | 4046823e78b0c9abd25d23bffd7f1c773532dbfd (patch) | |
| tree | 63d93bbb8c794c68b1e9d9bf7077017fb8054273 /rust/kernel/interop/git@git.tavy.me:linux-stable.git | |
| parent | 0b16e69d17d8c35c5c9d5918bf596c75a44655d3 (diff) | |
KVM: x86: Open code handling of completed MMIO reads in emulator_read_write()
Open code the handling of completed MMIO reads instead of using an ops
hook, as burying the logic behind a (likely RETPOLINE'd) indirect call,
and with an unintuitive name, makes relatively straightforward code hard
to comprehend.
Opportunistically add comments to explain the dependencies between the
emulator's mem_read cache and the MMIO read completion logic, as it's very
easy to overlook the cache's role in getting the read data into the
correct destination.
No functional change intended.
Tested-by: Tom Lendacky <thomas.lendacky@gmail.com>
Tested-by: Rick Edgecombe <rick.p.edgecombe@intel.com>
Link: https://patch.msgid.link/20260225012049.920665-3-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
