<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/testing/selftests/powerpc, branch linux-5.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.18.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.18.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2022-08-17T12:42:00Z</updated>
<entry>
<title>selftests/powerpc: Skip energy_scale_info test on older firmware</title>
<updated>2022-08-17T12:42:00Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2022-06-19T23:31:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c25581ce68524e6e376de8f658292297fb704118'/>
<id>urn:sha1:c25581ce68524e6e376de8f658292297fb704118</id>
<content type='text'>
[ Upstream commit 4228a996b072d36f3baafb4afdc2d2d66d2cbadf ]

Older machines don't have the firmware feature that enables the code
this test is testing. Skip the test if the sysfs directory doesn't
exist. Also use the FAIL_IF() macro to provide more verbose error
reporting if an error is encountered.

Fixes: 57201d657eb7 ("selftest/powerpc: Add PAPR sysfs attributes sniff test")
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20220619233103.2666171-1-mpe@ellerman.id.au
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>selftest/powerpc: Add PAPR sysfs attributes sniff test</title>
<updated>2022-03-07T13:05:00Z</updated>
<author>
<name>Pratik R. Sampat</name>
</author>
<published>2022-02-17T10:53:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=57201d657eb76d735298405d3200a3b1f67197e1'/>
<id>urn:sha1:57201d657eb76d735298405d3200a3b1f67197e1</id>
<content type='text'>
Include a testcase to check if the sysfs files for energy and frequency
related have its related attribute files exist and populated

Signed-off-by: Pratik R. Sampat &lt;psampat@linux.ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20220217105321.52941-3-psampat@linux.ibm.com

</content>
</entry>
<entry>
<title>selftests/powerpc: Add test for real address error handling</title>
<updated>2022-03-07T13:04:59Z</updated>
<author>
<name>Ganesh Goudar</name>
</author>
<published>2022-01-07T14:14:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0f4ef8a3bf784f250abc7d0155ae4e9fa22d8210'/>
<id>urn:sha1:0f4ef8a3bf784f250abc7d0155ae4e9fa22d8210</id>
<content type='text'>
Add test for real address or control memory address access
error handling, using NX-GZIP engine.

The error is injected by accessing the control memory address
using illegal instruction, on successful handling the process
attempting to access control memory address using illegal
instruction receives SIGBUS.

Signed-off-by: Ganesh Goudar &lt;ganeshgr@linux.ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20220107141428.67862-2-ganeshgr@linux.ibm.com

</content>
</entry>
<entry>
<title>selftests/powerpc/pmu: Add interface test for mmcra register fields</title>
<updated>2022-03-01T12:40:58Z</updated>
<author>
<name>Kajol Jain</name>
</author>
<published>2022-01-27T07:20:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=29cf373c5766e6bd1b97056d2d678a41777669aa'/>
<id>urn:sha1:29cf373c5766e6bd1b97056d2d678a41777669aa</id>
<content type='text'>
The testcase uses event code 0x35340401e0 to verify the settings for
different fields in Monitor Mode Control Register A (MMCRA). The fields
include thresh_start, thresh_stop thresh_select, sdar mode, sample and
marked bit. Checks if these fields are translated correctly via perf
interface to MMCRA.

Signed-off-by: Kajol Jain &lt;kjain@linux.ibm.com&gt;
[mpe: Add error checking, drop GET_MMCR_FIELD, add to .gitignore]
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20220127072012.662451-21-kjain@linux.ibm.com
</content>
</entry>
<entry>
<title>selftests/powerpc/pmu/: Add interface test for mmcr3_src fields</title>
<updated>2022-03-01T12:40:47Z</updated>
<author>
<name>Kajol Jain</name>
</author>
<published>2022-01-27T07:20:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=02f02feb6b50c67171fd56bc3fd0fd96118c5c12'/>
<id>urn:sha1:02f02feb6b50c67171fd56bc3fd0fd96118c5c12</id>
<content type='text'>
The testcase uses event code 0x1340000001c040 to verify the settings for
different src fields in Monitor Mode Control Register 3 (MMCR3). Checks
if these fields are translated correctly via perf interface to MMCR3 on
ISA v3.1 platform.

Signed-off-by: Kajol Jain &lt;kjain@linux.ibm.com&gt;
[mpe: Add error checking, drop GET_MMCR_FIELD, add to .gitignore]
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20220127072012.662451-20-kjain@linux.ibm.com
</content>
</entry>
<entry>
<title>selftests/powerpc/pmu/: Add interface test for mmcr2_fcs_fch fields</title>
<updated>2022-03-01T12:40:36Z</updated>
<author>
<name>Madhavan Srinivasan</name>
</author>
<published>2022-01-27T07:20:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9ee241f1b1447c7e8ca90902ab1888aa9e7a3c00'/>
<id>urn:sha1:9ee241f1b1447c7e8ca90902ab1888aa9e7a3c00</id>
<content type='text'>
The testcases uses cycles event to verify the freeze counter settings in
Monitor Mode Control Register 2 (MMCR2). Event modifier (exclude_kernel)
setting is used for the event attribute to check the FCxS and FCxH (
Freeze counter in privileged and hypervisor state ) settings via perf
interface.

