<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/arch/i386/include, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/i386/include?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/i386/include?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>Kill unused cdev_pc_init().</title>
<updated>2020-05-25T06:37:52Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2020-05-25T06:37:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=53eafee545642f7a24ded8233a3af65e0607e825'/>
<id>urn:sha1:53eafee545642f7a24ded8233a3af65e0607e825</id>
<content type='text'>
ok kettenis@, visa@
</content>
</entry>
<entry>
<title>Kill biospoll/pctrpoll defines and use `seltrue' directly in cdev_*_init().</title>
<updated>2020-05-13T08:32:43Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2020-05-13T08:32:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d9d379e18bce8270f9231aedb56c5e08d7d15204'/>
<id>urn:sha1:d9d379e18bce8270f9231aedb56c5e08d7d15204</id>
<content type='text'>
While here use the kqfilter equivalent to `seltrue' to ensure both
interfaces are coherent.

ok visa@
</content>
</entry>
<entry>
<title>Use the same inittodr()/resettodr() implementation as on</title>
<updated>2020-04-29T08:53:45Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2020-04-29T08:53:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1dfa729c7db980850323a4d2665732da667ac609'/>
<id>urn:sha1:1dfa729c7db980850323a4d2665732da667ac609</id>
<content type='text'>
amd64/arm64/armv7/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 sthen@
</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>Disable TSX when MSR_ARCH_CAPABILITIES sets TSX_CTRL.</title>
<updated>2019-12-20T07:55:30Z</updated>
<author>
<name>jsg</name>
<email>jsg@openbsd.org</email>
</author>
<published>2019-12-20T07:55:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8ceddddeec776d7aef2ea40d73b529c2005441bd'/>
<id>urn:sha1:8ceddddeec776d7aef2ea40d73b529c2005441bd</id>
<content type='text'>
Even with the latest microcode this is not set on all CPUs with TSX, but
is set on CPUs which don't need MDS mitigations.

MDS mitigations also mitigate TSX Asynchronous Abort (TAA) but aren't
done if the CPU claims to not be affected by MDS (MDS_NO).
According to "Deep Dive: Intel Transactional Synchronization Extensions
(Intel TSX) Asynchronous Abort" CPUs requiring additional mitigations
for this are:
06-8e-0c	Whiskey Lake (ULT refresh)
06-55-0{6,7}	2nd Gen Xeon Scalable Processors based on Cascade Lake
06-9e-0d	Coffee Lake R

Currently TSX is disabled unconditionally when possible even if TAA_NO
is set.

We don't currently do MDS mitigations on i386.  Attempt to disable TSX
regardless to match amd64.
</content>
</entry>
<entry>
<title>Convert boolean_t/TRUE/FALSE to int/1/0 for coherency with the rest of</title>
<updated>2019-12-19T17:46:32Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2019-12-19T17:46:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4e56a79ff6919835058578830b0f9b65c66ea6d4'/>
<id>urn:sha1:4e56a79ff6919835058578830b0f9b65c66ea6d4</id>
<content type='text'>
the kernel.

ok mlarkin@, visa@
</content>
</entry>
<entry>
<title>Remove kernel VM86 support.</title>
<updated>2019-12-08T12:25:30Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2019-12-08T12:25:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e5451c3360c6bc5b6bce9c9984b196e3da4488e6'/>
<id>urn:sha1:e5451c3360c6bc5b6bce9c9984b196e3da4488e6</id>
<content type='text'>
Its last consumer is now gone and it has certainly not been used since the
introduction of PAE back in 2015.

ok kettenis@, jsg@
</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>
</feed>
