diff options
author | 2015-07-24 16:37:42 +0100 | |
---|---|---|
committer | 2015-07-27 11:08:42 +0100 | |
commit | dfac68314c969481fcce3dd528728dfa9d85caf5 (patch) | |
tree | c688b6bd22a6d36ee0074474828639c7f61f80c6 /tools/perf/scripts/python/syscall-counts.py | |
parent | arm64/debug: Eliminate magic number for size of BRK instruction (diff) | |
download | linux-dev-dfac68314c969481fcce3dd528728dfa9d85caf5.tar.xz linux-dev-dfac68314c969481fcce3dd528728dfa9d85caf5.zip |
arm64/debug: Mask off all reserved bits from generated ESR values
There are only 16 comment bits in a BRK instruction, which
correspond to ESR bits 15:0. Bits 24:16 of the ESR are RES0,
and might have weird meanings in the future.
This code inserts 16 bits of comment in the ESR value instead of
20 (almost certainly a typo in the original code).
Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions