<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/arch/arm64/include, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/arm64/include?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/arm64/include?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-06-05T23:16:24Z</updated>
<entry>
<title>Implement cpu_rnd_messybits() as a read of the virtual counter xored</title>
<updated>2020-06-05T23:16:24Z</updated>
<author>
<name>naddy</name>
<email>naddy@openbsd.org</email>
</author>
<published>2020-06-05T23:16:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8274f7016bafdaa9664a02c123f04607750edbe0'/>
<id>urn:sha1:8274f7016bafdaa9664a02c123f04607750edbe0</id>
<content type='text'>
with a bit-reversed copy of itself.  There is progressively less
entropy in the higher bits of a counter than in the lower bits, so
bit-reverse one half in order to extract maximal entropy.

style fixes and ok kettenis@
</content>
</entry>
<entry>
<title>Allow userland access to the virtual counter.</title>
<updated>2020-06-05T22:14:25Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2020-06-05T22:14:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b0e77709c0dd5e58378837906c8281d687b7a4d8'/>
<id>urn:sha1:b0e77709c0dd5e58378837906c8281d687b7a4d8</id>
<content type='text'>
ok patrick@, 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>Fix typo in comment.</title>
<updated>2020-05-17T13:36:33Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2020-05-17T13:36:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f8c21047e63df663d400f96c8a1bf49ec52bdfa2'/>
<id>urn:sha1:f8c21047e63df663d400f96c8a1bf49ec52bdfa2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add machdep.compatible.</title>
<updated>2020-05-17T11:05:15Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2020-05-17T11:05:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=943434f8be7bd40574537218daf09c4f07eafc22'/>
<id>urn:sha1:943434f8be7bd40574537218daf09c4f07eafc22</id>
<content type='text'>
ok jsg@
</content>
</entry>
<entry>
<title>Fix some of the more esoteric bus_space functions.  The</title>
<updated>2020-04-13T21:34:54Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2020-04-13T21:34:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=20d3e1cb58e574bc4b60f23a1d49160287788b1c'/>
<id>urn:sha1:20d3e1cb58e574bc4b60f23a1d49160287788b1c</id>
<content type='text'>
bus_space_read_region_n, bus_space_write_region_n and
bus_space_set_region_n functions were all broken.

Fixes mvneta(4) on arm64.

ok patrick@
</content>
</entry>
<entry>
<title>controler -&gt; controller</title>
<updated>2020-02-20T06:12:14Z</updated>
<author>
<name>jsg</name>
<email>jsg@openbsd.org</email>
</author>
<published>2020-02-20T06:12:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=29aa4a0f82304f8cea18befd646e6282fb5374ff'/>
<id>urn:sha1:29aa4a0f82304f8cea18befd646e6282fb5374ff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Convert db_addr_t -&gt; vaddr_t but leave the typedef for now.</title>
<updated>2019-11-07T14:44:52Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2019-11-07T14:44:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6d6b8a876ccc0691e0769b505db074d6e7d968ef'/>
<id>urn:sha1:6d6b8a876ccc0691e0769b505db074d6e7d968ef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cache flush operations on arm64 were being incorrectly treated as write</title>
<updated>2019-10-17T15:38:56Z</updated>
<author>
<name>drahn</name>
<email>drahn@openbsd.org</email>
</author>
<published>2019-10-17T15:38:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=763137fc5fd00cb09a2ce6e4658fa5b68e986c35'/>
<id>urn:sha1:763137fc5fd00cb09a2ce6e4658fa5b68e986c35</id>
<content type='text'>
operations, however they should be treated as read per the design.
Switch to using bit defines, correct said defines.
Fixes cache flushing causing Firefox to abort.
ok kettenis@ kurt@
</content>
</entry>
<entry>
<title>Newer ARMv8 processors now include a new CSV2 field in their processor</title>
<updated>2019-09-01T15:34:15Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2019-09-01T15:34:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=53458e9799858478faaea3fe0c79718f5a8122d9'/>
<id>urn:sha1:53458e9799858478faaea3fe0c79718f5a8122d9</id>
<content type='text'>
feature register that can indicate that a processor is not vulnarable to
Spectre v2 attacks.  Use this field in favour of adding specific processors
to a whitelist.  Continue to whitelist the few processors that are known
not to be vulnerable but don't set the appropriate value in the CSV2 field.

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