powerpc/perf: Add missing SIER support
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 15 May 2013 20:19:31 +0000 (20:19 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 31 May 2013 22:29:29 +0000 (08:29 +1000)
commit58a032c3b106adcd2b83b7e631de3b79f238cdd2
tree66316cc67cf604c1321ec084782b787a70a81629
parentcbda6aa10bd2d97e38f4d26a03a0b2183ad580ba
powerpc/perf: Add missing SIER support

Commit 8f61aa3 "Add support for SIER" missed updates to siar_valid()
and perf_get_data_addr().

In both cases we need to check the SIER instead of mmcra.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/perf/core-book3s.c