<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/tools/testing/selftests/breakpoints/breakpoint_test_arm64.c, branch linux-4.16.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.16.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.16.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2017-11-15T15:01:43Z</updated>
<entry>
<title>selftests: breakpoints: fix compile error on breakpoint_test_arm64</title>
<updated>2017-11-15T15:01:43Z</updated>
<author>
<name>Sumit Semwal</name>
<email>sumit.semwal@linaro.org</email>
</author>
<published>2017-10-23T07:42:22Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=af7dc093467a917278ec3b61aea46377b4372d8c'/>
<id>urn:sha1:af7dc093467a917278ec3b61aea46377b4372d8c</id>
<content type='text'>
The current mainline breakpoints test for arm64 fails to compile with

breakpoint_test_arm64.c: In function ‘set_watchpoint’:
breakpoint_test_arm64.c:97:28: error: storage size of ‘dreg_state’ isn’t known
  struct user_hwdebug_state dreg_state;

Adding a direct include for asm/ptrace.h helps it to build, and passes
the test on mainline on hikey.

Signed-off-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Signed-off-by: Shuah Khan &lt;shuahkh@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>selftests: breakpoints: breakpoint_test_arm64: convert test to use TAP13</title>
<updated>2017-06-30T22:16:17Z</updated>
<author>
<name>Shuah Khan</name>
<email>shuahkh@osg.samsung.com</email>
</author>
<published>2017-06-29T21:52:42Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=0732d06ee563bbcdf34ec889918baa62451b580d'/>
<id>urn:sha1:0732d06ee563bbcdf34ec889918baa62451b580d</id>
<content type='text'>
Convert breakpoint_test_arm64 output to TAP13 format. Use ksft_* var arg
msg api to include strerror() info. in the output. Change output from
child process to use ksft_print_msg() instead of ksft_exit_* to avoid
double counting tests and ensure parent process does the test counter
incrementing.

Signed-off-by: Shuah Khan &lt;shuahkh@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>kselftest: make callers of ksft_exit_skip() output the reason for skipping</title>
<updated>2017-06-16T00:10:29Z</updated>
<author>
<name>Paul Elder</name>
<email>paul.elder@pitt.edu</email>
</author>
<published>2017-06-15T15:54:22Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e4d1065b315b433f224920f1617bc3783230501c'/>
<id>urn:sha1:e4d1065b315b433f224920f1617bc3783230501c</id>
<content type='text'>
Make the three tests that did use the old ksft_ext_skip()
(breakpoints/breakpoint_test_arm64, breakpoints/step_after_suspend_test,
and membarrier_test) use the new one, with an output for the
reason for skipping all the tests.

Signed-off-by: Paul Elder &lt;paul.elder@pitt.edu&gt;
Signed-off-by: Shuah Khan &lt;shuahkh@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>selftests: arm64: add test for unaligned/inexact watchpoint handling</title>
<updated>2016-11-18T17:26:15Z</updated>
<author>
<name>Pratyush Anand</name>
<email>panand@redhat.com</email>
</author>
<published>2016-11-14T14:02:46Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f43365ee17f8d22b1f887d2b26faa0837ca85138'/>
<id>urn:sha1:f43365ee17f8d22b1f887d2b26faa0837ca85138</id>
<content type='text'>
ARM64 hardware expects 64bit aligned address for watchpoint invocation.
However, it provides byte selection method to select any number of
consecutive byte set within the range of 1-8.

This patch adds support to test all such byte selection option for
different memory write sizes.

Patch also adds a test for handling the case when the cpu does not
report an address which exactly matches one of the regions we have
been watching (which is a situation permitted by the spec if an
instruction accesses both watched and unwatched regions). The test
was failing on a MSM8996pro before this patch series and is
passing now.

Signed-off-by: Pavel Labath &lt;labath@google.com&gt;
Signed-off-by: Pratyush Anand &lt;panand@redhat.com&gt;
Signed-off-by: Will Deacon &lt;will.deacon@arm.com&gt;
</content>
</entry>
</feed>
