<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/arch/amd64, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/amd64?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/amd64?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2021-03-29T12:39:02Z</updated>
<entry>
<title>Fix IA32_EPT_VPID_CAP_XO_TRANSLATIONS specification</title>
<updated>2021-03-29T12:39:02Z</updated>
<author>
<name>dv</name>
<email>dv@openbsd.org</email>
</author>
<published>2021-03-29T12:39:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b134fa217db201f6e402bd40b585b1dd8064d634'/>
<id>urn:sha1:b134fa217db201f6e402bd40b585b1dd8064d634</id>
<content type='text'>
Per Intel SDM (Vol 3D, App. A.10) bit 0 should be read as a 1 if enabled.

From Adam Steen. ok mlarkin@
</content>
</entry>
<entry>
<title>The logic in mmrw() to check whether an address is within direct</title>
<updated>2021-03-24T14:26:39Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2021-03-24T14:26:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fc24682d162d1168f8409889883aa738fd923555'/>
<id>urn:sha1:fc24682d162d1168f8409889883aa738fd923555</id>
<content type='text'>
map was the wrong way around.  The &amp;&amp; prevented an EFAULT error and
could pass userland addresses as kernel source to copyout(9).  The
kernel could crash with protection fault due to an invalid offset
when reading /dev/kmem.
Also make the range checks stricter.  Not only the start address
must be valid, but also the end address must be within the region
to be copied.
Note that sysctl kern.allowkmem=0 makes the bug unreachable by
default.
OK deraadt@
</content>
</entry>
<entry>
<title>another unfortunate action to cope with relentless kernel growth</title>
<updated>2021-03-19T04:30:56Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2021-03-19T04:30:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=38c12d68c127995c7ac992225b26048cabbdbb91'/>
<id>urn:sha1:38c12d68c127995c7ac992225b26048cabbdbb91</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Always use an allocated buffer for {Read,Write}Blocks() to make</title>
<updated>2021-03-17T05:41:34Z</updated>
<author>
<name>yasuoka</name>
<email>yasuoka@openbsd.org</email>
</author>
<published>2021-03-17T05:41:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6202161edfd7c245b686aa7e49ac4d4ecfad7dda'/>
<id>urn:sha1:6202161edfd7c245b686aa7e49ac4d4ecfad7dda</id>
<content type='text'>
efid_io() simpler.  Also fixes the problem on some machines when boot
from CD-ROM.  It happened because the previous version passed
unaligned pointers to the functions even if it is restricted by the
IoAlign property of the media.  idea from kettenis, work with asou

ok kettenis
</content>
</entry>
<entry>
<title>Add acpi_iommu_device_map(), which replaces the DMA tag with one that</title>
<updated>2021-03-15T22:44:57Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2021-03-15T22:44:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c375c363d9025b334c6cea967bb0cee9d9a41169'/>
<id>urn:sha1:c375c363d9025b334c6cea967bb0cee9d9a41169</id>
<content type='text'>
is blessed with IOMMU magic, if available.  This is mainly for arm64,
since on amd64 and i386 the IOMMU only captures PCIe devices, as far
as I know, which uses the pci_probe_device_hook().  This though is for
non-PCI devices attached through ACPI.

ok kettenis@
</content>
</entry>
<entry>
<title>spelling</title>
<updated>2021-03-11T11:16:54Z</updated>
<author>
<name>jsg</name>
<email>jsg@openbsd.org</email>
</author>
<published>2021-03-11T11:16:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=36fd90dcf1acf2ddb4ef5dbabe5313b3a8d46ee2'/>
<id>urn:sha1:36fd90dcf1acf2ddb4ef5dbabe5313b3a8d46ee2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Explicitly align kernel text.</title>
<updated>2021-03-07T23:10:54Z</updated>
<author>
<name>mortimer</name>
<email>mortimer@openbsd.org</email>
</author>
<published>2021-03-07T23:10:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3a759fb4b59efc98bb650e48d2acd4988fceee0e'/>
<id>urn:sha1:3a759fb4b59efc98bb650e48d2acd4988fceee0e</id>
<content type='text'>
lld11 no longer quietly aligns this when given an address, so we do the
alignment explicitly.

ok kettenis@
</content>
</entry>
<entry>
<title>timecounting: use C99-style initialization for all timecounter structs</title>
<updated>2021-02-23T04:44:30Z</updated>
<author>
<name>cheloha</name>
<email>cheloha@openbsd.org</email>
</author>
<published>2021-02-23T04:44:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8611d3cdb295683ad47c33036b86b471b2d09741'/>
<id>urn:sha1:8611d3cdb295683ad47c33036b86b471b2d09741</id>
<content type='text'>
The timecounter struct is large and I think it may change in the
future.  Changing it later will be easier if we use C99-style
initialization for all timecounter structs.  It also makes reading the
code a bit easier.

For reasons I cannot explain, switching to C99-style initialization
sometimes changes the hash of the resulting object file, even though
the resulting struct should be the same.  So there is a binary change
here, but only sometimes.  No behavior should change in either case.

I can't compile-test this everywhere but I have been staring at the
diff for days now and I'm relatively confident this will not break
compilation.  Fingers crossed.

ok gnezdo@
</content>
</entry>
<entry>
<title>Fix a comment</title>
<updated>2021-02-13T07:55:38Z</updated>
<author>
<name>mlarkin</name>
<email>mlarkin@openbsd.org</email>
</author>
<published>2021-02-13T07:55:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f58493bac91e05fd7fda6c3bbf99d9b31f57e44a'/>
<id>urn:sha1:f58493bac91e05fd7fda6c3bbf99d9b31f57e44a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove trailing whitespace</title>
<updated>2021-02-13T07:47:37Z</updated>
<author>
<name>mlarkin</name>
<email>mlarkin@openbsd.org</email>
</author>
<published>2021-02-13T07:47:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7df4ff5832b0c9c04f1584e52cdaacd75171dcda'/>
<id>urn:sha1:7df4ff5832b0c9c04f1584e52cdaacd75171dcda</id>
<content type='text'>
No code/functional change
</content>
</entry>
</feed>
