<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/arch/arm64/include/cpu.h, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/arm64/include/cpu.h?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/arm64/include/cpu.h?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>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>Register cpu(4) as a cooling device.  This supports passive cooling by</title>
<updated>2019-07-02T20:13:50Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2019-07-02T20:13:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=03e578406bb4bf63334c5bd1c0a2b49fd77a89d3'/>
<id>urn:sha1:03e578406bb4bf63334c5bd1c0a2b49fd77a89d3</id>
<content type='text'>
clamping the maximum DVFS state.

ok mlarkin@, patrick@
</content>
</entry>
<entry>
<title>Bump MAXCPUS to 32 so that we can use all cores on the Ampere eMAG.</title>
<updated>2019-06-04T14:03:21Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2019-06-04T14:03:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=22c378bc8fd3e7d990882cf9f8ff2cb784900195'/>
<id>urn:sha1:22c378bc8fd3e7d990882cf9f8ff2cb784900195</id>
<content type='text'>
ok kettenis@
</content>
</entry>
<entry>
<title>Include srp.h where struct cpu_info uses srp to avoid erroring out when</title>
<updated>2018-12-05T10:28:21Z</updated>
<author>
<name>jsg</name>
<email>jsg@openbsd.org</email>
</author>
<published>2018-12-05T10:28:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1a1181a966226532433438cb3741ae7cdc0727d4'/>
<id>urn:sha1:1a1181a966226532433438cb3741ae7cdc0727d4</id>
<content type='text'>
including cpu.h machine/intr.h etc without first including param.h when
MULTIPROCESSOR is defined.

ok visa@
</content>
</entry>
<entry>
<title>Bump MAXCPUS from 8 to 24.</title>
<updated>2018-08-11T14:00:33Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2018-08-11T14:00:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=81deddc382fccecbedaa7cfdf4e0a99ef055cf89'/>
<id>urn:sha1:81deddc382fccecbedaa7cfdf4e0a99ef055cf89</id>
<content type='text'>
ok jsg@
</content>
</entry>
<entry>
<title>Implement DVFS support.</title>
<updated>2018-08-03T16:45:17Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2018-08-03T16:45:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=27d9c4288a3b1d24ade8a725f9504e61f45ae9ce'/>
<id>urn:sha1:27d9c4288a3b1d24ade8a725f9504e61f45ae9ce</id>
<content type='text'>
ok patrick@
</content>
</entry>
<entry>
<title>Add intr_enable() here as well.</title>
<updated>2018-06-30T10:20:21Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2018-06-30T10:20:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b5e763189b9982b741a8f9f15f770fc3c31055d1'/>
<id>urn:sha1:b5e763189b9982b741a8f9f15f770fc3c31055d1</id>
<content type='text'>
</content>
</entry>
</feed>
