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

2019-12-26 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Dec 26 08:27:43 UTC 2019

Modified Files:
src/sys/arch/arm/broadcom: bcm2835reg.h

Log Message:
Use PIC_IRQBASE_ALLOC and allow conditional attachment of interrupt
handlers (for RPI4)

(missing from previous commit)


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/arm/broadcom/bcm2835reg.h

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

2019-12-26 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Dec 26 08:48:53 UTC 2019

Modified Files:
src/sys/arch/aarch64/aarch64: locore.S

Log Message:
Whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/aarch64/aarch64/locore.S

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



CVS commit: src/sys

2019-12-26 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Dec 26 08:52:39 UTC 2019

Modified Files:
src/sys/kern: files.kern sys_ptrace_common.c
src/sys/sys: ptrace.h
Added Files:
src/sys/kern: sys_ptrace_lwpstatus.c

Log Message:
Put ptrace_read_lwpstatus() and process_read_lwpstatus() to a new file

Fixes "no PTRACE" kernel build, in particular zaurus kernel=INSTALL_C700.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/kern/files.kern
cvs rdiff -u -r1.75 -r1.76 src/sys/kern/sys_ptrace_common.c
cvs rdiff -u -r0 -r1.1 src/sys/kern/sys_ptrace_lwpstatus.c
cvs rdiff -u -r1.68 -r1.69 src/sys/sys/ptrace.h

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



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

2019-12-26 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Dec 26 11:09:11 UTC 2019

Modified Files:
src/sys/arch/arm/broadcom: bcm2835_intr.c bcm2835reg.h

Log Message:
Use PIC_IRQBASE_ALLOC for all pic_add calls and track/use each cpu irqbase


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/arm/broadcom/bcm2835_intr.c
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/arm/broadcom/bcm2835reg.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/audio

2019-12-26 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Thu Dec 26 11:24:55 UTC 2019

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

Log Message:
Use M_WAITOK instead of M_NOWAIT.
These allocations don't require NOWAIT constraints.
Will fix PR kern/54796.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/audio/audio.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/audio

2019-12-26 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Thu Dec 26 11:27:03 UTC 2019

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

Log Message:
Improve and simplify around audio_realloc().


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/dev/audio/audio.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/pci

2019-12-26 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Dec 26 15:23:11 UTC 2019

Modified Files:
src/sys/dev/pci: if_stgereg.h

Log Message:
 Fix address of STGE_MaxFrameSize. Same as other OSes.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/pci/if_stgereg.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/pci

2019-12-26 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Dec 26 15:26:58 UTC 2019

Modified Files:
src/sys/dev/pci: if_stge.c

Log Message:
Apply OpenBSD rev. 1.34:

 > Set Rx early threshold and Tx DMA thesholds.
 >
 > From Linux via FreeBSD


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/dev/pci/if_stge.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/pci

2019-12-26 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Dec 26 15:32:37 UTC 2019

Modified Files:
src/sys/dev/pci: if_stge.c

Log Message:
 Improve flow control.


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/dev/pci/if_stge.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/pci

2019-12-26 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Dec 26 17:51:08 UTC 2019

Modified Files:
src/sys/dev/pci: if_cas.c if_casreg.h if_casvar.h

Log Message:
 Fix a bug that the driver sometimes incorrectly attach gentbi(4) instead of
gphyter(4) on non-fiber device.

Tested with Sun Quad GigaSwift Ethernet UTP (QGE) (part no. 501-6522) on
amd64. On this environment, the problem frequently had occurred. I also
tested with other 4 cas(4) variants.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/pci/if_cas.c
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/pci/if_casreg.h
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/pci/if_casvar.h

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



CVS commit: src/sys/arch/amd64/conf

2019-12-26 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Dec 26 17:52:49 UTC 2019

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
 Add cas(4).


To generate a diff of this commit:
cvs rdiff -u -r1.551 -r1.552 src/sys/arch/amd64/conf/GENERIC

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



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

2019-12-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Dec 26 20:16:47 UTC 2019

Modified Files:
src/bin/sh [netbsd-9]: eval.c

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

bin/sh/eval.c: revision 1.177

Use fork() rather than vfork() when forking to run a background
process with redirects.   If we use vfork() and a redirect hangs
(eg: opening a fifo) which the parent was intended to unhang,
then the parent never gets to continue to unhang the child.
eg:  mkfifo f; cat f

