<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/arch/powerpc, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/powerpc?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/powerpc?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-06-06T22:53:04Z</updated>
<entry>
<title>Fix and harmonize some of the code dealing with address offsets encoded in</title>
<updated>2020-06-06T22:53:04Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2020-06-06T22:53:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3a85956754fb10eef8990993f300623273126e72'/>
<id>urn:sha1:3a85956754fb10eef8990993f300623273126e72</id>
<content type='text'>
instructions.

ok drahn@, gkoehler@
</content>
</entry>
<entry>
<title>Implement cpu_rnd_messybits() as a read of the cycle counter register.</title>
<updated>2020-06-05T14:25:05Z</updated>
<author>
<name>naddy</name>
<email>naddy@openbsd.org</email>
</author>
<published>2020-06-05T14:25:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4f1155a8e1b8d56b62802304c62b79d4e918eb9a'/>
<id>urn:sha1:4f1155a8e1b8d56b62802304c62b79d4e918eb9a</id>
<content type='text'>
ok dlg@, powerpc/sparc64 ok kettenis@, sparc64/alpha tested by deraadt@
</content>
</entry>
<entry>
<title>introduce "cpu_rnd_messybits" for use instead of nanotime in dev/rnd.c.</title>
<updated>2020-05-31T06:23:56Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2020-05-31T06:23:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=01802d2cc63d886227ab3b39e923ff13cf516166'/>
<id>urn:sha1:01802d2cc63d886227ab3b39e923ff13cf516166</id>
<content type='text'>
rnd.c uses nanotime to get access to some bits that change quickly
between events that it can mix into the entropy pool. it doesn't
use nanotime to get a monotonically increasing set or ordered and
accurate timestamps, it just wants something with bits that change.

there's been discussions for years about letting rnd use a clock
that's super fast to read, but not necessarily accurate, but it
wasn't until recently that i figured out it wasn't interested in
time at all, so things like keeping a fast clock coherent between
cpu cores or correct according to ntp is unecessary. this means we
can just let rnd read the cycle counters on cpus and things will
be fine.  cpus with cycle counters that vary in their speed and
arent kept consistent between cores may even be desirable in this
context.

so this is the first step in converting rnd.c to reading cycle
counter. it copies the nanotime backend to each arch, and they can
replace it with something MD as a second step later on.

djm@ suggested rnd_messybytes, but we landed on cpu_rnd_messybits.
thanks to visa for his eyes.
ok deraadt@ visa@
deraadt@ says he will help handle any MD fallout that occurs.
</content>
</entry>
<entry>
<title>Retire &lt;machine/varargs.h&gt;.</title>
<updated>2020-05-27T15:16:04Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2020-05-27T15:16:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9df0f941a91e9f67cc4e63514cb174cb2a5783fd'/>
<id>urn:sha1:9df0f941a91e9f67cc4e63514cb174cb2a5783fd</id>
<content type='text'>
Nothing uses the header anymore.

OK deraadt@ mpi@
</content>
</entry>
<entry>
<title>Decode the %{ds}(%{A}) operand of ld, std instructions.</title>
<updated>2020-05-22T00:33:45Z</updated>
<author>
<name>gkoehler</name>
<email>gkoehler@openbsd.org</email>
</author>
<published>2020-05-22T00:33:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5f35ad5d3e44b1595df2916306c72139933efb92'/>
<id>urn:sha1:5f35ad5d3e44b1595df2916306c72139933efb92</id>
<content type='text'>
I don't expect to see these 64-bit instructions in 32-bit kernels,
but I'm going to copy this code to powerpc64.

ok drahn@
</content>
</entry>
<entry>
<title>Use '/t' on all architectures to get a trace via TID.</title>
<updated>2020-05-14T06:58:54Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2020-05-14T06:58:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7c8c9e97f9d63585fbb2ab4a70f7ef26a28fd549'/>
<id>urn:sha1:7c8c9e97f9d63585fbb2ab4a70f7ef26a28fd549</id>
<content type='text'>
ok sthen@, patrick@
</content>
</entry>
<entry>
<title>Sync existing stacktrace_save() implementations</title>
<updated>2020-04-18T04:45:20Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2020-04-18T04:45:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1a1f5cc406fc1a09e1452efacbb0c44dccb36342'/>
<id>urn:sha1:1a1f5cc406fc1a09e1452efacbb0c44dccb36342</id>
<content type='text'>
Upgrade stacktrace_save() to stacktrace_save_at() on architectures where
the latter is missing. Define stacktrace_save() as an inline function
in header &lt;sys/stacktrace.h&gt; to reduce duplication of code.

OK mpi@
</content>
</entry>
<entry>
<title>Switch powerpc to MI mplock implementation.</title>
<updated>2020-04-15T08:09:00Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2020-04-15T08:09:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=bb9163a1e6a69b9ce00788c7e8db783619b1549f'/>
<id>urn:sha1:bb9163a1e6a69b9ce00788c7e8db783619b1549f</id>
<content type='text'>
Reduce differences with others architectures and make it possible to use
WITNESS on it.

Rename &amp; keep the current recursive lock implementation as it is used by
the pmap.

Tested by Peter J. Philipp, otto@ and cwen@.

ok kettenis@
</content>
</entry>
<entry>
<title>Implement stacktrace_save_at() required for upcoming WITNESS.</title>
<updated>2020-04-10T07:23:21Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2020-04-10T07:23:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2877cd17f2a87ea02c0b495e0f93643a05ff1dc4'/>
<id>urn:sha1:2877cd17f2a87ea02c0b495e0f93643a05ff1dc4</id>
<content type='text'>
ok gkoehler@
</content>
</entry>
<entry>
<title>Fix inline assembly in ppc_mftb(); using %L0 instead of %0+1 makes this work</title>
<updated>2020-03-17T10:14:45Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2020-03-17T10:14:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1b5c1bb041a8716a4f9de2b79b9d94b5d3e53c6a'/>
<id>urn:sha1:1b5c1bb041a8716a4f9de2b79b9d94b5d3e53c6a</id>
<content type='text'>
for both gcc and clang.  From NetBSD.  Thanks to some serious detective work
by ghoehler@.

ok deraadt@, gkeohler@
</content>
</entry>
</feed>
