CVS commit: src/sys/external/bsd/common/linux

2020-02-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 1 22:38:05 UTC 2020 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Fix abuse of TAILQ_CONCAT. Other parts of this expect that the entries will be on wq->wq_queue or wq->wq_dqueue, so we c

CVS commit: src/sys/opencrypto

2020-02-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 1 13:48:09 UTC 2020 Modified Files: src/sys/opencrypto: crypto.c Log Message: softint_disestablish does xc_barrier(0) for us already. To generate a diff of this commit: cvs rdiff -u -r1.111 -r1.112 src/sys/opencrypto

CVS commit: src/sys/dev/pci/qat

2020-02-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 1 13:48:18 UTC 2020 Modified Files: src/sys/dev/pci/qat: qat.c Log Message: opencrypto orders new_session -> process for us. No need for membar_producer. Discussed with hikaru@. To generate a diff of this commit: c

CVS commit: src/share/man/man9

2020-02-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 1 13:35:12 UTC 2020 Modified Files: src/share/man/man9: xcall.9 Log Message: Redocument xc_barrier. Be more clearer, and more correcter, about what it does. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1

CVS commit: src/sys/arch/arm/pic

2020-02-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 1 12:55:03 UTC 2020 Modified Files: src/sys/arch/arm/pic: pic.c Log Message: Switch arm pic allocation and initialization to percpu_create. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sys/arch/a

CVS commit: src/sys/arch/arm/pic

2020-02-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 1 12:55:26 UTC 2020 Modified Files: src/sys/arch/arm/pic: pic.c Log Message: Reduce some ifdefs. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/sys/arch/arm/pic/pic.c Please note that diffs are no

CVS commit: src/sys/arch/arm/pic

2020-02-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 1 12:55:13 UTC 2020 Modified Files: src/sys/arch/arm/pic: pic.c Log Message: pic_pending_zero is unnecessary; percpu_alloc already zeroes. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/sys/arch/ar

CVS commit: src/sys/arch/arm/pic

2020-02-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 1 12:55:35 UTC 2020 Modified Files: src/sys/arch/arm/pic: pic.c Log Message: KNF To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/sys/arch/arm/pic/pic.c Please note that diffs are not public domain;

CVS commit: src/sys

2020-02-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 1 12:54:51 UTC 2020 Modified Files: src/sys/net: if.c if_l2tp.c route.c src/sys/netinet: wqinput.c Log Message: Switch sys/net to percpu_create. To generate a diff of this commit: cvs rdiff -u -r1.469 -r1.470

CVS commit: src/sys/opencrypto

2020-02-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 1 12:54:30 UTC 2020 Modified Files: src/sys/opencrypto: crypto.c Log Message: Switch opencrypto to percpu_create. Can't sleep for allocation in percpu_foreach. To generate a diff of this commit: cvs rdiff -u -r1.110

CVS commit: src/sys/kern

2020-02-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 1 12:53:41 UTC 2020 Modified Files: src/sys/kern: subr_percpu.c Log Message: KNF To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/kern/subr_percpu.c Please note that diffs are not public domain;

CVS commit: src/sys/kern

2020-02-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 1 12:51:19 UTC 2020 Modified Files: src/sys/kern: subr_percpu.c Log Message: Use __read_mostly and gather related __cacheline_aligned together. Should save a few bytes of kernel. To generate a diff of this commit: c

CVS commit: src

2020-02-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 1 12:49:02 UTC 2020 Modified Files: src/distrib/sets/lists/comp: mi src/share/man/man9: Makefile percpu.9 src/sys/kern: subr_percpu.c src/sys/sys: percpu.h Log Message: New function percpu_creat

CVS commit: src/sys/net

2020-01-31 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 1 02:58:06 UTC 2020 Modified Files: src/sys/net: if_l2tp.c if_l2tp.h Log Message: Switch if_l2tp to atomic_load/store_*. Fix missing membar_datadep_consumer -- now atomic_load_consume -- in l2tp_lookup_session_ref.

CVS commit: src/sys/net

2020-01-31 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 1 02:58:15 UTC 2020 Modified Files: src/sys/net: if_vlan.c Log Message: Switch if_vlan to atomic_load/store_*. Fix missing membar_datadep_consumer -- now atomic_load_consume -- in vlan_lookup_tag_psref. To generate

CVS commit: src/sys/net

2020-01-31 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 1 02:57:56 UTC 2020 Modified Files: src/sys/net: if_ipsec.c if_ipsec.h Log Message: Fix order in rollback case; switch if_ipsec to atomic_load/store_*. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 sr

CVS commit: src/sys/net

2020-01-31 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 1 02:57:45 UTC 2020 Modified Files: src/sys/net: if_gif.c if_gif.h Log Message: Switch if_gif to atomic_load/store_*. To generate a diff of this commit: cvs rdiff -u -r1.151 -r1.152 src/sys/net/if_gif.c cvs rdiff -u

CVS commit: src/sys/net

2020-01-31 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 1 02:54:02 UTC 2020 Modified Files: src/sys/net: bpf.c bpfjit.c Log Message: Fix wrong memory order and switch bpf to atomic_load/store_*. To generate a diff of this commit: cvs rdiff -u -r1.233 -r1.234 src/sys/net/b

CVS commit: src/sys/net

2020-01-31 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 1 02:54:31 UTC 2020 Modified Files: src/sys/net: pfil.c Log Message: Fix wrong memory order and switch pfil to atomic_load/store_*. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/net/pfil.c Pl

CVS commit: src/sys/dev/pci/ixgbe

2020-01-31 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 1 02:33:09 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe_netbsd.c Log Message: Use atomic_load_acquire for FreeBSDish atomic_load_acq_uint shim. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 s

CVS commit: src/sys/dev/pci

2020-01-31 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 1 02:32:40 UTC 2020 Modified Files: src/sys/dev/pci: if_ena.c Log Message: Use atomic_load/store_* in ena(4), not questionable membar_sync. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/dev/pc

CVS commit: src/sys

2020-01-31 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 1 02:23:04 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_ioctl.c src/sys/ddb: db_xxx.c src/sys/kern: kern_descrip.c kern_event.c kern_sig.c subr_exec_fd.c sys_aio.c sys_descrip.c

CVS commit: src/sys

2020-01-31 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 1 02:23:23 UTC 2020 Modified Files: src/sys/ddb: db_xxx.c src/sys/kern: kern_descrip.c kern_sig.c subr_exec_fd.c uipc_socket2.c uipc_usrreq.c Log Message: Load struct fdfile::ff_file with atomic_loa

CVS commit: src/sys/dev/usb

2020-01-26 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jan 26 22:34:17 UTC 2020 Modified Files: src/sys/dev/usb: uatp.c Log Message: Use __BIT. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/dev/usb/uatp.c Please note that diffs are not public domain;

CVS commit: src/sys/dev/usb

2020-01-26 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jan 26 22:19:27 UTC 2020 Modified Files: src/sys/dev/usb: uatp.c Log Message: Work around quirk of Fountain and Geyser 1 trackpads. Sometimes they get desynchronized, but we know the last packet is a 17-byte packet, so if

CVS commit: src/sys/dev/usb

2020-01-26 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jan 26 22:19:39 UTC 2020 Modified Files: src/sys/dev/usb: uatp.c Log Message: Downgrade noisy message from aprint_verbose to DPRINTF. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/dev/usb/uatp.c P

CVS commit: src/sys/dev/usb

2020-01-26 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jan 26 22:19:54 UTC 2020 Modified Files: src/sys/dev/usb: uatp.c Log Message: Unconditionally enable UATP_DEBUG. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/usb/uatp.c Please note that diffs

CVS commit: src/sys/arch/arm/sunxi

2020-01-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jan 20 16:29:38 UTC 2020 Modified Files: src/sys/arch/arm/sunxi: sun8i_crypto.c Log Message: Fix (presently harmless) psato. Don't overwrite cy_root_node; use cy_trng_node as intended. To generate a diff of this commit:

CVS commit: src/sys/netinet

2020-01-19 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jan 19 20:51:13 UTC 2020 Modified Files: src/sys/netinet: sctp_pcb.c sctp_pcb.h sctputil.c sctputil.h Log Message: Replace kooky sctp random number generation by cprng_strong32(). To generate a diff of this commit: cvs rd

