diff options
| author | Suzuki K Poulose <[email protected]> | 2016-04-04 11:43:15 +0100 |
|---|---|---|
| committer | Christoffer Dall <[email protected]> | 2016-04-21 14:56:28 +0200 |
| commit | a563f7598198b8389e00451ef6f3f1c12efbfb99 (patch) | |
| tree | aea2df776c2cd3ac4438915b07ba85e3a1131930 /tools/perf/scripts/python | |
| parent | 06a71a24bae57a07afee9cda6b00495347d8a448 (diff) | |
arm64: Reuse TCR field definitions for EL1 and EL2
TCR_EL1, TCR_EL2 and VTCR_EL2, all share some field positions
(TG0, ORGN0, IRGN0 and SH0) and their corresponding value definitions.
This patch makes the TCR_EL1 definitions reusable and uses them for TCR_EL2
and VTCR_EL2 fields.
This also fixes a bug where we assume TG0 in {V}TCR_EL2 is 1bit field.
Cc: Catalin Marinas <[email protected]>
Cc: Mark Rutland <[email protected]>
Acked-by: Marc Zyngier <[email protected]>
Acked-by: Will Deacon <[email protected]>
Reviewed-by: Christoffer Dall <[email protected]>
Signed-off-by: Suzuki K Poulose <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions