<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/arch/sh, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/sh?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/sh?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-05-31T06:23:56Z</updated>
<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>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 the same inittodr()/resettodr() implementation as on</title>
<updated>2020-05-11T13:27:38Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2020-05-11T13:27:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=449137a4e062bb10f1f3ba762343a6a53b688f02'/>
<id>urn:sha1:449137a4e062bb10f1f3ba762343a6a53b688f02</id>
<content type='text'>
amd64/arm64/armv7/hppa/i386/macppc/mips64/sparc64 and move it to the end
of sh_machdep.c.  Wrap the existing sh_clock.rtc hooks into something
that can be used as a todr_handle.

ok mpi@
</content>
</entry>
<entry>
<title>db_addr_t -&gt; vaddr_t</title>
<updated>2019-11-07T16:08:07Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2019-11-07T16:08:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=52de38dfad83669953521277a64804bf85027c8e'/>
<id>urn:sha1:52de38dfad83669953521277a64804bf85027c8e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Substitute boolean_t/TRUE/FALSE by int/1/0.</title>
<updated>2019-11-07T15:58:39Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2019-11-07T15:58:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1d47df5535a8eecf36a407d475096db35dd70ad6'/>
<id>urn:sha1:1d47df5535a8eecf36a407d475096db35dd70ad6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>If uvm_map_inentry returns false then a signal has been delivered, and</title>
<updated>2019-09-06T12:22:01Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-09-06T12:22:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a0da50afa400c90214087c1ffef69c7f438478e9'/>
<id>urn:sha1:a0da50afa400c90214087c1ffef69c7f438478e9</id>
<content type='text'>
userret() must be called on trap() exit to deliver it, rather than
repeating the same cause infinitely.  discovered by George Koehler
ok kettenis bluhm visa
</content>
</entry>
<entry>
<title>I wrote the pc-page-writeable and sp-not-MAP_STACK code to be shared, and</title>
<updated>2019-07-09T23:48:06Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-07-09T23:48:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6e2ca2cbbd046982272b6b2bd0b1f22e6313563b'/>
<id>urn:sha1:6e2ca2cbbd046982272b6b2bd0b1f22e6313563b</id>
<content type='text'>
then ran into the messaging being poor.  Then I fixed the messages. But
there are two sub-cases of sp-not-MAP_STACK -- one at syscall time, and
another at regular userland trap (on some architectures), and I bungled
that messaging.  Correct that now, while I look for yet another better way...
discovered by millert, who ran an pre-MAP_STACK binary.
</content>
</entry>
<entry>
<title>print the cpu model in the correct place (only)</title>
<updated>2019-07-07T14:41:55Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-07-07T14:41:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=12c7b941245c003ecab76ad6af25a5b7b3ae0ebb'/>
<id>urn:sha1:12c7b941245c003ecab76ad6af25a5b7b3ae0ebb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>landisk/sh didn't have the code for checking if sp is on MAP_STACK</title>
<updated>2019-06-28T05:51:43Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-06-28T05:51:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c2e8fdfa702725e2b67cb798bf7c018b805638da'/>
<id>urn:sha1:c2e8fdfa702725e2b67cb798bf7c018b805638da</id>
<content type='text'>
memory, so let's add that where it seems to work
gap noticed by miod
</content>
</entry>
</feed>
