<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/arch/hppa/dev/apic.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/hppa/dev/apic.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/hppa/dev/apic.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2018-05-14T13:54:39Z</updated>
<entry>
<title>Relax the way irqs are assigned.  This diff does:</title>
<updated>2018-05-14T13:54:39Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2018-05-14T13:54:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=51f66ac76fe2119d6ac8316b4a09dbb260bff705'/>
<id>urn:sha1:51f66ac76fe2119d6ac8316b4a09dbb260bff705</id>
<content type='text'>
- dynamic allocation of interrupts for dino(4) and gsc(4)
- only mention irq locators for devices which use interrupts.
- for gsc(4), this actually postpones interrupt allocation until gsc(4)
  attaches, so asp(4)/lasi(4)/wax(4) won't route the interrupt yet, but
  the gsc(4) child will take care of this.
- remove the irq locator for the drivers which do not need a fixed
  assignment. siop and moongoose could benefit from this but don't work
  at the moment so this is left as an exercize to future kernel hackers.
  A side effect from this is that we do not need multiple sti(4)
  attachment lines, so PCI sti(4) devices will now attach as sti0 rather
  than sti2.

With this diff, multiple dino(4) devices attached to the same parent
will use different interrupt sources, and more than two dino(4) devices
can attach.

Tested on 715/75 (old-gen using asp), 715/100/XC (new-gen using lasi),
B132L+, B180L, C240, B2000, C3650.

From miod@
</content>
</entry>
<entry>
<title>sizes for free(), when known; ok semarie</title>
<updated>2015-09-08T07:14:04Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-09-08T07:14:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=367b04a3bef60645e7bfd60ce04eca9394e8b5be'/>
<id>urn:sha1:367b04a3bef60645e7bfd60ce04eca9394e8b5be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix a free of an uninitialized variable in an error path.</title>
<updated>2015-08-12T05:39:36Z</updated>
<author>
<name>mlarkin</name>
<email>mlarkin@openbsd.org</email>
</author>
<published>2015-08-12T05:39:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=54b0a103f714765fd49fe14128eb22f54a81790c'/>
<id>urn:sha1:54b0a103f714765fd49fe14128eb22f54a81790c</id>
<content type='text'>
ok miod@

found by Maxime Villard / Brainy Code Scanner. thanks.
</content>
</entry>
<entry>
<title>Replace some malloc(n*size,...) calls with mallocarray().</title>
<updated>2014-12-09T06:58:28Z</updated>
<author>
<name>doug</name>
<email>doug@openbsd.org</email>
</author>
<published>2014-12-09T06:58:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5714159a8ce4224ba1272c14d2303d9f9e962179'/>
<id>urn:sha1:5714159a8ce4224ba1272c14d2303d9f9e962179</id>
<content type='text'>
ok tedu@ deraadt@
</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>Fix counting of interrupts for devices that attach to elroy(4).  Shared</title>
<updated>2011-05-01T21:59:38Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2011-05-01T21:59:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b83c2504e340b3fa0dc5deba7f46bfcecb7fd1dd'/>
<id>urn:sha1:b83c2504e340b3fa0dc5deba7f46bfcecb7fd1dd</id>
<content type='text'>
interrupts would be counted double, once for the interrupting device and
once for the device at the head of the chain.  The handlers would run properly
though.  Avoid this by giving each device its own interrupt counter instead
of using the counter provided by the generic interrupt handling code for the
head of the chain.
</content>
</entry>
<entry>
<title>Stop calling shared interrupt handlers as soon as one of them return 1</title>
<updated>2011-04-23T22:20:22Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2011-04-23T22:20:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f84a0763d4dc519baba9839fc81864cf3c65c47d'/>
<id>urn:sha1:f84a0763d4dc519baba9839fc81864cf3c65c47d</id>
<content type='text'>
(positive interrupt was for me), like we do on other architectures.
This is done here, at the elroy(4) driver level, since this is where shared
PCI interrupts are handled.  We could do something similar for dino(4) but
this optimization is probably not very relevant there.

ok deraadt@
</content>
</entry>
<entry>
<title>Get rid of evcount's support for arranging counters in a tree</title>
<updated>2010-09-20T06:33:46Z</updated>
<author>
<name>matthew</name>
<email>matthew@openbsd.org</email>
</author>
<published>2010-09-20T06:33:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4667bebbb63d1a17d5f01b2cbe4d386208702e10'/>
<id>urn:sha1:4667bebbb63d1a17d5f01b2cbe4d386208702e10</id>
<content type='text'>
hierarchy.  Everything attached to a single root node anyway, so at
best we had a bush.

"i think it is good" deraadt@
</content>
</entry>
<entry>
<title>No "\n" needed at the end of panic() strings.</title>
<updated>2010-08-07T03:50:01Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2010-08-07T03:50:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=859d5ed4e977cc7c386c854ab9a07632d5d7da87'/>
<id>urn:sha1:859d5ed4e977cc7c386c854ab9a07632d5d7da87</id>
<content type='text'>
Bogus chunks pointed out by matthew@ and miod@. No cookies for
marco@ and jasper@.

ok deraadt@ miod@ matthew@ jasper@ macro@
</content>
</entry>
<entry>
<title>Add missing prototypes</title>
<updated>2010-05-24T15:04:53Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2010-05-24T15:04:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=dd6e448899841ae6be0cc6f36722897dae9b131a'/>
<id>urn:sha1:dd6e448899841ae6be0cc6f36722897dae9b131a</id>
<content type='text'>
ok jsing kettenis
</content>
</entry>
</feed>
