powerpc/perf_events: Fix priority of MSR HV vs PR bits
authorMichael Neuling <mikey@neuling.org>
Wed, 14 Oct 2009 19:32:15 +0000 (19:32 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 27 Oct 2009 05:42:38 +0000 (16:42 +1100)
The architecture defines that if MSR PR is set we are in problem state
irrespective of the HV bit.  This fixes perf events to reflect this.

Also, on bare metal systems, samples taken in Linux will now be reported
as kernel rather than hypervisor.

Signed-off-by: Michael Neuling <mikey@neuling.org>
CC: paulus@samba.org
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

No differences found