commit | 393eb79ad32fedbdcbcd51bca38cf66291f6d528 | [log] [tgz] |
---|---|---|
author | Madhavan Srinivasan <maddy@linux.vnet.ibm.com> | Sun Jun 26 23:07:06 2016 +0530 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Jul 05 23:49:47 2016 +1000 |
tree | 8de46701bd0e32b57b4fbf504e2f778c1402c9ff | |
parent | 7ffd948fae4cd4f0207bece20132edd9afb9abcc [diff] |
powerpc/perf: factor out power8 __init_pmu code Factor out the power8 pmu init functions to share with power9. Monitor Mode Control Register S(MMCRS) and Monitor Mode Control Register H(MMCRH) registers are dropped in Power9. These registers are added to new function which are included for power8 init. Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>