diff options
| author | Mark Rutland <[email protected]> | 2018-11-09 15:07:10 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2018-12-18 14:10:36 +0000 |
| commit | 0d640732dbebed0f10f18526de21652931f0b2f2 (patch) | |
| tree | aa9c116f560d604190b904d0a0b966cdae8e6519 /tools/perf/scripts/python | |
| parent | 2e6e902d185027f8e3cb8b7305238f7e35d6a436 (diff) | |
arm64: KVM: Skip MMIO insn after emulation
When we emulate an MMIO instruction, we advance the CPU state within
decode_hsr(), before emulating the instruction effects.
Having this logic in decode_hsr() is opaque, and advancing the state
before emulation is problematic. It gets in the way of applying
consistent single-step logic, and it prevents us from being able to fail
an MMIO instruction with a synchronous exception.
Clean this up by only advancing the CPU state *after* the effects of the
instruction are emulated.
Cc: Peter Maydell <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
Reviewed-by: Christoffer Dall <[email protected]>
Signed-off-by: Mark Rutland <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions