CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 21:04:36 Modified files: sys/dev/ic : nvme.c Log message: WAITOK for the dmamap create for ccbs too again, only called during autoconf which is a kind of process context.

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 18:26:38 Modified files: sys/dev/ic : nvme.c Log message: cut the memory for io buffers up into page sized chunks nvme 1.0 does not use conventional scatter gather lists of address+length

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 18:19:57 Modified files: sys/dev/ic : nvme.c Log message: check both the admin and io queue for completions in the interrupt handler this means we'll notice io completions.

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 18:12:51 Modified files: sys/dev/ic : nvme.c Log message: dont put names in arguments.

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 18:10:37 Modified files: sys/dev/ic : nvmevar.h Log message: tabs, not spaces

CVS: cvs.openbsd.org: www

2016-04-13 Thread T . J . Townsend
CVSROOT:/cvs Module name:www Changes by: t...@cvs.openbsd.org2016/04/13 13:42:15 Modified files: faq: faq5.html Log message: tweak cvsrc example and accompanying text.

CVS: cvs.openbsd.org: www

2016-04-13 Thread T . J . Townsend
CVSROOT:/cvs Module name:www Changes by: t...@cvs.openbsd.org2016/04/13 10:38:18 Modified files: faq: faq13.html index.html Log message: new section on recording monitor mixes; from lists at wrant.com with input from tb ratchov and myself

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 07:39:16 Modified files: sys/dev/ic : nvme.c Log message: implement handling of scsi reads and writes ive only tested reads, and not very big ones. nvme 1.0 has a very stupid/naive idea

CVS: cvs.openbsd.org: src

2016-04-13 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2016/04/13 07:25:05 Modified files: lib/libssl/src/crypto/evp: e_chacha20poly1305.c Log message: Use the correct iv and counter when decrypting the ciphertext for EVP_aead_chacha20_poly1305_ietf().

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 07:16:33 Modified files: sys/dev/ic : nvme.c Log message: allocate a queue for io commands and tell the chip about it. this is necessary to run reads and writes against the device.

CVS: cvs.openbsd.org: src

2016-04-13 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2016/04/13 07:18:05 Modified files: regress/lib/libcrypto/aead: aeadtest.c Log message: After opening an AEAD, ensure that the decrypted output matches the plaintext for the regress test case.

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 07:17:24 Modified files: sys/dev/ic : nvme.c Log message: enable interrupts before attaching the scsibus

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 07:13:27 Modified files: sys/dev/ic : nvme.c Log message: nvme_q_create() issues the commands to tell the chip about io queues

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 07:09:36 Modified files: sys/dev/ic : nvme.c Log message: stub out handling of TEST_UNIT_READY, PREVENT_ALLOW, and START_STOP at the moment this just pretends the commands completed fine.

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 07:05:10 Modified files: sys/dev/ic : nvme.c Log message: implement handling of scsi read capacity commands read cap 16 claims the devices are thin.

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 06:59:28 Modified files: sys/dev/ic : nvme.c Log message: implement basic scsi inquiry handling most values are as per the nvm to scsi mapping guide. this doesnt do vpd at all, so no devids

CVS: cvs.openbsd.org: src

2016-04-13 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2016/04/13 06:58:13 Modified files: usr.bin/mandoc : cgi.c Log message: Give manuals in purely numerical sections priority over manuals of the same name in sections with an alphabetical suffix; same

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 06:49:24 Modified files: sys/dev/ic : nvmereg.h Log message: provide variants of the sqe struct for q creation and io operations

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 06:42:09 Modified files: sys/dev/ic : nvme.c Log message: implement the guts of the scsi probe and free function probe issues a namespace identify against the "target". if it works it

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 06:39:52 Modified files: sys/dev/ic : nvmereg.h Log message: implement the namespace identify structure

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 06:36:35 Modified files: sys/dev/ic : nvmereg.h Log message: the io command set

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 06:28:57 Modified files: sys/dev/ic : nvme.c nvmevar.h Log message: wire up the scsi midlayer. scsibus should appear after this.

CVS: cvs.openbsd.org: src

2016-04-13 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2016/04/13 06:26:21 Modified files: usr.bin/mandoc : main.c Log message: Give manuals in purely numerical sections priority over manuals of the same name in sections with an alphabetical suffix (on

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 06:21:15 Modified files: sys/dev/ic : nvme.c nvmevar.h Log message: allocate an array of things to hold info about namespaces so far the only useful info is namespace identify info

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 06:07:03 Modified files: sys/dev/ic : nvmevar.h Log message: make a place for q_id to go

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 06:04:20 Modified files: sys/dev/ic : nvme.c Log message: provide an scsi_adapter and stub functions for emulation to sit in

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 06:14:13 Modified files: sys/dev/ic : nvme.c nvmevar.h Log message: stash the controller identify and number of namespaces in the softc. the nn is used to size the scsi bus, and the

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 05:56:51 Modified files: sys/dev/ic : nvme.c Log message: nvme_sqe_fill will post a copy of an sqe from a caller

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 05:51:56 Modified files: sys/dev/ic : nvme.c Log message: make nvme_poll return the flags from the completion queue entry it's still 0 on success, but is the actual bits rather than a mashup

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 05:54:33 Modified files: sys/dev/ic : nvme.c Log message: poll for command completion on the cqe itll be of calling nvme_intr

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 05:48:38 Modified files: sys/dev/ic : nvme.c Log message: keep track of the queue id in nvme_queue.

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 05:45:06 Modified files: sys/dev/ic : nvme.c Log message: rename idx to id in nvme_q_alloc make it a u_int16_t like the hw while here.

CVS: cvs.openbsd.org: src

2016-04-13 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2016/04/13 05:42:04 Modified files: sys/dev/ic : nvme.c Log message: nvme_dmamem_alloc runs in autoconf or process context, so it can sleep

CVS: cvs.openbsd.org: src

2016-04-13 Thread Martin Pieuchot
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2016/04/13 05:41:15 Modified files: sys/net: if_gif.c if_loop.c if_mpe.c if_ppp.c if_pppoe.c if_pppx.c if_trunk.c if_tun.c if_vether.c if_vlan.c

CVS: cvs.openbsd.org: src

2016-04-13 Thread Martin Pieuchot
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2016/04/13 05:36:00 Modified files: sys/dev/pv : if_xnf.c sys/dev/pci: if_myx.c sys/dev/sbus : be.c qe.c Log message: G/C IFQ_SET_READY().

CVS: cvs.openbsd.org: src

2016-04-13 Thread Martin Pieuchot
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2016/04/13 05:34:00 Modified files: sys/arch/armv7/imx: imxenet.c sys/arch/armv7/omap: if_cpsw.c sys/arch/armv7/sunxi: sxie.c sys/arch/macppc/dev: if_bm.c if_mc.c

CVS: cvs.openbsd.org: src

2016-04-13 Thread Martin Pieuchot
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2016/04/13 05:03:37 Modified files: sys/dev/usb: if_atu.c if_aue.c if_axe.c if_axen.c if_cdce.c if_cdcef.c if_cue.c if_kue.c if_mos.c if_otus.c if_ral.c

CVS: cvs.openbsd.org: src

2016-04-13 Thread Martin Pieuchot
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2016/04/13 04:49:26 Modified files: sys/dev/ic : acx.c aic6915.c an.c ath.c athn.c atw.c bwi.c dc.c dp8390.c elink3.c fxp.c gem.c hme.c i82596.c if_wi.c

CVS: cvs.openbsd.org: src

2016-04-13 Thread Martin Pieuchot
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2016/04/13 04:34:32 Modified files: sys/dev/pci: if_age.c if_alc.c if_ale.c if_bce.c if_bge.c if_bnx.c if_cas.c if_de.c if_em.c if_et.c if_ipw.c

CVS: cvs.openbsd.org: src

2016-04-13 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2016/04/13 03:42:41 Modified files: lib/libedit: read.c Log message: Re-introduce the following commit: OpenBSD read.c rev. 1.4 1997/06/10 20:10:13 millert FIONREAD takes int *, not long * It

CVS: cvs.openbsd.org: src

2016-04-13 Thread Martin Pieuchot
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2016/04/13 02:04:14 Modified files: sys/net: rtable.c art.c art.h Log message: Keep all pools in the same place. ok jmatthew@

CVS: cvs.openbsd.org: src

2016-04-13 Thread Sebastien Marie
CVSROOT:/cvs Module name:src Changes by: sema...@cvs.openbsd.org 2016/04/13 00:33:36 Modified files: usr.sbin/radiusd: radiusd.c Log message: remove "abort" promise from debugging code in radiusd it is the default now, and the promise name isn't valid anymore. ok

CVS: cvs.openbsd.org: src

2016-04-13 Thread Vincent Gross
CVSROOT:/cvs Module name:src Changes by: vgr...@cvs.openbsd.org 2016/04/13 00:06:04 Modified files: sys/netinet: in_pcb.c Log message: Remove extra parenthesis around comparison. Found by David Hill with clang.