<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/arch/hppa, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/hppa?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/hppa?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-06-14T20:29:13Z</updated>
<entry>
<title>Implement cpu_rnd_messybits() as a read of the cycle counter register.</title>
<updated>2020-06-14T20:29:13Z</updated>
<author>
<name>naddy</name>
<email>naddy@openbsd.org</email>
</author>
<published>2020-06-14T20:29:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2207d07413d2edf062148b9e5cdfa5b0a24c2bf2'/>
<id>urn:sha1:2207d07413d2edf062148b9e5cdfa5b0a24c2bf2</id>
<content type='text'>
ok dlg@ 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>dev/rndvar.h no longer has statistical interfaces (removed during various</title>
<updated>2020-05-29T04:42:23Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-05-29T04:42:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c8f27247b9f5f282483daaddbfd1267ad73569c5'/>
<id>urn:sha1:c8f27247b9f5f282483daaddbfd1267ad73569c5</id>
<content type='text'>
conversion steps).  it only contains kernel prototypes for 4 interfaces,
all of which legitimately belong in sys/systm.h, which are already included
by all enqueue_randomness() users.
</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>increment version numbers, due to recent RB_GOODSEED and fchmod +T changes</title>
<updated>2020-05-26T14:00:40Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-05-26T14:00:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ed5a52b6bdf7c7f007d222e270b64343a6f85fc8'/>
<id>urn:sha1:ed5a52b6bdf7c7f007d222e270b64343a6f85fc8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>iodcstrategy() maintains a cache for READ performance (tapes are supported</title>
<updated>2020-05-26T13:38:07Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-05-26T13:38:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6f64443005dfd4eb9f50513d9a9c5c08d0dc72a5'/>
<id>urn:sha1:6f64443005dfd4eb9f50513d9a9c5c08d0dc72a5</id>
<content type='text'>
here, and alternatively would need to rewind).  WRITE code exists, but was
always wrong -- it writes the cache-buffer to disk, rather than the provided
write-buffer.  Copy the write-buffer into the cache, and invalidate the cache
completely so that future reads start from scratch.
</content>
</entry>
<entry>
<title>Put setjmp+longjmp inside #ifdef DDB the only kernel-side user.</title>
<updated>2020-05-17T13:48:29Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-05-17T13:48:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=be7994c5120c6f906321c4b77341c04fcaa65b03'/>
<id>urn:sha1:be7994c5120c6f906321c4b77341c04fcaa65b03</id>
<content type='text'>
This shrinks the ramdisks a tiny bit.
</content>
</entry>
<entry>
<title>Make inittodr() and resettodr() MI.</title>
<updated>2020-05-16T14:44:44Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2020-05-16T14:44:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5fcf2a4b8103efd7bc779ac85e97dbbe7542aaf4'/>
<id>urn:sha1:5fcf2a4b8103efd7bc779ac85e97dbbe7542aaf4</id>
<content type='text'>
ok deraadt@, mpi@, visa@
ok cheloha@ as well (would have preferred in new file for this code)
</content>
</entry>
<entry>
<title>Initialize the timeval passed to todr_gettime() with the base time from</title>
<updated>2020-05-11T13:25:31Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2020-05-11T13:25:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=903250556290f4ea437844c80f12567b5d98bfdf'/>
<id>urn:sha1:903250556290f4ea437844c80f12567b5d98bfdf</id>
<content type='text'>
the file system such that implementations can use it to guess the right
century.

ok mpi@
</content>
</entry>
<entry>
<title>Use the same inittodr()/resettodr() implementation as on</title>
<updated>2020-05-01T19:56:11Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2020-05-01T19:56:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=78a860bb5a1c4c33fd41129870231c4771888573'/>
<id>urn:sha1:78a860bb5a1c4c33fd41129870231c4771888573</id>
<content type='text'>
amd64/arm64/armv7/i386/sparc64 and move it to the end of machdep.c.  Rework the
actual implementation for the MC14818 compatible RTC into something that can
be used as a todr_handle just like on amd64.

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