<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/arch/mips64, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/mips64?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/mips64?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-06-05T13:35:20Z</updated>
<entry>
<title>cpu_rnd_messybits() for mips64</title>
<updated>2020-06-05T13:35:20Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2020-06-05T13:35:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3af745964ca685cce92508264ccd88e529f6f467'/>
<id>urn:sha1:3af745964ca685cce92508264ccd88e529f6f467</id>
<content type='text'>
Use CP0 Count as a basis. Also take noise from virtual memory activity
by including BadVAddr.

OK deraadt@ dlg@
</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>Use a distinct trap code with retguard on mips64.</title>
<updated>2020-05-23T07:18:50Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2020-05-23T07:18:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=59447aca8d09daa7e01d4745dffe3b139396b8c7'/>
<id>urn:sha1:59447aca8d09daa7e01d4745dffe3b139396b8c7</id>
<content type='text'>
This lets the kernel detect retguard traps and send SIGABRT instead
of SIGEMT.

SIGEMT does not indicate correctly the nature of the error (stack
overflow, violation of control flow). It can confuse the user to restart
the program without further investigation.

Prompted by and OK deraadt@
OK mortimer@
</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>Use todr_gettime() in cp0_calibrate() on mips64.</title>
<updated>2020-05-16T03:35:52Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2020-05-16T03:35:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c84755732aaf78d4675730350e5ed0999b794a96'/>
<id>urn:sha1:c84755732aaf78d4675730350e5ed0999b794a96</id>
<content type='text'>
This allows changing RTC drivers from &lt;mips64/dev/clockvar.h&gt;
to &lt;dev/clock_subr.h&gt; API.

OK kettenis@
</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-09T22:12:18Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2020-05-09T22:12:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=bb2235eb78e4b0b79b69b967037f1ece856f461f'/>
<id>urn:sha1:bb2235eb78e4b0b79b69b967037f1ece856f461f</id>
<content type='text'>
amd64/arm64/armv7/hppa/i386/macppc/sparc64 and move it to the end of
mips64_machdep.c.  Wrap the existing tod_get and tod_set hooks into
something that can be used as a todr_handle.

ok visa@
</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>
</feed>
