<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-obmc-linux/tools/testing/selftests/breakpoints, branch dev-4.13</title>
<subtitle>Talos™ II Linux sources for OpenBMC</subtitle>
<id>https://git.raptorcs.com/git/talos-obmc-linux/atom?h=dev-4.13</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-obmc-linux/atom?h=dev-4.13'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/'/>
<updated>2017-06-30T22:16:17+00:00</updated>
<entry>
<title>selftests: breakpoints: breakpoint_test_arm64: convert test to use TAP13</title>
<updated>2017-06-30T22:16:17+00:00</updated>
<author>
<name>Shuah Khan</name>
<email>shuahkh@osg.samsung.com</email>
</author>
<published>2017-06-29T21:52:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/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>selftests: breakpoints: step_after_suspend_test use ksft_* var arg msg api</title>
<updated>2017-06-30T22:16:10+00:00</updated>
<author>
<name>Shuah Khan</name>
<email>shuahkh@osg.samsung.com</email>
</author>
<published>2017-06-29T21:37:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=3fa72f2c784b5c05f271ab8b34116d6a8e8d108d'/>
<id>urn:sha1:3fa72f2c784b5c05f271ab8b34116d6a8e8d108d</id>
<content type='text'>
Use ksft_* var arg msg to include strerror() info. in test output and
simplify test_result and exit_* using var arg msg api.

Signed-off-by: Shuah Khan &lt;shuahkh@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>selftests: breakpoint_test: use ksft_* var arg msg api</title>
<updated>2017-06-30T22:15:58+00:00</updated>
<author>
<name>Shuah Khan</name>
<email>shuahkh@osg.samsung.com</email>
</author>
<published>2017-06-29T21:19:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=4ca562878b907e34fdb652c3a8cb631fd5efe706'/>
<id>urn:sha1:4ca562878b907e34fdb652c3a8cb631fd5efe706</id>
<content type='text'>
Use ksft_* var arg msg to include strerror() info. in test output. Change
output from child process to use ksft_print_msg() instead of ksft_exit_*
to avoid double counting tests and ensure parent does the incrementing
test counters. Also includes unused variable cleanup.

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:29+00:00</updated>
<author>
<name>Paul Elder</name>
<email>paul.elder@pitt.edu</email>
</author>
<published>2017-06-15T15:54:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/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>kselftest: breakpoints: convert step_after_suspend_test to TAP13 output</title>
<updated>2017-06-13T18:57:58+00:00</updated>
<author>
<name>Paul Elder</name>
<email>paul.elder@pitt.edu</email>
</author>
<published>2017-06-12T06:56:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=b901216441e6599063ff2828ec7f2f902b9902f0'/>
<id>urn:sha1:b901216441e6599063ff2828ec7f2f902b9902f0</id>
<content type='text'>
Make the step_after_suspend test output in the TAP13 format by using the
TAP13 output functions defined in kselftest.h

Signed-off-by: Paul Elder &lt;paul.elder@pitt.edu&gt;
Signed-off-by: Alice Ferrazzi &lt;alice.ferrazzi@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Shuah Khan &lt;shuahkh@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>kselftest: breakpoints: convert breakpoint_test to TAP13 output</title>
<updated>2017-06-13T18:57:51+00:00</updated>
<author>
<name>Paul Elder</name>
<email>paul.elder@pitt.edu</email>
</author>
<published>2017-06-12T06:56:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=748e84b79af0121a39eb55f0cb5a727e08eb91b2'/>
<id>urn:sha1:748e84b79af0121a39eb55f0cb5a727e08eb91b2</id>
<content type='text'>
Make the breakpoints test output in the TAP13 format by using the
TAP13 output functions defined in kselftest.h

Signed-off-by: Paul Elder &lt;paul.elder@pitt.edu&gt;
Signed-off-by: Alice Ferrazzi &lt;alice.ferrazzi@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Shuah Khan &lt;shuahkh@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>selftests: breakpoints: allow to cross-compile for aarch64/arm64</title>
<updated>2017-04-21T17:25:26+00:00</updated>
<author>
<name>Fathi Boudra</name>
<email>fathi.boudra@linaro.org</email>
</author>
<published>2017-03-22T18:04:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=b13f76664d68b9b9fc0827c5dcfe6811232db5f7'/>
<id>urn:sha1:b13f76664d68b9b9fc0827c5dcfe6811232db5f7</id>
<content type='text'>
To build breakpoint_test_arm64, ARCH value is only tested for "aarch64".
It covers only the native build because it's computed from uname -m output.
For cross-compilation, ARCH is set to arm64 and prevent to cross-compile
the test.
Fix the test to allow both native and cross-compilation of the test.

Note: glibc is missing several of the TRAP_* constants in the userspace
      definitions. Specifically TRAP_BRANCH and TRAP_HWBKPT.
      See https://sourceware.org/bugzilla/show_bug.cgi?id=21286

Signed-off-by: Fathi Boudra &lt;fathi.boudra@linaro.org&gt;
Tested-by: Naresh Kamboju &lt;naresh.kamboju@linaro.org&gt;
Signed-off-by: Shuah Khan &lt;shuahkh@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>selftests: remove duplicated all and clean target</title>
<updated>2017-01-05T20:41:35+00:00</updated>
<author>
<name>bamvor.zhangjian@huawei.com</name>
<email>bamvor.zhangjian@huawei.com</email>
</author>
<published>2016-11-29T11:55:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=88baa78d1f318e57c7cccbfe55d485befd1ce696'/>
<id>urn:sha1:88baa78d1f318e57c7cccbfe55d485befd1ce696</id>
<content type='text'>
Currently, kselftest use TEST_PROGS, TEST_PROGS_EXTENDED, TEST_FILES to
indicate the test program, extended test program and test files. It is
easy to understand the purpose of these files. But mix of compiled and
uncompiled files lead to duplicated "all" and "clean" targets.

In order to remove the duplicated targets, introduce TEST_GEN_PROGS,
TEST_GEN_PROGS_EXTENDED, TEST_GEN_FILES to indicate the compiled
objects.

Also, the later patch will make use of TEST_GEN_XXX to redirect these
files to output directory indicated by KBUILD_OUTPUT or O.

And add this changes to "Contributing new tests(details)" of
Documentation/kselftest.txt.

Signed-off-by: Bamvor Jian Zhang &lt;bamvor.zhangjian@linaro.org&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:15+00:00</updated>
<author>
<name>Pratyush Anand</name>
<email>panand@redhat.com</email>
</author>
<published>2016-11-14T14:02:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/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>
<entry>
<title>selftests: add missing .gitignore file or entry</title>
<updated>2016-02-25T20:16:36+00:00</updated>
<author>
<name>Sudeep Holla</name>
<email>sudeep.holla@arm.com</email>
</author>
<published>2016-02-25T13:57:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=3b48bfc0ab997d43fa89190c769a881db853c569'/>
<id>urn:sha1:3b48bfc0ab997d43fa89190c769a881db853c569</id>
<content type='text'>
Only IPC selftest is missing the .gitignore file, so add it.
Also step_after_suspend_test is missing in breakpoints selftest
.gitignore file

Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
Signed-off-by: Shuah Khan &lt;shuahkh@osg.samsung.com&gt;
</content>
</entry>
</feed>
