]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/perf: BHRB filter configuration should follow the task
authorAnshuman Khandual <khandual@linux.vnet.ibm.com>
Mon, 10 Jun 2013 05:53:29 +0000 (11:23 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 24 Jul 2013 04:42:34 +0000 (14:42 +1000)
commitcb8944c0c2c97e35a3590d6373d458662b57c0a4
tree3c66c7f40541c3075b58b750ee02994c5e82ddbf
parent4905fe560c55e1d6b1ea3b2da2f35c7acbeecdff
powerpc/perf: BHRB filter configuration should follow the task

When the task moves around the system, the corresponding cpuhw
per cpu strcuture should be popullated with the BHRB filter
request value so that PMU could be configured appropriately with
that during the next call into power_pmu_enable().

Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Acked-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/perf/core-book3s.c