]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "ARM64: unwind: Fix PC calculation"
authorWill Deacon <will.deacon@arm.com>
Wed, 28 Oct 2015 16:56:13 +0000 (16:56 +0000)
committerWill Deacon <will.deacon@arm.com>
Wed, 28 Oct 2015 17:07:07 +0000 (17:07 +0000)
commitdd08a1f6c4e021283fb326ab4a7238a0afdd8072
treeaa2ce8d5878c8ba7072e368062f9872437561e79
parent24d2ceb8a781e9330b80e79c6510be8396bd36b2
Revert "ARM64: unwind: Fix PC calculation"

This reverts commit 66474f4401afc5064f058beed51c608eafaed24b.

With this patch applied, we were the only architecture making this sort
of adjustment to the PC calculation in the unwinder. This causes
problems for ftrace, where the PC values are matched against the
contents of the stack frames in the callchain and fail to match any
records after the address adjustment.

Whilst there has been some effort to change ftrace to workaround this,
those patches are not yet ready for mainline and, since we're the odd
architecture in this regard, let's just step in line with other
architectures (like arch/arm/) for now.

Cc: <stable@vger.kernel.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/stacktrace.c