<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-linux/arch/nds32/kernel/vdso.c, branch jd/unified-crypt-queue</title>
<subtitle>WireGuard for the Linux kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-linux/atom/arch/nds32/kernel/vdso.c?h=jd%2Funified-crypt-queue</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-linux/atom/arch/nds32/kernel/vdso.c?h=jd%2Funified-crypt-queue'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/'/>
<updated>2019-05-16T07:07:08Z</updated>
<entry>
<title>nds32: Fix vDSO clock_getres()</title>
<updated>2019-05-16T07:07:08Z</updated>
<author>
<name>Vincenzo Frascino</name>
<email>vincenzo.frascino@arm.com</email>
</author>
<published>2019-04-01T11:51:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=af9abd65983cf3602c03ef3d16fe549ba1f3eeed'/>
<id>urn:sha1:af9abd65983cf3602c03ef3d16fe549ba1f3eeed</id>
<content type='text'>
clock_getres in the vDSO library has to preserve the same behaviour
of posix_get_hrtimer_res().

In particular, posix_get_hrtimer_res() does:
    sec = 0;
    ns = hrtimer_resolution;
and hrtimer_resolution depends on the enablement of the high
resolution timers that can happen either at compile or at run time.

Fix the nds32 vdso implementation of clock_getres keeping a copy of
hrtimer_resolution in vdso data and using that directly.

Cc: Greentime Hu &lt;green.hu@gmail.com&gt;
Cc: Vincent Chen &lt;deanbo422@gmail.com&gt;
Signed-off-by: Vincenzo Frascino &lt;vincenzo.frascino@arm.com&gt;
Signed-off-by: Greentime Hu &lt;greentime@andestech.com&gt;
</content>
</entry>
<entry>
<title>nds32: Fix compiler warning, Wstringop-overflow, in vdso.c</title>
<updated>2018-05-23T05:26:22Z</updated>
<author>
<name>Vincent Chen</name>
<email>vincentc@andestech.com</email>
</author>
<published>2018-05-21T06:36:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=a30e7d1e37e8acc37c25420d93af218166cca3ae'/>
<id>urn:sha1:a30e7d1e37e8acc37c25420d93af218166cca3ae</id>
<content type='text'>
Getting a compiler warning, Wstringop-overflow, in
arch/nds32/kernel/vdso.c when kernel is built by gcc-8. Declaring
vdso_start and vdso_end as a pointer to fix this compiler warning.

Signed-off-by: Vincent Chen &lt;vincentc@andestech.com&gt;
Reviewed-by: Greentime Hu &lt;greentime@andestech.com&gt;
Signed-off-by: Greentime Hu &lt;greentime@andestech.com&gt;
</content>
</entry>
<entry>
<title>nds32: VDSO support</title>
<updated>2018-02-22T02:44:33Z</updated>
<author>
<name>Greentime Hu</name>
<email>greentime@andestech.com</email>
</author>
<published>2017-10-25T03:16:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=eefacd1dfe38a3334d2e1c44fee0d7b0fdd5d252'/>
<id>urn:sha1:eefacd1dfe38a3334d2e1c44fee0d7b0fdd5d252</id>
<content type='text'>
This patch adds VDSO support. The VDSO code is currently used for
sys_rt_sigreturn() and optimised gettimeofday() (using the SoC timer counter).

Signed-off-by: Vincent Chen &lt;vincentc@andestech.com&gt;
Signed-off-by: Greentime Hu &lt;greentime@andestech.com&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
</feed>
