CVS commit: [netbsd-8] src/doc

2018-12-10 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Mon Dec 10 08:52:21 UTC 2018

Modified Files:
src/doc [netbsd-8]: CHANGES-8.1

Log Message:
Corrent CHANGES entry for 1129 (it's mfii(4) not mpii(4)).
Pointed out by Stephen Borrill


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.72 -r1.1.2.73 src/doc/CHANGES-8.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/usb

2018-12-10 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Mon Dec 10 14:14:20 UTC 2018

Modified Files:
src/sys/dev/usb: usbdevs

Log Message:
rework QinHeng Electronics / WinChipHead IDs


To generate a diff of this commit:
cvs rdiff -u -r1.761 -r1.762 src/sys/dev/usb/usbdevs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/usb

2018-12-10 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Mon Dec 10 14:15:01 UTC 2018

Modified Files:
src/sys/dev/usb: usbdevs.h usbdevs_data.h

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.754 -r1.755 src/sys/dev/usb/usbdevs.h \
src/sys/dev/usb/usbdevs_data.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/usb

2018-12-10 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Mon Dec 10 14:16:28 UTC 2018

Modified Files:
src/sys/dev/usb: uchcom.c

Log Message:
adjust for new QinHeng USB ID constants


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/usb/uchcom.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/usb

2018-12-10 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Mon Dec 10 14:32:04 UTC 2018

Modified Files:
src/sys/dev/usb: uchcom.c

Log Message:
do not abuse aprint_error for runtime error messages


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/usb/uchcom.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2018-12-10 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Mon Dec 10 14:46:25 UTC 2018

Modified Files:
src/sys/fs/hfs: hfs_vfsops.c
src/sys/kern: kern_proc.c
src/sys/ufs/ext2fs: ext2fs_vfsops.c
src/sys/ufs/ffs: ffs_vfsops.c
src/sys/ufs/lfs: lfs_rfw.c lfs_vfsops.c ulfs_vfsops.c
src/sys/ufs/ufs: ufs_vfsops.c

Log Message:
Remove unused mbuf.h includes.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/fs/hfs/hfs_vfsops.c
cvs rdiff -u -r1.223 -r1.224 src/sys/kern/kern_proc.c
cvs rdiff -u -r1.211 -r1.212 src/sys/ufs/ext2fs/ext2fs_vfsops.c
cvs rdiff -u -r1.358 -r1.359 src/sys/ufs/ffs/ffs_vfsops.c
cvs rdiff -u -r1.32 -r1.33 src/sys/ufs/lfs/lfs_rfw.c
cvs rdiff -u -r1.362 -r1.363 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -u -r1.13 -r1.14 src/sys/ufs/lfs/ulfs_vfsops.c
cvs rdiff -u -r1.55 -r1.56 src/sys/ufs/ufs/ufs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch

2018-12-10 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Mon Dec 10 15:08:23 UTC 2018

Modified Files:
src/sys/arch/amd64/amd64: machdep.c
src/sys/arch/i386/i386: machdep.c
src/sys/arch/x86/isa: isa_machdep.c

Log Message:
Remove unused mbuf.h includes.


To generate a diff of this commit:
cvs rdiff -u -r1.322 -r1.323 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -u -r1.813 -r1.814 src/sys/arch/i386/i386/machdep.c
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/x86/isa/isa_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev

2018-12-10 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Dec 10 15:22:35 UTC 2018

Modified Files:
src/sys/dev: vnd.c

Log Message:
Operation handle_with_strategy() also needs the
fstrans_start_lazy() / fstrans_done() bracket.

PR kern/53624 (dom0 freeze on domU exit)


To generate a diff of this commit:
cvs rdiff -u -r1.269 -r1.270 src/sys/dev/vnd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netinet6

2018-12-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Dec 10 16:28:52 UTC 2018

Modified Files:
src/sys/netinet6: in6.h

Log Message:
need  (or arpa/inet.h) for ntohl() used in macros.


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/sys/netinet6/in6.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-8] src/sys/dev

2018-12-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Dec 10 17:16:11 UTC 2018

Modified Files:
src/sys/dev [netbsd-8]: vnd.c

