commit | a0feb6db0fe03326d7d2c7a4615ce3289615c023 | [log] [tgz] |
---|---|---|
author | Lorenzo Pieralisi <Lorenzo.Pieralisi@arm.com> | Tue Mar 06 17:37:45 2012 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Wed Mar 07 09:40:50 2012 +0000 |
tree | 5252086b8224c588148af6a48618030aa6e4827a | |
parent | 3f31ae121348afd9ed39700ea2a63c17cd7eeed1 [diff] |
ARM: 7358/1: perf: add PMU hotplug notifier When a CPU is taken out of reset, either cold booted or hotplugged in, some of its PMU registers can contain UNKNOWN values. This patch adds a hotplug notifier to ARM core perf code so that upon CPU restart the PMU unit is reset and becomes ready to use again. Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>