<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/tools/testing/selftests/vDSO/vdso_test_getcpu.c, branch linux-6.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.2.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.2.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2022-11-03T09:28:01Z</updated>
<entry>
<title>selftests/vDSO: Add riscv getcpu &amp; gettimeofday test</title>
<updated>2022-11-03T09:28:01Z</updated>
<author>
<name>Guo Ren</name>
<email>guoren@kernel.org</email>
</author>
<published>2022-11-03T08:04:51Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d942f231afc037490538cea67bb0c667e6d12214'/>
<id>urn:sha1:d942f231afc037490538cea67bb0c667e6d12214</id>
<content type='text'>
Enable vDSO getcpu &amp; gettimeofday test for riscv. But only riscv64
supports __vdso_gettimeofday and riscv32 is under development.

VERSION
{
        LINUX_4.15 {
        global:
                __vdso_rt_sigreturn;
                __vdso_gettimeofday;
                __vdso_clock_gettime;
                __vdso_clock_getres;
                __vdso_getcpu;
                __vdso_flush_icache;
        local: *;
        };
}

Co-developed-by: haocheng.zy &lt;haocheng.zy@linux.alibaba.com&gt;
Signed-off-by: haocheng.zy &lt;haocheng.zy@linux.alibaba.com&gt;
Suggested-by: Mao Han &lt;han_mao@linux.alibaba.com&gt;
Reviewed-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;
Signed-off-by: Guo Ren &lt;guoren@linux.alibaba.com&gt;
Signed-off-by: Guo Ren &lt;guoren@kernel.org&gt;
Cc: Paul Walmsley &lt;paul.walmsley@sifive.com&gt;
Cc: Palmer Dabbelt &lt;palmer@dabbelt.com&gt;
Cc: Elliott Hughes &lt;enh@google.com&gt;
Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>selftests: vdso: Add a selftest for vDSO getcpu()</title>
<updated>2020-05-22T17:05:07Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2020-05-22T16:21:39Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=2e9a97256616f2f7280f8bed8c98e57bfd745a4d'/>
<id>urn:sha1:2e9a97256616f2f7280f8bed8c98e57bfd745a4d</id>
<content type='text'>
Provide a very basic selftest for getcpu() which similarly to our existing
test for gettimeofday() looks up the function in the vDSO and prints the
results it gets if the function exists and succeeds.

Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;
</content>
</entry>
</feed>