Log Message:
Pull up following revision(s) (requested by hannken in ticket #1133):

sys/dev/vnd.c: revision 1.270

Operation handle_with_strategy() also needs the
fstrans_start_lazy() / fstrans_done() bracket.

PR kern/53624 (dom0 freeze on domU exit)


To generate a diff of this commit:
cvs rdiff -u -r1.259.6.4 -r1.259.6.5 src/sys/dev/vnd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-8] src/doc

2018-12-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Dec 10 17:17:08 UTC 2018

Modified Files:
src/doc [netbsd-8]: CHANGES-8.1

Log Message:
Ticket #1133


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.73 -r1.1.2.74 src/doc/CHANGES-8.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-7] src/bin/sh

2018-12-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Dec 10 17:20:03 UTC 2018

Modified Files:
src/bin/sh [netbsd-7]: parser.c

Log Message:
Pull up following revision(s) (requested by kre in ticket #1663):

bin/sh/parser.c: revision 1.152 (via patch)

PR bin/53712

Avoid crash from redirect on null compound command.


To generate a diff of this commit:
cvs rdiff -u -r1.90.4.1 -r1.90.4.2 src/bin/sh/parser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-7] src/doc

2018-12-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Dec 10 17:21:21 UTC 2018

Modified Files:
src/doc [netbsd-7]: CHANGES-7.3

Log Message:
Ticket #1663


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.22 -r1.1.2.23 src/doc/CHANGES-7.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man9

2018-12-10 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Mon Dec 10 19:21:56 UTC 2018

Modified Files:
src/share/man/man9: rwlock.9

Log Message:
clarify how rw_{write,read,lock}_held() work; rw_write_held() actually
returns non-zero only if current lwp is the owner, the other two don't care
about owner; also warn that functions are not atomic, and thus should only
ever be used to assert that the lock is held


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/share/man/man9/rwlock.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs

2018-12-10 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Mon Dec 10 19:29:41 UTC 2018

Modified Files:
src/sys/ufs/ffs: ffs_alloc.c ffs_inode.c ffs_vfsops.c ffs_wapbl.c
src/sys/ufs/ufs: ufs_inode.c ufs_readwrite.c ufs_vnops.c ufs_wapbl.h

Log Message:
make UFS_WAPBL_JLOCK_ASSERT() #ifdef DIAGNOSTIC, same as the underlying
function KASSERT(), so that it actually does something; fix code using
it to actually pass correct params, so that it compiles

remove UFS_WAPBL_JUNLOCK_ASSERT(), as that is inherently racy (it's
okay on those places if the rwlock is held by other lwp); depend
on the RW_ASSERT()/LOCKDEBUG inside rw_enter() to catch the case
with wapbl rwlock held by current lwp


To generate a diff of this commit:
cvs rdiff -u -r1.161 -r1.162 src/sys/ufs/ffs/ffs_alloc.c
cvs rdiff -u -r1.124 -r1.125 src/sys/ufs/ffs/ffs_inode.c
cvs rdiff -u -r1.359 -r1.360 src/sys/ufs/ffs/ffs_vfsops.c
cvs rdiff -u -r1.42 -r1.43 src/sys/ufs/ffs/ffs_wapbl.c
cvs rdiff -u -r1.103 -r1.104 src/sys/ufs/ufs/ufs_inode.c
cvs rdiff -u -r1.121 -r1.122 src/sys/ufs/ufs/ufs_readwrite.c
cvs rdiff -u -r1.239 -r1.240 src/sys/ufs/ufs/ufs_vnops.c
cvs rdiff -u -r1.14 -r1.15 src/sys/ufs/ufs/ufs_wapbl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man9

2018-12-10 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Mon Dec 10 20:12:36 UTC 2018

Modified Files:
src/share/man/man9: rwlock.9

Log Message:
upon further reflection, rw_write_held() actually seems to be safe
for check that the write lock is not currently held by current lwp - current
lwp can't acquire the rwlock even when preempted


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/share/man/man9/rwlock.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs

2018-12-10 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Mon Dec 10 20:48:34 UTC 2018

Modified Files:
src/sys/ufs/ffs: ffs_alloc.c
src/sys/ufs/ufs: ufs_inode.c ufs_readwrite.c ufs_vnops.c ufs_wapbl.h

