diff options
author | Robin Murphy <robin.murphy@arm.com> | 2015-10-22 17:41:52 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2015-10-29 19:55:15 +0300 |
commit | 5accd17d0eb523350c9ef754d655e379c9bb93b3 (patch) | |
tree | f259007ba4cba9b193f6fe9fcd7d3d977af0a12c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 97303480753e48fb313dc0e15daaf11b0451cdb8 (diff) | |
download | linux-5accd17d0eb523350c9ef754d655e379c9bb93b3.tar.xz |
arm64: Fix compat register mappings
For reasons not entirely apparent, but now enshrined in history, the
architectural mapping of AArch32 banked registers to AArch64 registers
actually orders SP_<mode> and LR_<mode> backwards compared to the
intuitive r13/r14 order, for all modes except FIQ.
Fix the compat_<reg>_<mode> macros accordingly, in the hope of avoiding
subtle bugs with KVM and AArch32 guests.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions