Thread (2 messages) flat view 2 messages, 2 authors, 2017-02-19

Re: powerpc/perf: Avoid FAB_*_MATCH checks for power9

From: Michael Ellerman <hidden>
Date: 2017-02-19 11:33:39

On Mon, 2017-02-13 at 11:32:54 UTC, Madhavan Srinivasan wrote:
Since power9 does not support FAB_*_MATCH bits in MMCR1,
avoid these checks for power9. For this, patch factor out
code in isa207_get_constraint() to retain these checks
only for power8.

Patch also updates the comment in power9-pmu raw event
encode layout to remove FAB_*_MATCH.

Finally for power9, patch adds additional check for
threshold events when adding the thresh mask and value in
isa207_get_constraint().

fixes: 7ffd948fae4c ('powerpc/perf: factor out power8 pmu functions')
fixes: 18201b204286 ('powerpc/perf: power9 raw event format encoding')
Signed-off-by: Ravi Bangoria <redacted>
Signed-off-by: Madhavan Srinivasan <redacted>
Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/78a16d9fc1206e1a484b6ac9634875

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help