diff options
| author | Marc Zyngier <[email protected]> | 2020-04-21 17:32:02 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2020-05-28 12:16:55 +0000 |
| commit | d9d7d84d9906e1bc886c5e0fc66aaad26008264b (patch) | |
| tree | c3d9d33afecb36ab5f9ab94c50d66b1103fd3774 /tools/perf/scripts/python/syscall-counts.py | |
| parent | KVM: arm64: Don't use empty structures as CPU reset state (diff) | |
| download | kernel-d9d7d84d9906e1bc886c5e0fc66aaad26008264b.tar.gz kernel-d9d7d84d9906e1bc886c5e0fc66aaad26008264b.zip | |
KVM: arm64: Parametrize exception entry with a target EL
We currently assume that an exception is delivered to EL1, always.
Once we emulate EL2, this no longer will be the case. To prepare
for this, add a target_mode parameter.
While we're at it, merge the computing of the target PC and PSTATE in
a single function that updates both PC and CPSR after saving their
previous values in the corresponding ELR/SPSR. This ensures that they
are updated in the correct order (a pretty common source of bugs...).
Reviewed-by: Mark Rutland <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
