diff options
author | James Hogan <[email protected]> | 2016-12-07 17:16:37 +0000 |
---|---|---|
committer | James Hogan <[email protected]> | 2017-02-03 15:21:32 +0000 |
commit | 013044cc65f8661c5fa2b59da5e134b3453d975d (patch) | |
tree | 801ef5a0bad1220d2d1b6fc271e11dfaf5e7d9bd /tools/perf/util/trace-event-scripting.c | |
parent | be67a0be94b65746dee63af5c184c78d00a707f6 (diff) |
KVM: MIPS/T&E: Expose CP0_EntryLo0/1 registers
Expose the CP0_EntryLo0 and CP0_EntryLo1 registers through the KVM
register access API. This is fairly straightforward for trap & emulate
since we don't support the RI and XI bits. For the sake of future
proofing (particularly for VZ) it is explicitly specified that the API
always exposes the 64-bit version of these registers (i.e. with the RI
and XI bits in bit positions 63 and 62 respectively), and they are
implemented in trap_emul.c rather than mips.c to allow them to be
implemented differently for VZ.
Signed-off-by: James Hogan <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: "Radim Krčmář" <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: [email protected]
Cc: [email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions