linux/arch/arm64
Will Deacon ec45d1cfd3 arm64: mm: update CONTEXTIDR register to contain PID of current process
This patch is a port of 575320d62 ("ARM: 7445/1: mm: update CONTEXTIDR
register to contain PID of current process") from ARM that introduces a
new Kconfig option which, when enabled, causes the kernel to write the
PID of the current task into the CONTEXTIDR register on context switch.
This is useful when analysing hardware trace, since writes to this
register can be configured to emit an event into the trace stream.

Signed-off-by: Will Deacon <will.deacon@arm.com>
[catalin.marinas@arm.com: contextidr_thread_switch() moved to mmu_context.h]
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2013-02-11 18:24:18 +00:00
..
boot arm64: dts: prevent *.dtb from always being rebuilt 2013-01-14 08:08:28 -06:00
configs arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
include arm64: mm: update CONTEXTIDR register to contain PID of current process 2013-02-11 18:24:18 +00:00
kernel arm64: mm: update CONTEXTIDR register to contain PID of current process 2013-02-11 18:24:18 +00:00
lib arm64: Miscellaneous library functions 2012-09-17 13:42:18 +01:00
mm arm64: Add simple earlyprintk support 2013-01-22 17:51:01 +00:00
Kconfig arm64: Select ARCH_WANT_FRAME_POINTERS 2013-01-29 18:25:41 +00:00
Kconfig.debug arm64: mm: update CONTEXTIDR register to contain PID of current process 2013-02-11 18:24:18 +00:00
Makefile arm64: Fix the dtbs target building 2012-12-10 20:24:57 -06:00