<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/testing/selftests/powerpc/mm, branch linux-5.12.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.12.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.12.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2021-01-18T21:04:32Z</updated>
<entry>
<title>selftests/powerpc: Fix exit status of pkey tests</title>
<updated>2021-01-18T21:04:32Z</updated>
<author>
<name>Sandipan Das</name>
</author>
<published>2021-01-18T09:31:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=92a5e1fdb286851d5bd0eb966b8d075be27cf5ee'/>
<id>urn:sha1:92a5e1fdb286851d5bd0eb966b8d075be27cf5ee</id>
<content type='text'>
Since main() does not return a value explicitly, the
return values from FAIL_IF() conditions are ignored
and the tests can still pass irrespective of failures.
This makes sure that we always explicitly return the
correct test exit status.

Fixes: 1addb6444791 ("selftests/powerpc: Add test for execute-disabled pkeys")
Fixes: c27f2fd1705a ("selftests/powerpc: Add test for pkey siginfo verification")
Reported-by: Eirik Fuller &lt;efuller@redhat.com&gt;
Signed-off-by: Sandipan Das &lt;sandipan@linux.ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20210118093145.10134-1-sandipan@linux.ibm.com
</content>
</entry>
<entry>
<title>selftests/powerpc: Fix uninitialized variable warning</title>
<updated>2020-12-03T14:01:21Z</updated>
<author>
<name>Harish</name>
</author>
<published>2020-12-01T09:24:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c9344769e2b46ba28b947bec7a8a8f0a091ecd57'/>
<id>urn:sha1:c9344769e2b46ba28b947bec7a8a8f0a091ecd57</id>
<content type='text'>
Patch fixes uninitialized variable warning in bad_accesses test
which causes the selftests build to fail in older distibutions

bad_accesses.c: In function ‘bad_access’:
bad_accesses.c:52:9: error: ‘x’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   printf("Bad - no SEGV! (%c)\n", x);
         ^
cc1: all warnings being treated as errors

Signed-off-by: Harish &lt;harish@linux.ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20201201092403.238182-1-harish@linux.ibm.com
</content>
</entry>
<entry>
<title>Merge branch 'fixes' into next</title>
<updated>2020-09-14T12:57:18Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2020-09-14T12:57:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=960e3708135ac8b03ef3d1fa773e369cfacc76b9'/>
<id>urn:sha1:960e3708135ac8b03ef3d1fa773e369cfacc76b9</id>
<content type='text'>
Bring in our fixes branch for this cycle which avoids some small
conflicts with upcoming commits.
</content>
</entry>
<entry>
<title>selftests/powerpc: Give the bad_accesses test longer to run</title>
<updated>2020-09-08T12:23:54Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2020-08-19T01:57:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=17c98a541dc9bb1162877af41cddbdca043f9a59'/>
<id>urn:sha1:17c98a541dc9bb1162877af41cddbdca043f9a59</id>
<content type='text'>
On older systems this test takes longer to run (duh), give it five
minutes which is long enough on a G5 970FX @ 1.6GHz.

Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20200819015727.1977134-2-mpe@ellerman.id.au
</content>
</entry>
<entry>
<title>selftests/powerpc: Skip PROT_SAO test in guests/LPARS</title>
<updated>2020-09-01T12:47:02Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2020-09-01T12:45:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fc1f178cdb31783ff37296ecae817a1045a1a513'/>
<id>urn:sha1:fc1f178cdb31783ff37296ecae817a1045a1a513</id>
<content type='text'>
In commit 9b725a90a8f1 ("powerpc/64s: Disallow PROT_SAO in LPARs by
default") PROT_SAO was disabled in guests/LPARs by default. So skip
the test if we are running in a guest to avoid a spurious failure.

Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20200901124653.523182-1-mpe@ellerman.id.au
</content>
</entry>
<entry>
<title>selftests/powerpc: Update PROT_SAO test to skip ISA 3.1</title>
<updated>2020-08-24T04:12:54Z</updated>
<author>
<name>Shawn Anastasio</name>
</author>
<published>2020-08-21T18:55:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=24ded46f53f954b9cf246c5d4e3770c7a8aa84ce'/>
<id>urn:sha1:24ded46f53f954b9cf246c5d4e3770c7a8aa84ce</id>
<content type='text'>
Since SAO support was removed from ISA 3.1, skip the
prot_sao test if PPC_FEATURE2_ARCH_3_1 is set.

Signed-off-by: Shawn Anastasio &lt;shawn@anastas.io&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20200821185558.35561-4-shawn@anastas.io
</content>
</entry>
<entry>
<title>Revert "powerpc/64s: Remove PROT_SAO support"</title>
<updated>2020-08-24T04:12:53Z</updated>
<author>
<name>Shawn Anastasio</name>
</author>
<published>2020-08-21T18:55:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=12564485ed8caac3c18572793ec01330792c7191'/>
<id>urn:sha1:12564485ed8caac3c18572793ec01330792c7191</id>
<content type='text'>
This reverts commit 5c9fa16e8abd342ce04dc830c1ebb2a03abf6c05.

Since PROT_SAO can still be useful for certain classes of software,
reintroduce it. Concerns about guest migration for LPARs using SAO
will be addressed next.

Signed-off-by: Shawn Anastasio &lt;shawn@anastas.io&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20200821185558.35561-2-shawn@anastas.io
</content>
</entry>
<entry>
<title>selftests/powerpc: Remove powerpc special cases from stack expansion test</title>
<updated>2020-07-29T11:02:12Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2020-07-24T09:25:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=73da08f6966b81feb429af4fb3229da4cf21d6d9'/>
<id>urn:sha1:73da08f6966b81feb429af4fb3229da4cf21d6d9</id>
<content type='text'>
Now that the powerpc code behaves the same as other architectures we
can drop the special cases we had.

Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20200724092528.1578671-5-mpe@ellerman.id.au
</content>
</entry>
<entry>
<title>selftests/powerpc: Update the stack expansion test</title>
<updated>2020-07-29T11:02:12Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2020-07-24T09:25:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9ee571d84bf8cfdd587a1acbf3490ca90fc40c9d'/>
<id>urn:sha1:9ee571d84bf8cfdd587a1acbf3490ca90fc40c9d</id>
<content type='text'>
Update the stack expansion load/store test to take into account the
new allowance of 4224 bytes below the stack pointer.

Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20200724092528.1578671-3-mpe@ellerman.id.au
</content>
</entry>
<entry>
<title>selftests/powerpc: Add test of stack expansion logic</title>
<updated>2020-07-29T11:02:11Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2020-07-24T09:25:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c9938a9dac95be7650218cdd8e9d1f882e7b5691'/>
<id>urn:sha1:c9938a9dac95be7650218cdd8e9d1f882e7b5691</id>
<content type='text'>
We have custom stack expansion checks that it turns out are extremely
badly tested and contain bugs, surprise. So add some tests that
exercise the code and capture the current boundary conditions.

The signal test currently fails on 64-bit kernels because the 2048
byte allowance for the signal frame is too small, we will fix that in
a subsequent patch.

Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20200724092528.1578671-1-mpe@ellerman.id.au
</content>
</entry>
</feed>
