linux/arch/arm64/kernel
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
..
vdso
.gitignore
arm64ksyms.c
asm-offsets.c
cputable.c
debug-monitors.c
early_printk.c arm64: Add simple earlyprintk support 2013-01-22 17:51:01 +00:00
entry-fpsimd.S
entry.S
fpsimd.c
head.S arm64: Add simple earlyprintk support 2013-01-22 17:51:01 +00:00
hw_breakpoint.c
hyp-stub.S
io.c
irq.c
kuser32.S
Makefile arm64: SMP: enable PSCI boot method 2013-01-29 16:56:37 +00:00
module.c
perf_event.c arm64: perf: add guest vs host discrimination 2013-01-29 16:56:17 +00:00
process.c arm64: mm: update CONTEXTIDR register to contain PID of current process 2013-02-11 18:24:18 +00:00
psci.c arm64: psci: add support for PSCI invocations from the kernel 2013-01-29 16:56:37 +00:00
ptrace.c
setup.c arm64: psci: add support for PSCI invocations from the kernel 2013-01-29 16:56:37 +00:00
signal.c
signal32.c arm64: compat: use compat_uptr_t type for compat_ucontext.uc_link 2013-02-11 12:39:16 +00:00
smp.c arm64: SMP: enable PSCI boot method 2013-01-29 16:56:37 +00:00
smp_psci.c arm64: SMP: enable PSCI boot method 2013-01-29 16:56:37 +00:00
smp_spin_table.c arm64: SMP: rework the SMP code to be enabling method agnostic 2013-01-29 16:56:37 +00:00
stacktrace.c
sys.c
sys32.S
sys_compat.c
time.c
traps.c
vdso.c
vmlinux.lds.S