CVS commit: src

2020-01-19 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jan 19 20:41:19 UTC 2020 Modified Files: src/distrib/sets/lists/base: mi src/distrib/sets/lists/comp: mi src/distrib/sets/lists/man: mi src/etc: MAKEDEV.tmpl src/etc/mtree: NetBSD.dist.base

CVS commit: src/usr.bin/make/filemon

2020-01-19 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jan 19 20:22:57 UTC 2020 Modified Files: src/usr.bin/make/filemon: filemon_ktrace.c Log Message: Missed a spot -- define _KERNTYPES to get register_t. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/usr.bi

CVS commit: src/usr.bin/make

2020-01-19 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jan 19 19:50:54 UTC 2020 Modified Files: src/usr.bin/make: Makefile Log Message: Tweak makefile for USE_FILEMON=dev, from sjg. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 src/usr.bin/make/Makefile Pleas

CVS commit: src/usr.bin/make

2020-01-19 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jan 19 19:49:37 UTC 2020 Modified Files: src/usr.bin/make: Makefile meta.c Added Files: src/usr.bin/make/filemon: filemon.h filemon_dev.c filemon_ktrace.c Removed Files: src/usr.bin/make: filemon.c filemon.h

CVS commit: src/usr.bin/make

2020-01-19 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jan 19 19:42:32 UTC 2020 Modified Files: src/usr.bin/make: Makefile compat.c job.c meta.c meta.h Added Files: src/usr.bin/make: filemon.c filemon.h Log Message: Reimplement make(1) meta mode without filemon(4). To

CVS commit: src/sys/arch

2020-01-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jan 12 21:52:36 UTC 2020 Modified Files: src/sys/arch/arm/sunxi: sun8i_crypto.c src/sys/arch/evbarm/conf: GENERIC64 Log Message: Enable sun8icrypto in GENERIC64. But set its entropy estimate to zero until we have a

CVS commit: src/sys/arch

2019-12-18 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Dec 18 21:45:44 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: aarch64_machdep.c src/sys/arch/aarch64/include: machdep.h src/sys/arch/arm/arm32: arm32_machdep.c src/sys/arch/arm/include/arm32:

CVS commit: src/sys

2019-12-18 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Dec 18 21:46:03 UTC 2019 Modified Files: src/sys/arch/evbarm/fdt: fdt_machdep.c src/sys/stand/efiboot: boot.c efiboot.h efifdt.c efifdt.h exec.c version Log Message: Implement rndseed support in efiboot

CVS commit: src/sys/arch/arm/sunxi

2019-12-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Dec 18 02:26:48 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun8i_crypto.c Log Message: Reduce entropy estimate for sun8icrypto TRNG. NIST's SP800-90B entropy estimation tools put it at no more than .08 bits of entrop

CVS commit: src/sys/arch

2019-12-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Dec 15 17:17:16 UTC 2019 Modified Files: src/sys/arch/amd64/conf: ALL src/sys/arch/i386/conf: ALL Log Message: Add vhci to x86/ALL. To generate a diff of this commit: cvs rdiff -u -r1.131 -r1.132 src/sys/arch/amd6

CVS commit: src/sys/arch/arm/sunxi

2019-12-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Dec 15 01:16:33 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun8i_crypto.c Log Message: Fix typo -- acknowledge interrupts _and_ errors. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/su

CVS commit: src/sys/lib/libkern

2019-12-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Dec 14 17:24:43 UTC 2019 Modified Files: src/sys/lib/libkern: Makefile.libkern Log Message: Nix trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/lib/libkern/Makefile.libkern Plea

CVS commit: src/sys/lib/libkern

2019-12-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Dec 14 17:23:47 UTC 2019 Modified Files: src/sys/lib/libkern: Makefile.libkern libkern.h Removed Files: src/sys/lib/libkern: mertwist.c Log Message: Remove never-used Mersenne twister from libkern. To generate a d

CVS commit: src/sys/lib/libkern

2019-12-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Dec 14 17:23:31 UTC 2019 Modified Files: src/sys/lib/libkern: Makefile.libkern Log Message: Omit vestigial unused commented-out experiment. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/lib/libkern

