<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/powerpc/perf, branch linux-4.10.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.10.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.10.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-05-14T12:08:20Z</updated>
<entry>
<title>powerpc/perf: Avoid FAB_*_MATCH checks for power9</title>
<updated>2017-05-14T12:08:20Z</updated>
<author>
<name>Madhavan Srinivasan</name>
</author>
<published>2017-02-13T11:32:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=72cd64df59f3726fc937e1f69a3d6c9a9bb1d1b6'/>
<id>urn:sha1:72cd64df59f3726fc937e1f69a3d6c9a9bb1d1b6</id>
<content type='text'>
commit 78a16d9fc1206e1a484b6ac96348756f3846bfea upstream.

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 &lt;ravi.bangoria@linux.vnet.ibm.com&gt;
Signed-off-by: Madhavan Srinivasan &lt;maddy@linux.vnet.ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>powerpc/perf: Handle sdar_mode for marked event in power9</title>
<updated>2017-05-14T12:08:20Z</updated>
<author>
<name>Madhavan Srinivasan</name>
</author>
<published>2017-02-20T13:59:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8c34e65205b7a0fdabfc954b1f26890900092e3b'/>
<id>urn:sha1:8c34e65205b7a0fdabfc954b1f26890900092e3b</id>
<content type='text'>
commit 78b4416aa249365dd3c1b64da4d3a232014320b0 upstream.

MMCRA[SDAR_MODE] specifices how the SDAR should be updated in
continous sampling mode. On P9 it must be set to 0b00 when
MMCRA[63] is set.

Fixes: c7c3f568beff2 ('powerpc/perf: macros for power9 format encoding')
Signed-off-by: Madhavan Srinivasan &lt;maddy@linux.vnet.ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>powerpc/perf: Fix perf_get_data_addr() for power9 DD1</title>
<updated>2017-05-14T12:08:19Z</updated>
<author>
<name>Madhavan Srinivasan</name>
</author>
<published>2017-02-20T13:56:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d2264474c9c2582fafcd5836dd80b83c95b04e1d'/>
<id>urn:sha1:d2264474c9c2582fafcd5836dd80b83c95b04e1d</id>
<content type='text'>
commit f04d108029063a8a67528a88449c412aecf4d3d8 upstream.

Power9 DD1 do not support PMU_HAS_SIER flag and sdsync in
perf_get_data_addr() defaults to MMCRA_SDSYNC which is wrong. Since
power9 MMCRA does not support SDSYNC bit, patch includes PPMU_NO_SIAR
flag to the check and set the sdsync with MMCRA_SAMPLE_ENABLE;

Fixes: 27593d72c4ad ("powerpc/perf: Use MSR to report privilege level on P9 DD1")
Signed-off-by: Madhavan Srinivasan &lt;maddy@linux.vnet.ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>powerpc/perf: Use MSR to report privilege level on P9 DD1</title>
<updated>2017-01-18T05:15:58Z</updated>
<author>
<name>Madhavan Srinivasan</name>
</author>
<published>2017-01-18T03:42:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=27593d72c4ad451ed13af35354b941bcd0abcec6'/>
<id>urn:sha1:27593d72c4ad451ed13af35354b941bcd0abcec6</id>
<content type='text'>
SIER and SIAR are not updated correctly for some samples, so force the
use of MSR and regs-&gt;nip instead for misc_flag updates. This is done by
adding a new ppmu flag and updating the use_siar logic in
perf_read_regs() to use it, and dropping the PPMU_HAS_SIER flag.

Signed-off-by: Madhavan Srinivasan &lt;maddy@linux.vnet.ibm.com&gt;
[mpe: Rename flag to PPMU_NO_SIAR, and also drop PPMU_HAS_SIER]
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc/perf: Fix PM_BRU_CMPL event code for power9</title>
<updated>2017-01-18T00:58:51Z</updated>
<author>
<name>Madhavan Srinivasan</name>
</author>
<published>2017-01-09T13:30:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d89f473ff6f84872e761419f7233d6e00f99c340'/>
<id>urn:sha1:d89f473ff6f84872e761419f7233d6e00f99c340</id>
<content type='text'>
Use 0x10012 event code for PM_BRU_CMPL event in power9 event list
instead of current 0x40060.

