Searched hist:ccc43810827f9feb5e588e4b7098dc55b1d972f8 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/arm64/include/asm/ |
H A D | pointer_auth.h | diff ccc43810827f9feb5e588e4b7098dc55b1d972f8 Fri Dec 07 12:39:27 CST 2018 Mark Rutland <mark.rutland@arm.com> arm64: perf: strip PAC when unwinding userspace
When the kernel is unwinding userspace callchains, we can't expect that the userspace consumer of these callchains has the data necessary to strip the PAC from the stored LR.
This patch has the kernel strip the PAC from user stackframes when the in-kernel unwinder is used. This only affects the LR value, and not the FP.
This only affects the in-kernel unwinder. When userspace performs unwinding, it is up to userspace to strip PACs as necessary (which can be determined from DWARF information).
Signed-off-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Kristina Martsenko <kristina.martsenko@arm.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | perf_callchain.c | diff ccc43810827f9feb5e588e4b7098dc55b1d972f8 Fri Dec 07 12:39:27 CST 2018 Mark Rutland <mark.rutland@arm.com> arm64: perf: strip PAC when unwinding userspace
When the kernel is unwinding userspace callchains, we can't expect that the userspace consumer of these callchains has the data necessary to strip the PAC from the stored LR.
This patch has the kernel strip the PAC from user stackframes when the in-kernel unwinder is used. This only affects the LR value, and not the FP.
This only affects the in-kernel unwinder. When userspace performs unwinding, it is up to userspace to strip PACs as necessary (which can be determined from DWARF information).
Signed-off-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Kristina Martsenko <kristina.martsenko@arm.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
|