Log Message:
put back UFS_WAPBL_JUNLOCK_ASSERT(), the underlying rw_write_held() check
doesn't actually have a race since it checks if the rwlock is held by
current lwp


To generate a diff of this commit:
cvs rdiff -u -r1.162 -r1.163 src/sys/ufs/ffs/ffs_alloc.c
cvs rdiff -u -r1.104 -r1.105 src/sys/ufs/ufs/ufs_inode.c
cvs rdiff -u -r1.122 -r1.123 src/sys/ufs/ufs/ufs_readwrite.c
cvs rdiff -u -r1.240 -r1.241 src/sys/ufs/ufs/ufs_vnops.c
cvs rdiff -u -r1.15 -r1.16 src/sys/ufs/ufs/ufs_wapbl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2018-12-10 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Mon Dec 10 21:03:49 UTC 2018

Modified Files:
src/sys/kern: vfs_wapbl.c
src/sys/sys: mount.h

Log Message:
add wo_wapbl_jlock_assert to wapbl_ops


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sys/kern/vfs_wapbl.c
cvs rdiff -u -r1.231 -r1.232 src/sys/sys/mount.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/genfs

2018-12-10 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Mon Dec 10 21:10:52 UTC 2018

Modified Files:
src/sys/miscfs/genfs: genfs_io.c

Log Message:
assert that WAPBL journal write lock is actually held when called with
PGO_JOURNALLOCKED or IO_JOURNALLOCKED

suggested by mrg@, thanks


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/miscfs/genfs/genfs_io.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2018-12-10 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Mon Dec 10 21:19:33 UTC 2018

Modified Files:
src/sys/kern: vfs_wapbl.c
src/sys/sys: mount.h wapbl.h

Log Message:
constify wapbl_ops


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/sys/kern/vfs_wapbl.c
cvs rdiff -u -r1.232 -r1.233 src/sys/sys/mount.h
cvs rdiff -u -r1.20 -r1.21 src/sys/sys/wapbl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/usb

2018-12-10 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Tue Dec 11 01:07:29 UTC 2018

Modified Files:
src/sys/dev/usb: uchcom.c

Log Message:
Remove UCHCOM_REG_BPS_MOD and UCHCOM_REG_BPS_PAD usage.

There is no clear indication doing these calculations and setting the
resulting register bits results in improved functionality.  Contrary
to hints in the code, short-term precision of the UART clock doesn't
appear to improve when these bits are adjusted.

Neither the vendor's Linux driver nor the mainline Linux driver
currently touch these bits.

Tested with CH341A and a logic analyzer.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/usb/uchcom.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libkvm

2018-12-10 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Tue Dec 11 02:29:11 UTC 2018

Modified Files:
src/lib/libkvm: kvm_getloadavg.3

Log Message:
Clarify the difference to getloadavg(3).


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/libkvm/kvm_getloadavg.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/net/if_vlan

2018-12-10 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Tue Dec 11 03:47:51 UTC 2018

Modified Files:
src/tests/net/if_vlan: t_vlan.sh

Log Message:
tests: add missing $af


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/tests/net/if_vlan/t_vlan.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2018-12-10 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Tue Dec 11 05:46:14 UTC 2018

Modified Files:
src/sys/arch/aarch64/aarch64: genassym.cf

Log Message:
fix build failure without options MULTIPROCESSOR


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/aarch64/aarch64/genassym.cf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2018-12-10 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Tue Dec 11 06:34:00 UTC 2018

Modified Files:
src/sys/arch/hpcsh/dev/hd64461: hd64461uart.c
src/sys/arch/mips/ingenic: ingenic_com.c
src/sys/arch/mips/rmi: rmixl_com.c
src/sys/dev/ic: com.c comvar.h
src/sys/dev/marvell: com_mv.c

Log Message:
Add a convenience function, com_init_regs_stride(), that shifts the register
offsets and size by the specified amount.  Use in front-ends as appropriate.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/hpcsh/dev/hd64461/hd64461uart.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/mips/ingenic/ingenic_com.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/mips/rmi/rmixl_com.c
cvs rdiff -u -r1.353 -r1.354 src/sys/dev/ic/com.c
cvs rdiff -u -r1.90 -r1.91 src/sys/dev/ic/comvar.h
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/marvell/com_mv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.