Fixes: 34922527a2bcb ('powerpc/perf: Add power9 event list macros for generic and cache events')
Cc: stable@vger.kernel.org # v4.9+
Signed-off-by: Madhavan Srinivasan &lt;maddy@linux.vnet.ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>cpu/hotplug: Cleanup state names</title>
<updated>2016-12-25T09:47:44Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2016-12-21T19:19:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=73c1b41e63f040e92669e61a02c7893933bfe743'/>
<id>urn:sha1:73c1b41e63f040e92669e61a02c7893933bfe743</id>
<content type='text'>
When the state names got added a script was used to add the extra argument
to the calls. The script basically converted the state constant to a
string, but the cleanup to convert these strings into meaningful ones did
not happen.

Replace all the useless strings with 'subsys/xxx/yyy:state' strings which
are used in all the other places already.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Sebastian Siewior &lt;bigeasy@linutronix.de&gt;
Link: http://lkml.kernel.org/r/20161221192112.085444152@linutronix.de
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;

</content>
</entry>
<entry>
<title>powerpc/perf: macros for power9 format encoding</title>
<updated>2016-12-02T05:26:57Z</updated>
<author>
<name>Madhavan Srinivasan</name>
</author>
<published>2016-12-02T00:35:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c7c3f568beff2b72f02a7807ec48b0bc66a7ead6'/>
<id>urn:sha1:c7c3f568beff2b72f02a7807ec48b0bc66a7ead6</id>
<content type='text'>
Patch to add macros and contants to support the power9 raw
event encoding format. Couple of functions added since some of the
bits fields like PMCxCOMB and THRESH_CMP has different width and location
within MMCR* in power9.

Signed-off-by: Madhavan Srinivasan &lt;maddy@linux.vnet.ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc/perf: power9 raw event format encoding</title>
<updated>2016-12-02T05:26:56Z</updated>
<author>
<name>Madhavan Srinivasan</name>
</author>
<published>2016-12-02T00:35:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=18201b204286a1ef478ef52b00ab9f6c5739b4f6'/>
<id>urn:sha1:18201b204286a1ef478ef52b00ab9f6c5739b4f6</id>
<content type='text'>
Patch to update the power9 raw event encoding format
information and add support for the same in power9-pmu.c.

Signed-off-by: Madhavan Srinivasan &lt;maddy@linux.vnet.ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc/perf: update attribute_group data structure</title>
<updated>2016-12-02T05:26:55Z</updated>
<author>
<name>Madhavan Srinivasan</name>
</author>
<published>2016-12-02T00:35:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=520ed5b04f3e807e5bf1b6981ffb50524632fc5f'/>
<id>urn:sha1:520ed5b04f3e807e5bf1b6981ffb50524632fc5f</id>
<content type='text'>
Rename the power_pmu and attribute_group variables that
support PowerISA v2.07. Add a cpu feature flag check to pick
the PowerISA v2.07 format structures to support.

Signed-off-by: Madhavan Srinivasan &lt;maddy@linux.vnet.ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc/perf: factor out the event format field</title>
<updated>2016-12-02T05:26:54Z</updated>
<author>
<name>Madhavan Srinivasan</name>
</author>
<published>2016-12-02T00:34:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=60b00025641e2921dcfba4d54b6cf7f0c5903677'/>
<id>urn:sha1:60b00025641e2921dcfba4d54b6cf7f0c5903677</id>
<content type='text'>
Factor out the format field structure for PowerISA v2.07.

Signed-off-by: Madhavan Srinivasan &lt;maddy@linux.vnet.ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
</feed>
