Revert "ARM64: unwind: Fix PC calculation"
authorWill Deacon <will.deacon@arm.com>
Wed, 28 Oct 2015 16:56:13 +0000 (16:56 +0000)
committerSasha Levin <sasha.levin@oracle.com>
Sun, 15 Nov 2015 17:51:50 +0000 (12:51 -0500)
commit5379564bbf799193bd1e1633d639e56e12c05417
tree178b295fcbeda46a6cde8b927f4410ae82ca9b55
parent7b21a4743f2fd02d2bdccb614519375abe4fa267
Revert "ARM64: unwind: Fix PC calculation"

[ Upstream commit 9702970c7bd3e2d6fecb642a190269131d4ac16c ]

This reverts commit e306dfd06fcb44d21c80acb8e5a88d55f3d1cf63.

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
arch/arm64/kernel/stacktrace.c