The parent should not be waiting for a background process, even
just for its exec() to complete.   if there are no redirects there
is (should be) nothing left that might be done that will cause any
noticeable delay, so vfork() should be safe in all other cases.


To generate a diff of this commit:
cvs rdiff -u -r1.175.2.1 -r1.175.2.2 src/bin/sh/eval.c

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



CVS commit: [netbsd-9] src/sys/arch/x86/pci

2019-12-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Dec 26 20:19:37 UTC 2019

Modified Files:
src/sys/arch/x86/pci [netbsd-9]: if_vmx.c

Log Message:
Pull up following revision(s) (requested by knakahara in ticket #583):

sys/arch/x86/pci/if_vmx.c: revision 1.53

Fix missing splnet() for ether_ioctl() caused by if_vmx.c:r1.32.
pointed out by nonaka@n.o, thanks.


To generate a diff of this commit:
cvs rdiff -u -r1.45.2.4 -r1.45.2.5 src/sys/arch/x86/pci/if_vmx.c

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



CVS commit: [netbsd-9] src/doc

2019-12-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Dec 26 20:20:27 UTC 2019

Modified Files:
src/doc [netbsd-9]: CHANGES-9.0

Log Message:
Tickets #582 and #583


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.146 -r1.1.2.147 src/doc/CHANGES-9.0

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/arch/x86/pci

2019-12-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Dec 26 20:23:40 UTC 2019

Modified Files:
src/sys/arch/x86/pci [netbsd-8]: if_vmx.c

Log Message:
Pull up following revision(s) (requested by knakahara in ticket #1477):

sys/arch/x86/pci/if_vmx.c: revision 1.53

Fix missing splnet() for ether_ioctl() caused by if_vmx.c:r1.32.
pointed out by nonaka@n.o, thanks.


To generate a diff of this commit:
cvs rdiff -u -r1.19.6.6 -r1.19.6.7 src/sys/arch/x86/pci/if_vmx.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/sys/dev/pci/ixgbe

2019-12-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Dec 26 20:25:07 UTC 2019

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

Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #1478):

sys/dev/pci/ixgbe/ixgbe.c: revision 1.218

 Add missing core lock in ixgbe_handle_mod().


To generate a diff of this commit:
cvs rdiff -u -r1.88.2.37 -r1.88.2.38 src/sys/dev/pci/ixgbe/ixgbe.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

2019-12-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Dec 26 20:25:57 UTC 2019

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

Log Message:
Tickets #1477 and #1478


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.83 -r1.1.2.84 src/doc/CHANGES-8.2

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



CVS commit: src/sys/arch

2019-12-26 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Fri Dec 27 00:32:17 UTC 2019

Modified Files:
src/sys/arch/alpha/include: mcontext.h
src/sys/arch/amd64/include: mcontext.h
src/sys/arch/hppa/include: mcontext.h
src/sys/arch/i386/include: mcontext.h
src/sys/arch/ia64/include: mcontext.h
src/sys/arch/sh3/include: mcontext.h
src/sys/arch/sparc/include: mcontext.h
src/sys/arch/vax/include: mcontext.h

Log Message:
Harmonize the namespace of fast TLS base pointer getter functions

Protect __lwp_getprivate_fast() with _RTLD_SOURCE, _LIBC_SOURCE and
__LIBPTHREAD_SOURCE__.

Include in this namespace  and use __BEGIN_DECLS/__END_DECLS
for the sake of consistency.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/alpha/include/mcontext.h
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/amd64/include/mcontext.h
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/hppa/include/mcontext.h
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/i386/include/mcontext.h
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/ia64/include/mcontext.h
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/sh3/include/mcontext.h
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/sparc/include/mcontext.h
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/vax/include/mcontext.h

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



CVS commit: src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common

2019-12-26 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Fri Dec 27 00:35:05 UTC 2019

Modified Files:
src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common:
sanitizer_linux_libcdep.cc

Log Message:
Cherry-pick LLVM upstream patch to fix build of compiler-rt

commit 52b5fe5f45b1908e140e05a4eceaaac7002be768
Author: Kamil Rytarowski 
Date:   Wed Dec 25 04:05:10 2019 +0100

[compiler-rt] [netbsd] Define _RTLD_SOURCE to fix build

The TLS base (LWP private pointer) functions are namespaced and
hidden i.e. inside the _RTLD_SOURCE namespace.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \

src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_linux_libcdep.cc

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



CVS commit: src/sys/uvm

2019-12-26 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Fri Dec 27 00:46:38 UTC 2019

Modified Files:
src/sys/uvm: uvm_pager.c

Log Message:
PR kern/48044: panic: kernel diagnostic assertion "uvmexp.swpgonly + npages <= 
uvmexp.swpginuse" failed

swpgonly is updated asynchronously with regard to swap use.  We can't assert
this condition with confidence in the post-5.0 world, at least not without
broader changes.  swpgonly's ultimate use is of a heuristic nature so this
is no problem at all.


To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 src/sys/uvm/uvm_pager.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/isa

2019-12-26 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Dec 27 04:50:41 UTC 2019

Modified Files:
src/sys/dev/isa: if_ep_isa.c

Log Message:
s/like like/like/ in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/dev/isa/if_ep_isa.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/hyperv

2019-12-26 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Fri Dec 27 05:56:42 UTC 2019

Modified Files:
src/sys/dev/hyperv: if_hvn.c

Log Message:
hvn(4): Use vlan_{get,set,has}_tag().


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/hyperv/if_hvn.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/hyperv

2019-12-26 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Fri Dec 27 05:59:53 UTC 2019

Modified Files:
src/sys/dev/hyperv: if_hvn.c

Log Message:
hvn(4): Handle CFI field of VLAN.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/hyperv/if_hvn.c

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



CVS commit: src/sys

2019-12-26 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Dec 27 06:52:44 UTC 2019

Modified Files:
src/sys/arch/emips/ebus: dz_ebus.c
src/sys/arch/vax/uba: qvavar.h
src/sys/dev/dec: dzvar.h
src/sys/dev/pci: if_devar.h

Log Message:
s/recevive/receive/ in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/emips/ebus/dz_ebus.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/vax/uba/qvavar.h
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/dec/dzvar.h
cvs rdiff -u -r1.62 -r1.63 src/sys/dev/pci/if_devar.h

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



CVS commit: [netbsd-9] src/sys/uvm

2019-12-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Dec 27 06:58:56 UTC 2019

Modified Files:
src/sys/uvm [netbsd-9]: uvm_pager.c

Log Message:
Pull up following revision(s) (requested by ad in ticket #584):

sys/uvm/uvm_pager.c: revision 1.118

PR kern/48044: panic: kernel diagnostic assertion "uvmexp.swpgonly + npages <= 
uvmexp.swpginuse" failed
swpgonly is updated asynchronously with regard to swap use.  We can't assert
this condition with confidence in the post-5.0 world, at least not without
broader changes.  swpgonly's ultimate use is of a heuristic nature so this
is no problem at all.


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.111.8.1 src/sys/uvm/uvm_pager.c

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



CVS commit: [netbsd-9] src/doc

2019-12-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Dec 27 06:59:45 UTC 2019

Modified Files:
src/doc [netbsd-9]: CHANGES-9.0

Log Message:
Ticket #584


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.147 -r1.1.2.148 src/doc/CHANGES-9.0

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



CVS commit: src

2019-12-26 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Dec 27 07:02:26 UTC 2019

Modified Files:
src/distrib/notes/mvme68k: prep
src/sys/dev/pci: if_sk.c

Log Message:
s/is is/is/ in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/distrib/notes/mvme68k/prep
cvs rdiff -u -r1.102 -r1.103 src/sys/dev/pci/if_sk.c

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



CVS commit: src

2019-12-26 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Dec 27 07:41:23 UTC 2019

Modified Files:
src/games/quiz/datfiles: ucc
src/sbin/restore: restore.h
src/sys/arch/m68k/fpe: fpu_emulate.c
src/sys/dev/marvell: mvxpsec.c
src/sys/dev/pci: if_vge.c

Log Message:
s/opration/operation/


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/games/quiz/datfiles/ucc
cvs rdiff -u -r1.20 -r1.21 src/sbin/restore/restore.h
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/m68k/fpe/fpu_emulate.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/marvell/mvxpsec.c
cvs rdiff -u -r1.77 -r1.78 src/sys/dev/pci/if_vge.c

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