]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
powerpc/perf: Core EBB support for 64-bit book3s
authorMichael Ellerman <michael@ellerman.id.au>
Fri, 28 Jun 2013 08:15:16 +0000 (18:15 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 1 Jul 2013 01:50:10 +0000 (11:50 +1000)
commit330a1eb7775ba876dbd46b9885556e57f705e3d4
tree138693772ff043ec23e335a1ef42df7a7d5707ba
parent2ac138ca21ad26c988ce7c91d27327f85beb7519
powerpc/perf: Core EBB support for 64-bit book3s

Add support for EBB (Event Based Branches) on 64-bit book3s. See the
included documentation for more details.

EBBs are a feature which allows the hardware to branch directly to a
specified user space address when a PMU event overflows. This can be
used by programs for self-monitoring with no kernel involvement in the
inner loop.

Most of the logic is in the generic book3s code, primarily to avoid a
proliferation of PMU callbacks.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Documentation/powerpc/00-INDEX
Documentation/powerpc/pmu-ebb.txt [new file with mode: 0644]
arch/powerpc/include/asm/perf_event_server.h
arch/powerpc/include/asm/processor.h
arch/powerpc/include/asm/reg.h
arch/powerpc/include/asm/switch_to.h
arch/powerpc/kernel/process.c
arch/powerpc/perf/core-book3s.c