<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-openembedded.git/meta-oe/recipes-kernel/kernel-selftest, branch walnascar</title>
<subtitle>Mirror of git.openembedded.org/meta-openembedded</subtitle>
<id>https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=walnascar</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=walnascar'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/'/>
<updated>2025-10-01T11:53:12+00:00</updated>
<entry>
<title>kernel-selftest: handle missing -64.h headers</title>
<updated>2025-10-01T11:53:12+00:00</updated>
<author>
<name>Nylon Chen</name>
<email>nylon.chen@sifive.com</email>
</author>
<published>2025-09-30T09:18:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=6cc88c4e9bd0179e9358339ce6d964a111694ead'/>
<id>urn:sha1:6cc88c4e9bd0179e9358339ce6d964a111694ead</id>
<content type='text'>
Some toolchains ship only bits/*.h without the -64.h suffix,
causing the recipe to fail. Add a fallback to use *.h if
*-64.h is not found, and warn if neither exists.

Signed-off-by: Nylon Chen &lt;nylon.chen@sifive.com&gt;
Signed-off-by: Joao Marcos Costa &lt;joaomarcos.costa@bootlin.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
(cherry picked from commit 9472f4a728b4ec228605e387de32697312e8e549)
Signed-off-by: Ankur Tyagi &lt;ankur.tyagi85@gmail.com&gt;
Signed-off-by: Gyorgy Sarvari &lt;skandigraun@gmail.com&gt;
</content>
</entry>
<entry>
<title>kernel-selftest: Fix PTP selftest compilation for kernel 6.7+</title>
<updated>2025-10-01T11:53:12+00:00</updated>
<author>
<name>jacobpanov</name>
<email>jacobpanov@gmail.com</email>
</author>
<published>2025-09-30T09:18:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=85c38da17b54a94492567eeb078db69c1459a11a'/>
<id>urn:sha1:85c38da17b54a94492567eeb078db69c1459a11a</id>
<content type='text'>
The PTP selftest fails to compile with kernel versions 6.7+ due to
missing header definitions for PTP_MASK_CLEAR_ALL and PTP_MASK_EN_SINGLE.
These definitions were introduced in kernel v6.7 with commit c5a445b.

This fix adds kernel headers to CFLAGS during compilation to ensure
the required definitions are available.

Error before fix:
testptp.c:613:31: error: 'PTP_MASK_CLEAR_ALL' undeclared
testptp.c:615:38: error: 'PTP_MASK_EN_SINGLE' undeclared

Fixes: #878
Signed-off-by: Jacob Panov &lt;jacobpanov@gmail.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
(cherry picked from commit f30afbe04c2e09b002e820dc0f0537ab292940b4)
Signed-off-by: Ankur Tyagi &lt;ankur.tyagi85@gmail.com&gt;
Signed-off-by: Gyorgy Sarvari &lt;skandigraun@gmail.com&gt;
</content>
</entry>
<entry>
<title>recipes: Fix variable assignment whitespace</title>
<updated>2025-03-20T15:46:56+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2025-03-19T20:07:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=eac1f5b9c0b1b81aa24827be94e4a1a91cd49eee'/>
<id>urn:sha1:eac1f5b9c0b1b81aa24827be94e4a1a91cd49eee</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>kernel-selftest: Update to allow for turning on all tests</title>
<updated>2024-10-11T14:52:23+00:00</updated>
<author>
<name>Ryan Eatmon</name>
<email>reatmon@ti.com</email>
</author>
<published>2024-10-11T14:24:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=dc6d6e06aa3394d1f4db38d63f06d5bec43426b8'/>
<id>urn:sha1:dc6d6e06aa3394d1f4db38d63f06d5bec43426b8</id>
<content type='text'>
In testing adding in more kernel-selftests there were a number of issues
that arose that require changes that are more appropriate for the main
recipe and not a bbappend.

1) Stop looping over TEST_LIST ourselves and use the TARGETS="" provided
by the kernel-sefltest Makefiles.  This correctly sets up various
variables that the selftest Makefiles all need.  Also, do_install
becomes cleaner because the main Makefile already installs the list of
tests and the top level script.

2) Add DEBUG_PREFIX_MAP to the CC setting to avoid some "buildpaths" QA
errors.

3) Add two INSANE_SKIPS for "already-stripped" and "ldflags".  Some of
the selftest Makefiles are adding flags to their compiles that basically
break the above checks.  Since these compiles are not really meant as
user level tools and instead testing, it should be ok to just always set
INSANE_SKIP for these two.

Signed-off-by: Ryan Eatmon &lt;reatmon@ti.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>kernel-selftest: Fix build on 32bit arches with 64bit time_t</title>
<updated>2024-09-18T04:44:13+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2024-09-18T04:41:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=204c20483490e3470ada0ad183fbb5b692f6eefb'/>
<id>urn:sha1:204c20483490e3470ada0ad183fbb5b692f6eefb</id>
<content type='text'>
Fix warning where S is expected to exist before do_configure

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>recipes: Start WORKDIR -&gt; UNPACKDIR transition</title>
<updated>2024-05-23T15:44:44+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2024-05-13T21:16:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=ffc64e9c6fee0af7eea3466135416d011172a5e6'/>
<id>urn:sha1:ffc64e9c6fee0af7eea3466135416d011172a5e6</id>
<content type='text'>
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>kernel-selftest: no longer skip ldflags QA</title>
<updated>2024-02-10T09:48:01+00:00</updated>
<author>
<name>Thomas Perrot</name>
<email>thomas.perrot@bootlin.com</email>
</author>
<published>2024-02-09T23:20:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=24b2848f0423b8c3e215a80b913203b3e964dca4'/>
<id>urn:sha1:24b2848f0423b8c3e215a80b913203b3e964dca4</id>
<content type='text'>
Because there is no longer the error.

Signed-off-by: Thomas Perrot &lt;thomas.perrot@bootlin.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>kernel-selftest: Add few more testcases</title>
<updated>2024-01-27T17:48:32+00:00</updated>
<author>
<name>Chirag Shilwant</name>
<email>115738422+cshilwant@users.noreply.github.com</email>
</author>
<published>2024-01-26T07:23:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=02806ed4c16d7e6f80653baec71be071d4e8f9c0'/>
<id>urn:sha1:02806ed4c16d7e6f80653baec71be071d4e8f9c0</id>
<content type='text'>
This commit will build and install following testcases under /usr/kernel-selftest of filesystem,
    * ptp
    * timers

Signed-off-by: Chirag Shilwant &lt;c-shilwant@ti.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>kernel-selftest: remove Wno-alloc-size-larger-than from scripts/Makefile.extrawarn</title>
<updated>2024-01-11T20:11:36+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2024-01-11T00:25:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=d3fb6ea06e4f51b39a82f72b291ed34e463e2f60'/>
<id>urn:sha1:d3fb6ea06e4f51b39a82f72b291ed34e463e2f60</id>
<content type='text'>
6.6+ kernel has the warning options moved to dedicated include file
under scripts called Makefile.extrawarn, therefore search for this
file as well to remove this unrecognized option by clang

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>kernel-selftest: Use clang options when clang is available</title>
<updated>2023-10-10T18:52:58+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2023-10-10T18:12:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=6e0da8642ac8e6d277ee82ab91ce1248663fc58d'/>
<id>urn:sha1:6e0da8642ac8e6d277ee82ab91ce1248663fc58d</id>
<content type='text'>
Enable bpf only with clang

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
</feed>
