<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/arch/arm, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/arch/arm?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/arch/arm?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-03-13T09:31:24Z</updated>
<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>
<entry>
<title>Change floating-point mode/environment control functions to operate on</title>
<updated>2018-02-28T11:16:54Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2018-02-28T11:16:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b02ee2d0b169340f8c05ac869f38b89250c96865'/>
<id>urn:sha1:b02ee2d0b169340f8c05ac869f38b89250c96865</id>
<content type='text'>
both the hardfloat (FPU registers) and softfloat (software) state.  This
makes these functions work correctly when mixing hardfloat and softfloat
code.  Disable trapping for softfloat since most (if not all) ARMv7 and
ARMv8 hardware that is on the market doesn't support trapping of
floating-point exceptions.

ok patrick@
</content>
</entry>
<entry>
<title>Implement ffs(3) using the CLZ instructions which has been available ever</title>
<updated>2018-01-21T21:56:02Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2018-01-21T21:56:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a30f7a9e94849b1631dd36f5f71d1b559399f2c1'/>
<id>urn:sha1:a30f7a9e94849b1631dd36f5f71d1b559399f2c1</id>
<content type='text'>
since ARMv5.  Should be much faster but more importantly it removes the
data table from .text which could introduce unwanted ROP gadgets.

Based on changes in Android/Bionic by Elliott Hughes.

ok patrick@
</content>
</entry>
<entry>
<title>Partial revert of rev. 1.7, fixes build with clang</title>
<updated>2018-01-19T11:10:43Z</updated>
<author>
<name>jca</name>
<email>jca@openbsd.org</email>
</author>
<published>2018-01-19T11:10:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=18cddbba4e2a0454294d0c2b069fcac74be36111'/>
<id>urn:sha1:18cddbba4e2a0454294d0c2b069fcac74be36111</id>
<content type='text'>
The error was:
--8&lt;--
ffs.S:57:2: error: unsupported relocation on symbol
adrne r2, .L_ffs_table
^
--&gt;8--

Minimal workaround suggested by deraadt@, ok guenther@ kettenis@
</content>
</entry>
</feed>
