<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/arch/amd64/include/bus.h, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/amd64/include/bus.h?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/amd64/include/bus.h?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2017-06-04T06:21:37Z</updated>
<entry>
<title>Re-arrange struct bus_dmamap members</title>
<updated>2017-06-04T06:21:37Z</updated>
<author>
<name>sf</name>
<email>sf@openbsd.org</email>
</author>
<published>2017-06-04T06:21:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=eeb83a6b7b7cd6ae6e6b0e5576e872b32fb55180'/>
<id>urn:sha1:eeb83a6b7b7cd6ae6e6b0e5576e872b32fb55180</id>
<content type='text'>
This reduces holes/padding and makes the struct smaller by 8 bytes.

ok kettenis@
</content>
</entry>
<entry>
<title>add a BUS_DMA_64BIT flag to bus_dma on all our archs.</title>
<updated>2017-05-08T00:27:45Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2017-05-08T00:27:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b0002153e68e19a4277a3f21e84cea855054f754'/>
<id>urn:sha1:b0002153e68e19a4277a3f21e84cea855054f754</id>
<content type='text'>
this is so drivers can advertise that they can handle 64 dma addresses
to the platform. it may choose to handle dmamaps differently based
on this flag.

tweaks and ok tom@
ok kettenis@
</content>
</entry>
<entry>
<title>Add bus_dmamem_alloc_range(9) to allow drivers to allocate DMA'able memory</title>
<updated>2015-01-24T15:13:55Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2015-01-24T15:13:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3df3eb3b8b322a2a7f2ce6bbbff3b7296d910867'/>
<id>urn:sha1:3df3eb3b8b322a2a7f2ce6bbbff3b7296d910867</id>
<content type='text'>
within a range that is more (or less) restrictive than the default range.

ok deraadt@, stsp@
</content>
</entry>
<entry>
<title>It's been a quarter century: we can assume volatile is present with that name.</title>
<updated>2014-03-29T18:09:28Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2014-03-29T18:09:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2df76cc2a0aee2cb2166e3799b7bb5c3f883f83d'/>
<id>urn:sha1:2df76cc2a0aee2cb2166e3799b7bb5c3f883f83d</id>
<content type='text'>
ok dlg@ mpi@ deraadt@
</content>
</entry>
<entry>
<title>Remove the scatter/gather dma implementation as it is no longer used.</title>
<updated>2013-12-12T21:04:50Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2013-12-12T21:04:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=20c16ccc15b8f349c80498bbb4b8b69095bd09de'/>
<id>urn:sha1:20c16ccc15b8f349c80498bbb4b8b69095bd09de</id>
<content type='text'>
ok krw@, deraadt@
</content>
</entry>
<entry>
<title>Add an interface to rebind AGP DMA mappings.  To be used by the upcoming KMS</title>
<updated>2013-03-17T21:49:00Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2013-03-17T21:49:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7c84e9efdc58581f22e310b26d0fff2e912618e1'/>
<id>urn:sha1:7c84e9efdc58581f22e310b26d0fff2e912618e1</id>
<content type='text'>
support to reload bindings after suspend/resume and to update cachability
flags in the address translation table entries.
</content>
</entry>
<entry>
<title>the bus_space api implies that there's a bus endianness that it will</title>
<updated>2013-01-29T01:15:57Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2013-01-29T01:15:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=aacc3e86042c9eadb8b53e48ec91533b9d60ac7b'/>
<id>urn:sha1:aacc3e86042c9eadb8b53e48ec91533b9d60ac7b</id>
<content type='text'>
swap for you to the hosts endianness. sometimes you dont want this hand
holding and just want raw access to the registers. bus_space does have
stuff to do this already, but they deal with buffers which can be awkward
if you just want to get or set a single register.

this adds the following to i386 and amd64:

bus_space_read_raw_2() bus_space_read_raw_4() bus_space_read_raw_8()
bus_space_write_raw_2() bus_space_write_raw_4() bus_space_write_raw_8()

sparc64 already implements this, even though it wasnt part of the
official api. how handy.

i'll do other archs as i can.

kettenis@ and miod@ seem ok with this
</content>
</entry>
<entry>
<title>twist the amd64 bus_space implementation a bit. instead of using the tag</title>
<updated>2013-01-18T01:54:40Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2013-01-18T01:54:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=93c7b57c1dbd29219f5df90059d8d38fc81eee71'/>
<id>urn:sha1:93c7b57c1dbd29219f5df90059d8d38fc81eee71</id>
<content type='text'>
as an identifier for IO or memory mappings that was checked inside the api,
turn it into a pointer to a structure of function pointers. the api then
generally becomes a set of macros that deref the function pointers on the
callers behalf. the idea is that following a pointer to very small
functions is cheap compared to doing compares continuously.

a notable exception to the macro wrappers is bus_space_barrier which is now
a static inline function. the only argument to it that gets used is the
flags, and thats usually a constant at compile time so it can be inlined
to a single fence instruction.

the kernel is smaller and the api is more cache friendly now.

ok deraadt@
</content>
</entry>
<entry>
<title>implement bus_space_foo_8 for amd64. it will panic on attempts to do 8</title>
<updated>2013-01-15T09:33:30Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2013-01-15T09:33:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9f2791f24723b6fde3c1f9087b2676ed7426dab1'/>
<id>urn:sha1:9f2791f24723b6fde3c1f9087b2676ed7426dab1</id>
<content type='text'>
byte operations on I/O space with "invalid I/O operation", but works great
for mem mappings.

compiled AND tested on myx(4) on amd64.
ok deraadt@ kettenis@ miod@ pirofti@
</content>
</entry>
<entry>
<title>Normalize sentinel. Use _MACHINE_*_H_ and _&lt;ARCH&gt;_*_H_ properly and consitently.</title>
<updated>2011-03-23T16:54:33Z</updated>
<author>
<name>pirofti</name>
<email>pirofti@openbsd.org</email>
</author>
<published>2011-03-23T16:54:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2fa72412907ae78c4787a4a8f888c5f0486e225c'/>
<id>urn:sha1:2fa72412907ae78c4787a4a8f888c5f0486e225c</id>
<content type='text'>
Discussed and okay drahn@. Okay deraadt@.
</content>
</entry>
</feed>