CVS commit: src/sys/dev

2019-12-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Dec 14 16:58:38 UTC 2019 Modified Files: src/sys/dev: cgd.c cgd_crypto.c Log Message: Just use KASSERTMSG and panic. No need for custom wrappers. To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118 src/sys/de

CVS commit: src/sys/kern

2019-12-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Dec 14 16:58:25 UTC 2019 Modified Files: src/sys/kern: kern_ras.c Log Message: Remove charade dancing around now-dead RCU patent. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/kern/kern_ras.c Plea

CVS commit: src/sys/net/npf

2019-12-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Dec 14 15:21:51 UTC 2019 Modified Files: src/sys/net/npf: npf_conndb.c Log Message: Skip npf_config_sync if nothing to do. Saves an unnecessary pserialize_perform every second. To generate a diff of this commit: cvs rdif

CVS commit: src/sys/arch/arm/sunxi

2019-12-10 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Dec 10 22:30:34 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun8i_crypto.c Log Message: Oops -- forgot to kmem_free. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/sunxi/sun8i_crypto.c

CVS commit: src/sys/arch/arm/sunxi

2019-12-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Dec 9 14:56:06 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun8i_crypto.c Log Message: Factor out some of the self-test logic used for debugging. Add missing bus_dmamap_sync(POSTWRITE) while here. To generate a dif

CVS commit: src/sys/arch/arm/sunxi

2019-12-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Dec 9 14:56:44 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun8i_crypto.c Log Message: Tidy up comments. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/sunxi/sun8i_crypto.c Please note

CVS commit: src/sys/arch/arm/sunxi

2019-12-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Dec 9 14:56:18 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun8i_crypto.c Log Message: Make sure ERESTART doesn't come flying out to userland. I picked ERESTART to mean `all channels are occupied' because that's what

CVS commit: src/sys/arch/arm/sunxi

2019-12-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Dec 9 14:56:30 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun8i_crypto.c Log Message: Avoid a race between interruption and reacquisition of lock. Otherwise, we would have leaked the memory in this case. To genera

CVS commit: src/sys/arch/arm/sunxi

2019-12-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Dec 9 14:55:52 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun8i_crypto.c Log Message: Reduce some duplicated bus_dma clutter. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/sunxi/sun8i

CVS commit: src/sys/arch

2019-12-08 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Dec 9 04:51:04 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: files.sunxi src/sys/arch/evbarm/conf: GENERIC64 Added Files: src/sys/arch/arm/sunxi: sun8i_crypto.c sun8i_crypto.h Log Message: Draft driver f

CVS commit: src/sys/arch/arm/dts

2019-12-08 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Dec 9 04:40:50 UTC 2019 Modified Files: src/sys/arch/arm/dts: sun50i-a64.dtsi Log Message: Add crypto engine block. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/arm/dts/sun50i-a64.dtsi Plea

CVS commit: src/sys/uvm/pmap

2019-12-08 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Dec 9 04:39:58 UTC 2019 Modified Files: src/sys/uvm/pmap: pmap_pvt.c Log Message: Convert pmap_pvt to atomic_load/store. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/uvm/pmap/pmap_pvt.c Please not

CVS commit: src

2019-12-07 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Dec 7 15:14:00 UTC 2019 Modified Files: src/distrib/sets/lists/comp: mi src/lib/libc/atomic: Makefile.inc Log Message: Add missing MLINK for membar_datadep_consumer(3). Detected by the indefatigable wizd. To gen

CVS commit: src/sys/rump/librump/rumpkern

2019-12-07 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Dec 7 14:55:58 UTC 2019 Modified Files: src/sys/rump/librump/rumpkern: rump.c Log Message: Restore call to pserialize_init. We need it after all for psz_lock on the event counter. To generate a diff of this commit: cvs

CVS commit: src/sbin/rndctl

