<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/arch/arm, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/arch/arm?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/arch/arm?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-10-19T17:57:40Z</updated>
<entry>
<title>replace ad-hoc illegal instruction with the architecturally defined one</title>
<updated>2020-10-19T17:57:40Z</updated>
<author>
<name>naddy</name>
<email>naddy@openbsd.org</email>
</author>
<published>2020-10-19T17:57:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5bbf88322ed6a7a68da69a643f5f3b793160f0cd'/>
<id>urn:sha1:5bbf88322ed6a7a68da69a643f5f3b793160f0cd</id>
<content type='text'>
("permanently undefined")
ok deraadt@ kettenis@
</content>
</entry>
<entry>
<title>SYS___threxit cannot fail, but this integration looks like a gadget.</title>
<updated>2020-10-18T14:28:16Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-10-18T14:28:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=13df69822c46036ceeeafb612b360459feebf6db'/>
<id>urn:sha1:13df69822c46036ceeeafb612b360459feebf6db</id>
<content type='text'>
Put a hard-trap instruction after the syscall instruction.
ok kettenis mortimer
</content>
</entry>
<entry>
<title>Add support for timeconting in userland.</title>
<updated>2020-07-06T13:33:05Z</updated>
<author>
<name>pirofti</name>
<email>pirofti@openbsd.org</email>
</author>
<published>2020-07-06T13:33:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d82e6535c6efd8305182f77041b2246ccfae1196'/>
<id>urn:sha1:d82e6535c6efd8305182f77041b2246ccfae1196</id>
<content type='text'>
This diff exposes parts of clock_gettime(2) and gettimeofday(2) to
userland via libc eliberating processes from the need for a context
switch everytime they want to count the passage of time.

If a timecounter clock can be exposed to userland than it needs to set
its tc_user member to a non-zero value. Tested with one or multiple
counters per architecture.

The timing data is shared through a pointer found in the new ELF
auxiliary vector AUX_openbsd_timekeep containing timehands information
that is frequently updated by the kernel.

Timing differences between the last kernel update and the current time
are adjusted in userland by the tc_get_timecount() function inside the
MD usertc.c file.

This permits a much more responsive environment, quite visible in
browsers, office programs and gaming (apparently one is are able to fly
in Minecraft now).

Tested by robert@, sthen@, naddy@, kmos@, phessler@, and many others!

OK from at least kettenis@, cheloha@, naddy@, sthen@
</content>
</entry>
<entry>
<title>Anthony Steinhauser reports that 32-bit arm cpus have the same speculation</title>
<updated>2020-03-13T09:31:24Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-03-13T09:31:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f74a2b77455090a00a6234c40c5f02aa52986a5b'/>
<id>urn:sha1:f74a2b77455090a00a6234c40c5f02aa52986a5b</id>
<content type='text'>
problems as 64-bit models.  To resolve the syscall speculation, as a first
step "nop; nop" was added after all occurances of the syscall ("swi 0")
instruction.  Then the kernel was changed to jump over the 2 extra instructions.
In this final step, those pair of nops are converted into the speculation-blocking
sequence ("dsb nsh; isb").
Don't try to build through these multiple steps, use a snapshot instead.
Packages matching the new ABI will be out in a while...
ok kettenis
</content>
</entry>
<entry>
<title>Anthony Steinhauser reports that 32-bit arm cpus have the same speculation</title>
<updated>2020-03-11T12:53:19Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-03-11T12:53:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f377c7672bd38a70b428cd7751ceff0af609e750'/>
<id>urn:sha1:f377c7672bd38a70b428cd7751ceff0af609e750</id>
<content type='text'>
problems as 64-bit models.  For the syscall instruction issue, add nop;nop
after swi 0, in preparation for jumping over a speculation barrier here later.
ok kettenis
</content>
</entry>
<entry>
<title>Mark as 'protected' all the routines from the quad/ and softfloat/ subdirs,</title>
<updated>2019-11-10T22:23:28Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2019-11-10T22:23:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=00b6e344ba691d3d76ced8394494ab6d26b6766c'/>
<id>urn:sha1:00b6e344ba691d3d76ced8394494ab6d26b6766c</id>
<content type='text'>
as well as those in arch/arm/gen/divsi3.S.  This cleans up the PLTs on the
32bit archs.

luna88k testing by aoyama@

"looks good" kettenis@, testing and ok deraadt@
</content>
</entry>
<entry>
<title>Stop exporting the internal _mcount symbol as that's only referenced</title>
<updated>2019-10-26T18:47:10Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2019-10-26T18:47:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=589b4acdbba65d6ecc6e77d9aac5e27618bc75fb'/>
<id>urn:sha1:589b4acdbba65d6ecc6e77d9aac5e27618bc75fb</id>
<content type='text'>
by the ASM stub, which is also in libc.  The compiler only generates
invocations of the latter.

ok mpi@ deraadt@ kettenis@
</content>
</entry>
<entry>
<title>Save and restore the relevant FPU state on armv7.</title>
<updated>2018-06-22T15:18:50Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2018-06-22T15:18:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=552f7563f1a8ac01e161ba76310b413ee23f9931'/>
<id>urn:sha1:552f7563f1a8ac01e161ba76310b413ee23f9931</id>
<content type='text'>
ok deraadt@
</content>
</entry>
<entry>
<title>Clear the sign bit in the QNAN constants used by strtof, strtod and strtold,</title>
<updated>2018-05-28T03:20:25Z</updated>
<author>
<name>jmatthew</name>
<email>jmatthew@openbsd.org</email>
</author>
<published>2018-05-28T03:20:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4f3262728f75ab09c39d31185a1ebdf9938b762e'/>
<id>urn:sha1:4f3262728f75ab09c39d31185a1ebdf9938b762e</id>
<content type='text'>
so passing "nan" and "-nan" produces a NaN with the right sign.
Bug reported and diff provided by George Koehler.
ok kettenis@
</content>
</entry>
<entry>
<title>Drop memory barrier in _atomic_lock() implementation since the callers now</title>
<updated>2018-05-17T20:28:32Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2018-05-17T20:28:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a7720a9992916b369aecbf7f5386e0c41a6850a2'/>
<id>urn:sha1:a7720a9992916b369aecbf7f5386e0c41a6850a2</id>
<content type='text'>
take care of this.

ok visa@, mpi@
</content>
</entry>
</feed>