Signed-off-by: Madhavan Srinivasan &lt;maddy@linux.ibm.com&gt;
[mpe: Add error checking, check MSR for MSR_HV, drop GET_MMCR_FIELD, add to .gitignore]
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20220127072012.662451-19-kjain@linux.ibm.com
</content>
</entry>
<entry>
<title>selftests/powerpc/pmu/: Add interface test for mmcr2_l2l3 field</title>
<updated>2022-03-01T12:40:26Z</updated>
<author>
<name>Madhavan Srinivasan</name>
</author>
<published>2022-01-27T07:20:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ac575b2606bf99a0d01a054196e24e1ad82c194d'/>
<id>urn:sha1:ac575b2606bf99a0d01a054196e24e1ad82c194d</id>
<content type='text'>
The testcases uses event code 0x010000046080 to verify the l2l3 bit
setting for Monitor Mode Control Register 2 (MMCR2). check if this bit
is set correctly via perf interface in ISA v3.1 platform.

Signed-off-by: Madhavan Srinivasan &lt;maddy@linux.ibm.com&gt;
[mpe: Add error checking, drop GET_MMCR_FIELD, add to .gitignore]
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20220127072012.662451-18-kjain@linux.ibm.com
</content>
</entry>
<entry>
<title>selftests/powerpc/pmu/: Add interface test for mmcr1_comb field</title>
<updated>2022-03-01T12:40:16Z</updated>
<author>
<name>Athira Rajeev</name>
</author>
<published>2022-01-27T07:20:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2becea3b6acf308642d6c0e9bd41caf7820753f5'/>
<id>urn:sha1:2becea3b6acf308642d6c0e9bd41caf7820753f5</id>
<content type='text'>
The testcase uses event code "0x26880" to verify the settings for
different fields in Monitor Mode Control Register 1 (MMCR1). The field
include PMCxCOMB. Checks if this field are translated correctly via perf
interface to MMCR1

Add selftest for mmcr1 comb field.

Signed-off-by: Athira Rajeev &lt;atrajeev@linux.vnet.ibm.com&gt;
[mpe: Add error checking, drop GET_MMCR_FIELD, add to .gitignore]
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20220127072012.662451-16-kjain@linux.ibm.com
</content>
</entry>
<entry>
<title>selftests/powerpc/pmu/: Add interface test for mmcr0_pmc56 using pmc5</title>
<updated>2022-03-01T12:40:06Z</updated>
<author>
<name>Athira Rajeev</name>
</author>
<published>2022-01-27T07:20:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6e11374b08723b2c43ae83bd5d48000d695f13a0'/>
<id>urn:sha1:6e11374b08723b2c43ae83bd5d48000d695f13a0</id>
<content type='text'>
The testcase uses event code 0x500fa to verify the FC5-6 bit setting in
Monitor Mode Control Register 0 (MMCR0). Check if FC5-6 bit is not set
in MMCR0 when using Performance Monitor Counter 5 and 6 (PMC5 and PMC6).

Signed-off-by: Athira Rajeev &lt;atrajeev@linux.vnet.ibm.com&gt;
[mpe: Add error checking, drop GET_MMCR_FIELD, add to .gitignore]
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20220127072012.662451-15-kjain@linux.ibm.com
</content>
</entry>
<entry>
<title>selftests/powerpc/pmu/: Add interface test for mmcr0_fc56 field using pmc1</title>
<updated>2022-03-01T12:39:54Z</updated>
<author>
<name>Athira Rajeev</name>
</author>
<published>2022-01-27T07:20:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d5172f2585cd0fc9788aa9b25d3dce6483321792'/>
<id>urn:sha1:d5172f2585cd0fc9788aa9b25d3dce6483321792</id>
<content type='text'>
The testcase uses event code 0x1001e to verify two bit settings (FC5-6
and PMC1CE) in Monitor Mode Control Register 0 (MMCR0). Check if FC5-6
bit to be set in MMCR0 when not using Performance Monitor Counter 5 and
6 (PMC5 and PMC6). And also PMC1CE is expected to be set when using
PMC1. Test if these fields are programmed correctly via perf interface.

Signed-off-by: Athira Rajeev &lt;atrajeev@linux.vnet.ibm.com&gt;
[mpe: Add error checking, drop GET_MMCR_FIELD, add to .gitignore]
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20220127072012.662451-14-kjain@linux.ibm.com
</content>
</entry>
</feed>
