<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-openembedded.git/meta-oe/recipes-kernel/kernel-selftest, branch dunfell</title>
<subtitle>Mirror of git.openembedded.org/meta-openembedded</subtitle>
<id>https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=dunfell</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=dunfell'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/'/>
<updated>2020-04-13T18:42:55+00:00</updated>
<entry>
<title>kernel-selftest: Specify the target with -target instead of -arch</title>
<updated>2020-04-13T18:42:55+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-04-13T18:41:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=2bb2736bf1c03cd796dbf1488dbc0d18a49e2d56'/>
<id>urn:sha1:2bb2736bf1c03cd796dbf1488dbc0d18a49e2d56</id>
<content type='text'>
This ensures that generated code is properly cross compiled

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>kernel-selftest: only emit warning on clang if bpf is built</title>
<updated>2020-04-01T06:56:41+00:00</updated>
<author>
<name>Scott Branden</name>
<email>scott.branden@broadcom.com</email>
</author>
<published>2020-04-01T05:15:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=31da4a2cb173d236d16098d351335ba780c89808'/>
<id>urn:sha1:31da4a2cb173d236d16098d351335ba780c89808</id>
<content type='text'>
Only emit warning on clang if bpf is actually in PACKAGECONFIG.

Signed-off-by: Scott Branden &lt;scott.branden@broadcom.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>kernel-selftest: add firmware tests</title>
<updated>2020-04-01T04:32:50+00:00</updated>
<author>
<name>Scott Branden</name>
<email>scott.branden@broadcom.com</email>
</author>
<published>2020-04-01T03:33:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=a3df40b1ba8e086700f63c63f353f69a673d501c'/>
<id>urn:sha1:a3df40b1ba8e086700f63c63f353f69a673d501c</id>
<content type='text'>
Add firmware tests to kernel-selftest.

Signed-off-by: Scott Branden &lt;scott.branden@broadcom.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>kernel-selftest: Disable bpf tests on mips</title>
<updated>2020-02-02T16:07:59+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-02-01T02:23:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=6e936c45d498825aacbac3d8945f7727cfa68061'/>
<id>urn:sha1:6e936c45d498825aacbac3d8945f7727cfa68061</id>
<content type='text'>
5.4 kernel exposes a problem, where its using host includes to compile
BPF tests and it fails for mips because ptrace.h is quite different so
it can not find the needed pt_struct definitions during cross compile

% clang -fno-stack-protector -I. -I./include/uapi -I../../../include/uapi -I/mnt/b/yoe/build/tmp/work/qemumips-yoe-linux/kernel-selft
est/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf/../usr/include -D__TARGET_ARCH_mips -g -idirafter /mnt/b/yoe/build/tmp/wor
k/qemumips-yoe-linux/kernel-selftest/1.0-r0/recipe-sysroot-native/usr/lib/clang/10.0.0/include -Wno-compare-distinct-pointer-types -O2 -target bpf -emit-llvm \
-c progs/loop1.c
progs/loop1.c:21:9: error: no member named 'regs' in 'struct pt_regs'
m = PT_REGS_RC(ctx);
^~~~~~~~~~~~~~~
./bpf_helpers.h:466:29: note: expanded from macro 'PT_REGS_RC'

~~  ^                                                                                                        1 error generated.

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>kernel-selftest: Include rtc tests</title>
<updated>2020-01-07T03:22:26+00:00</updated>
<author>
<name>Andrei Gherzan</name>
<email>andrei@gherzan.ro</email>
</author>
<published>2020-01-06T16:23:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=ef23e883f28945928c755b8a8fadf4a4dce5ff33'/>
<id>urn:sha1:ef23e883f28945928c755b8a8fadf4a4dce5ff33</id>
<content type='text'>
Signed-off-by: Andrei Gherzan &lt;andrei@gherzan.ro&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>kernel-selftest: Exclude from world builds</title>
<updated>2019-09-19T01:51:03+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-09-19T01:50:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=a62ed77703fd9fe9ae9581f14e1e1a3c9a3197d8'/>
<id>urn:sha1:a62ed77703fd9fe9ae9581f14e1e1a3c9a3197d8</id>
<content type='text'>
Avoid need for installing clang on host, or depending on meta-clang

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>kernel-selftest: Needs error.h which is missing in musl</title>
<updated>2019-09-09T16:59:54+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-09-09T16:58:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=6de4264bde8c46016c3f2c24241296a9fad4e6a0'/>
<id>urn:sha1:6de4264bde8c46016c3f2c24241296a9fad4e6a0</id>
<content type='text'>
prog_tests/flow_dissector.c:3:10: fatal error: error.h: No such file or directory
| #include &lt;error.h&gt;
|          ^~~~~~~~~

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>kernel-selftest: Explicitly disable stack protector</title>
<updated>2019-08-29T16:06:54+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-08-29T04:54:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=44c020f87ae3747e4e3164ec53eb153c0f51917a'/>
<id>urn:sha1:44c020f87ae3747e4e3164ec53eb153c0f51917a</id>
<content type='text'>
selftests do not support it and clang from meta-clang builds with this
turned on by default

Disable security flags completely, drop all workarounds used to get
around the hoop

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>kernel-selftest: Warn conditionally about clang-native dependency</title>
<updated>2019-08-29T16:06:54+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-08-28T03:43:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=e1acbf33f7acd4f5b42e777fbd5b4fe506ad559c'/>
<id>urn:sha1:e1acbf33f7acd4f5b42e777fbd5b4fe506ad559c</id>
<content type='text'>
When meta-clang is in mix then it does the right thing already so no
need to warn in that case

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>kernel-selftest: skip -Werror=format-security and fortify</title>
<updated>2019-08-12T16:11:01+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>martin.jansa@gmail.com</email>
</author>
<published>2019-08-12T13:06:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=1ed7486a876d23bc3f9ec5b0af314bf450fa08af'/>
<id>urn:sha1:1ed7486a876d23bc3f9ec5b0af314bf450fa08af</id>
<content type='text'>
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
</feed>
