<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/arch/alpha/dev/bus_dma.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/alpha/dev/bus_dma.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/alpha/dev/bus_dma.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2018-01-11T15:49:34Z</updated>
<entry>
<title>Add size for free.</title>
<updated>2018-01-11T15:49:34Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2018-01-11T15:49:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=71e03fc539f77d46e7ddba6bf070c0853220092f'/>
<id>urn:sha1:71e03fc539f77d46e7ddba6bf070c0853220092f</id>
<content type='text'>
OK mpi@
</content>
</entry>
<entry>
<title>Replace a plethora of historical protection options with just</title>
<updated>2014-11-16T12:30:52Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2014-11-16T12:30:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1e8cdc2e593c4e9ec7f4bdac2fbf48a4ad29f5b8'/>
<id>urn:sha1:1e8cdc2e593c4e9ec7f4bdac2fbf48a4ad29f5b8</id>
<content type='text'>
PROT_NONE, PROT_READ, PROT_WRITE, and PROT_EXEC from mman.h.
PROT_MASK is introduced as the one true way of extracting those bits.
Remove UVM_ADV_* wrapper, using the standard names.
ok doug guenther kettenis
</content>
</entry>
<entry>
<title>Replace all queue *_END macro calls except CIRCLEQ_END with NULL.</title>
<updated>2014-09-13T16:06:36Z</updated>
<author>
<name>doug</name>
<email>doug@openbsd.org</email>
</author>
<published>2014-09-13T16:06:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=abcbcc4d80a0ed0907ba123021478336e6ec4c4a'/>
<id>urn:sha1:abcbcc4d80a0ed0907ba123021478336e6ec4c4a</id>
<content type='text'>
CIRCLEQ_* is deprecated and not called in the tree.  The other queue types
have *_END macros which were added for symmetry with CIRCLEQ_END.  They are
defined as NULL.  There's no reason to keep the other *_END macro calls.

ok millert@
</content>
</entry>
<entry>
<title>add a size argument to free. will be used soon, but for now default to 0.</title>
<updated>2014-07-12T18:44:40Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2014-07-12T18:44:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f8e6c4256e251ce0386dacd7e411f1d0894ef80e'/>
<id>urn:sha1:f8e6c4256e251ce0386dacd7e411f1d0894ef80e</id>
<content type='text'>
after discussions with beck deraadt kettenis.
</content>
</entry>
<entry>
<title>Convert bus_dmamem_map(9) to km_alloc(9) in order to make it fail and</title>
<updated>2014-07-11T09:36:25Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2014-07-11T09:36:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c1e6d80a356903891c9f6b053cef3cbb5a1bc7db'/>
<id>urn:sha1:c1e6d80a356903891c9f6b053cef3cbb5a1bc7db</id>
<content type='text'>
not sleep if the allocator cannot obtain a lock when BUS_DMA_NOWAIT is
specified.

idea and inputs from kettenis@, ok miod@
</content>
</entry>
<entry>
<title>Fix the error path in bus_dmamem_map.</title>
<updated>2011-06-23T20:44:38Z</updated>
<author>
<name>ariane</name>
<email>ariane@openbsd.org</email>
</author>
<published>2011-06-23T20:44:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b4a9c0fda45ae6f40245b3824303d18a597433ff'/>
<id>urn:sha1:b4a9c0fda45ae6f40245b3824303d18a597433ff</id>
<content type='text'>
As discussed on icb: remove the comment,
remove pmap_remove (uvm_km_free does that for us).

ok oga@, deraadt@
</content>
</entry>
<entry>
<title>Kill pmap_phys_address(), and force every driver's mmap() routine to return</title>
<updated>2010-12-26T15:40:57Z</updated>
<author>
<name>miod</name>
<email>miod@openbsd.org</email>
</author>
<published>2010-12-26T15:40:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=97c974cd9b1866333f779ef7152beb9ce2345b4f'/>
<id>urn:sha1:97c974cd9b1866333f779ef7152beb9ce2345b4f</id>
<content type='text'>
a physical address [more precisely, something suitable to pass to pmap_enter()'sphysical address argument].

This allows MI drivers to implement mmap() routines without having to know
about the pmap_phys_address() implementation and #ifdef obfuscation.
</content>
</entry>
<entry>
<title>This is a first step towards getting rid of avail_start and avail_end in the</title>
<updated>2010-11-20T20:33:21Z</updated>
<author>
<name>miod</name>
<email>miod@openbsd.org</email>
</author>
<published>2010-11-20T20:33:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=916e928b748d205ed7dd2b5402633c775908f1b7'/>
<id>urn:sha1:916e928b748d205ed7dd2b5402633c775908f1b7</id>
<content type='text'>
kernel, currently limited to low-hanging fruit: these variables were used
by bus_dma to specify the range in which to allocate memory, back when
uvm_pglistalloc() was stupid and would not walk the vm_physseg[].

Nowadays, except on some platforms for early initialization, these variables
are not used, or do not need to be global variables. Therefore:
- remove `extern' declarations of avail_start and avail_end (or close cousins,
  such as arm physical_start and physical_end) from files which no longer need
  to use them.
- make them local variables whenever possible.
- remove them when they are assigned to but no longer used.
</content>
</entry>
<entry>
<title>pmap_extract() does the equivalent of vtophys if pmap_kernel(), so instead of</title>
<updated>2010-04-10T13:46:12Z</updated>
<author>
<name>oga</name>
<email>oga@openbsd.org</email>
</author>
<published>2010-04-10T13:46:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2390d34d4032f0806418425de2464a519266ff90'/>
<id>urn:sha1:2390d34d4032f0806418425de2464a519266ff90</id>
<content type='text'>
doing if (p != NULL) pmap_extract() else vtophys() in a loop, just do
pmap_extract unconditionally.

ok miod@ (he found a typo, all hail miod!)
</content>
</entry>
<entry>
<title>PMAP_CANFAIL for bus_dmamem_map on all other architectures (and some</title>
<updated>2010-03-29T19:21:58Z</updated>
<author>
<name>oga</name>
<email>oga@openbsd.org</email>
</author>
<published>2010-03-29T19:21:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0cc963f81d5bd0000c9ac03e3207df8d8830aaa9'/>
<id>urn:sha1:0cc963f81d5bd0000c9ac03e3207df8d8830aaa9</id>
<content type='text'>
whitespace tweaks on i386 so that it matches).

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