2019-12-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Dec 6 14:43:18 UTC 2019 Modified Files: src/sbin/rndctl: Makefile rndctl.8 rndctl.c Added Files: src/sbin/rndctl: namespace.h Log Message: Teach `rndctl -L' to update the seed file, not just delete it. The seed fi

CVS commit: src

2019-12-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Dec 6 14:43:30 UTC 2019 Modified Files: src/etc: security src/etc/defaults: security.conf src/share/man/man5: security.conf.5 Log Message: Save the entropy seed daily in /etc/security. To generate a diff

CVS commit: src/sys/dev

2019-12-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Dec 6 04:15:38 UTC 2019 Modified Files: src/sys/dev: cons.c Log Message: Restore historical $Hdr$ tag after git cvsexportcommit nixed it. To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/sys/dev/cons.c

CVS commit: src/sys/dev

2019-12-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Dec 6 03:45:33 UTC 2019 Modified Files: src/sys/dev: cons.c Log Message: Fix reference count leak in cons(4). Don't forget to vrele after you're done, folks! XXX pullup-9 XXX pullup-8 XXX pullup-7 XXX pullup-6... 5... 4

CVS commit: src/sys/lib/libkern

2019-12-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Dec 5 04:17:13 UTC 2019 Modified Files: src/sys/lib/libkern: libkern.h Log Message: #ifdef notyet ---> never To generate a diff of this commit: cvs rdiff -u -r1.135 -r1.136 src/sys/lib/libkern/libkern.h Please note that

CVS commit: src/sys/arch/hppa/include

2019-12-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Dec 5 03:59:39 UTC 2019 Modified Files: src/sys/arch/hppa/include: cpu.h Log Message: Only need one ci_onproc member. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/hppa/include/cpu.h Please no

CVS commit: src/sys/rump/kern/lib/libcrypto

2019-12-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Dec 5 03:57:55 UTC 2019 Modified Files: src/sys/rump/kern/lib/libcrypto: Makefile Log Message: Missed a spot in the crypto/arc4 deletion. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/rump/kern/lib/

CVS commit: src/external/cddl/osnet/sys/sys

2019-12-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Dec 5 03:21:42 UTC 2019 Modified Files: src/external/cddl/osnet/sys/sys: opentypes.h Log Message: Avoid redefining uint_t &c. if compat_defs.h already defines them. To generate a diff of this commit: cvs rdiff -u -r1.4 -

CVS commit: src/sys/kern

2019-12-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Dec 5 03:21:29 UTC 2019 Modified Files: src/sys/kern: subr_pserialize.c Log Message: Switch psz_ev_excl to static evcnt. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/kern/subr_pserialize.c Pleas

CVS commit: src/sys

2019-12-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Dec 5 03:22:03 UTC 2019 Modified Files: src/sys/conf: files Removed Files: src/sys/crypto/arc4: arc4.c arc4.h files.arc4 Log Message: Nuke crypto/arc4. Has not been used since 2003. Will not be missed. To gener

CVS commit: src/sys/kern

2019-12-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Dec 5 03:21:17 UTC 2019 Modified Files: src/sys/kern: subr_pserialize.c Log Message: Restore psz_lock just for the event count. Cost of mutex_enter/exit is negligible compared to the xcall we just did, so this is not goin

CVS commit: src/sys/kern

2019-12-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Dec 5 03:21:08 UTC 2019 Modified Files: src/sys/kern: subr_percpu.c Log Message: Allow equality in this assertion. This can happen if we lose the race mentioned in percpu_cpu_swap. To generate a diff of this commit: cvs

CVS commit: src/sys/kern

2019-12-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Dec 4 05:36:35 UTC 2019 Modified Files: src/sys/kern: subr_cprng.c Log Message: Disable rngtest on output of cprng_strong. We already do a self-test for correctenss of Hash_DRBG output; applying rngtest to it does nothing

CVS commit: src/share/man/man9

2019-12-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Dec 4 03:04:43 UTC 2019 Modified Files: src/share/man/man9: rnd.9 Log Message: Update rnd(9) man page to reflect reality since netbsd-7. - Note rndsource_setcb, RND_FLAG_HASCB, and rnd_add_data_sync. - Note user's obligat

CVS commit: src/sys/rump/include/machine

2019-12-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Dec 4 03:04:52 UTC 2019 Modified Files: src/sys/rump/include/machine: cpu.h Log Message: Fix rump definition of cpu_number(). To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/rump/include/machine/cpu

CVS commit: src/sys

2019-12-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Dec 3 15:21:00 UTC 2019 Modified Files: src/sys/arch/arm/arm: arm_machdep.c src/sys/arch/mips/mips: cpu_subr.c src/sys/arch/sparc/sparc: intr.c src/sys/arch/sparc64/sparc64: machdep.c src/sys

CVS commit: src/sys

2019-12-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Dec 3 05:07:49 UTC 2019 Modified Files: src/sys/arch/mips/rmi: rmixl_cpu.c src/sys/kern: kern_lwp.c kern_softint.c kern_synch.c subr_pserialize.c src/sys/rump/librump/rumpkern: rump.c src/sys/sys: cp

CVS commit: src/sys/dev/usb

2019-12-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Dec 3 05:01:58 UTC 2019 Modified Files: src/sys/dev/usb: usbnet.c Log Message: Fix inequality for refcnt drain: -1 here means all refs gone. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/dev/usb/u

CVS commit: src/sys/dev/usb

2019-12-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Dec 3 05:01:45 UTC 2019 Modified Files: src/sys/dev/usb: usbnet.c Log Message: Fix order of nulling un->un_pri->unp_ec.ec_mii. Can't null it until after if_detach prevents further use. While here, fix conditionals in usb

CVS commit: src/sys/fs/tmpfs

2019-12-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Dec 3 04:59:05 UTC 2019 Modified Files: src/sys/fs/tmpfs: tmpfs_rename.c Log Message: Omit obsolete comment and needless __diagused marker. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/fs/tmpfs/tm

CVS commit: src/sys/arch/x86/x86

2019-12-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Dec 3 04:57:25 UTC 2019 Modified Files: src/sys/arch/x86/x86: bus_space.c Log Message: Skip fences in bus_space_barrier on I/O space. I/O operations are issued in program order. Not that I/O operations are usually a perf

CVS commit: src/sys/sys

2019-12-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Dec 3 04:57:38 UTC 2019 Modified Files: src/sys/sys: atomic.h Log Message: Fix brain fart in alignment criterion. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/sys/atomic.h Please note that diffs

CVS commit: src/sys/dev/pci

2019-12-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Dec 2 17:13:13 UTC 2019 Modified Files: src/sys/dev/pci: pci_map.c Log Message: Leave it entirely up to the driver whether to map prefetchable. We have only a few drivers that pass BUS_SPACE_MAP_PREFETCHABLE to pci_mapreg

CVS commit: src/sys/arch/x86/x86

2019-12-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Dec 2 08:33:52 UTC 2019 Modified Files: src/sys/arch/x86/x86: bus_space.c Log Message: Use LFENCE/SFENCE/MFENCE in x86 bus_space_barrier. These are needed for BUS_SPACE_MAP_PREFETCHABLE mappings. On x86, these are WC-typ

CVS commit: src/sys/dev/pci

2019-12-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Dec 2 08:33:42 UTC 2019 Modified Files: src/sys/dev/pci: pci_map.c Log Message: Use BUS_SPACE_MAP_PREFETCHABLE only if BAR and driver agree on it. - A driver that expects prefetchable memory and knows to issue the neede

CVS commit: src/sys/kern

2019-12-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Dec 1 20:56:40 UTC 2019 Modified Files: src/sys/kern: subr_xcall.c Log Message: Restore xcall(9) fast path using atomic_load/store_*. While here, fix a bug that was formerly in xcall(9): a missing acquire operation in the

CVS commit: src/sys/dev/gpib

2019-12-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Dec 1 16:22:10 UTC 2019 Modified Files: src/sys/dev/gpib: mt.c Log Message: Mark unreachable branch with __unreachable() to fix i386/ALL build. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/dev/gp

CVS commit: src

2019-12-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Dec 1 15:28:20 UTC 2019 Modified Files: src/sys/sys: pslist.h src/tests/include/sys: t_pslist.c Log Message: Adapt to use atomic_load/store_*. Changes: - membar_producer(); *p = v; => atomic_store_rele

CVS commit: src/sys/sys

2019-12-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Dec 1 15:28:02 UTC 2019 Modified Files: src/sys/sys: atomic.h Log Message: Rework modified atomic_load/store_* to work on const pointers. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/sys/atomic.h

CVS commit: src/lib/libc/gen

2019-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jan 15 03:30:58 UTC 2019 Modified Files: src/lib/libc/gen: ctype.3 Log Message: Use the same variable for the locale example. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/lib/libc/gen/ctype.3 Please

CVS commit: src/lib/libc/gen

2019-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jan 15 00:31:19 UTC 2019 Modified Files: src/lib/libc/gen: ctype.3 Log Message: Expand on correct and incorrect usage, and on compiler warnings. Give an example program with the warning, and some example nonsense outputs.

CVS commit: src/sys/arch/mips/mips

2018-12-19 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Dec 19 15:10:46 UTC 2018 Modified Files: src/sys/arch/mips/mips: fp.S Log Message: Load curlwp into a0 to call fpu_save(curlwp), not fpu_save(garbage). The lwp argument to fpu_save was added by chuq in revision 1.14 of mip

CVS commit: src/sys/arch/x86/x86

2018-11-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Nov 15 16:58:56 UTC 2018 Modified Files: src/sys/arch/x86/x86: efi.c Log Message: No need to write any initializer here, casted or otherwise. (Sorry about the build breakage; thanks, kre!) To generate a diff of this comm

CVS commit: src/sys/external/bsd/drm2/pci

2018-11-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Nov 15 06:53:58 UTC 2018 Modified Files: src/sys/external/bsd/drm2/pci: drm_pci.c Log Message: Don't try to interpret the second half of a 64-bit BAR as another one. >From msaitoh@. To generate a diff of this commit: cvs

CVS commit: src/external/cddl/osnet/sys/sys

2018-11-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Nov 15 05:43:57 UTC 2018 Modified Files: src/external/cddl/osnet/sys/sys: zfs_context.h Log Message: Use callout_halt, not callout_stop, for FreeBSD callout_drain shim. Callers expect callout_drain will wait for it to comp

CVS commit: src/tests/lib/libm

2018-11-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Nov 15 05:14:20 UTC 2018 Modified Files: src/tests/lib/libm: t_cbrt.c Log Message: cbrtl_powl is xfail only if long double has more bits than double. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/l

CVS commit: src/sys

2018-11-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Nov 15 04:59:02 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/amd64/include: types.h src/sys/arch/x86/x86: efi.c src/sys/rump/librump/rumpkern/arch/generic: Makefile.inc

CVS commit: src/sys/modules/arch/powerpc/powerpc-booke

2018-11-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Nov 15 04:57:00 UTC 2018 Modified Files: src/sys/modules/arch/powerpc/powerpc-booke: bsd.powerpc-booke.mk Log Message: Include before using ACTIVE_CC. Fixes make errors. To generate a diff of this commit: cvs rdiff -u -

CVS commit: src/sys/arch/aarch64/include

2018-11-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Nov 15 04:56:52 UTC 2018 Modified Files: src/sys/arch/aarch64/include: param.h Log Message: Respect the __HIDE_DELAY kludge like on other ports. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/aar

CVS commit: src/external/cddl/osnet/sys/sys

2018-11-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Nov 15 04:55:26 UTC 2018 Modified Files: src/external/cddl/osnet/sys/sys: proc.h Log Message: Omit unused definition with broken cpp conditional. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/cd

CVS commit: src/external/cddl/osnet/dist/uts/common/sys

2018-11-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Nov 15 04:55:17 UTC 2018 Modified Files: src/external/cddl/osnet/dist/uts/common/sys: dtrace.h Log Message: Omit conflicting definition that breaks build on aarch64. To generate a diff of this commit: cvs rdiff -u -r1.17

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2018-11-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Nov 15 04:55:49 UTC 2018 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c Log Message: Need for mm_md_direct_mapped_phys. It turns out this code always sees __HAVE_MM_MD_DIRECT_MAPPED_PHYS as di

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2018-11-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Nov 15 04:55:38 UTC 2018 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: spa_misc.c src/external/cddl/osnet/dist/uts/common/fs/zfs/sys: spa_impl.h Log Message: Be consistent about _KERNEL vs _HARDKER

<    4   5   6   7   8   9   10   11   12   13   >