CVS commit: [netbsd-7-0] src/sys/nfs

2016-07-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jul 10 08:38:54 UTC 2016

Modified Files:
src/sys/nfs [netbsd-7-0]: nfs_clntsocket.c nfs_socket.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #1184):
sys/nfs/nfs_socket.c: revision 1.198
sys/nfs/nfs_clntsocket.c: revision 1.5
Serialize all access to the NFS request queue via splsoftnet(). Fixes random
crashes.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.1.42.1 src/sys/nfs/nfs_clntsocket.c
cvs rdiff -u -r1.192 -r1.192.4.1 src/sys/nfs/nfs_socket.c

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



CVS commit: [netbsd-7-0] src/sys/arch/mips/mips

2016-07-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jul 10 08:44:07 UTC 2016

Modified Files:
src/sys/arch/mips/mips [netbsd-7-0]: pmap.c

Log Message:
Pull up following revision(s) (requested by skrll in ticket #1200):
sys/arch/mips/mips/pmap.c: revision 1.221
sys/arch/mips/mips/pmap.c: revision 1.222
sys/arch/mips/mips/pmap.c: revision 1.223
Fix a bug introduced by me in 1.214 where unmanaged mappings would be
affected by calls to pmap_page_protect which is wrong.  Now PV_KENTER
mappings are left intact.
Thanks to chuq for spotting my mistake and reviewing this diff.
Thanks to everyone who tested it as well.
Fix PR/51288 reproducable panic on evbmips64-eb (erlite)
pmap_page_remove from the previous change neglected to terminate the pv
list correctly when it started with an initial unmanaged mapping and
subsequent managed mappings.  Fix this.
Fix MIPS3_NO_PV_UNCACHED alias handling by looping through the pv_list
looking for bad aliases and removing the bad entries.  That is, revert
to the code before the matt-mips64 merge.
Additionally, fix the pmap_update call to not use the (recently
  removed/freed) pv for the pmap_t.
Fixes the following two PRs
PR/49903: Panic during installation on WorkPad Z50 (hpcmips) whilst 
uncompressing base.tgz
PR/51226: Install bug for hpcmips NetBSD V7 using FTP Full installation


To generate a diff of this commit:
cvs rdiff -u -r1.214 -r1.214.6.1 src/sys/arch/mips/mips/pmap.c

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



CVS commit: [netbsd-7-0] src/doc

2016-07-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jul 10 08:44:55 UTC 2016

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

Log Message:
Tickets #1184 and #1200


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/doc/CHANGES-7.0.2

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



CVS commit: [netbsd-7] src/sys/kern

2016-07-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jul 10 09:38:38 UTC 2016

Modified Files:
src/sys/kern [netbsd-7]: kern_module.c

Log Message:
Pull up following revision(s) (requested by pgoyette in ticket #1183):
sys/kern/kern_module.c: revision 1.111
Check for duplicate module names before loading modules that were
"pushed" by the boot loader.  The boot loader pushes the module
name for the root file system (unless the root file system is ffs)
even if the file system module is built into the kernel.  When
this happens, we get a lot of "redefined symbol" error messages.
This fix does not alter the behavior of pushing the file system
name.  It simply avoids the redefined symbol errors by detecting
that the module is already built-in to the kernel and not trying
to load another copy.
While here, differentiate the error message text between "failed
to load" and "failed to fetch_info" conditions.
Addresses PR kern/50357


To generate a diff of this commit:
cvs rdiff -u -r1.97.2.2 -r1.97.2.3 src/sys/kern/kern_module.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/sys/nfs

2016-07-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jul 10 09:42:34 UTC 2016

Modified Files:
src/sys/nfs [netbsd-7]: nfs_clntsocket.c nfs_socket.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #1184):
sys/nfs/nfs_socket.c: revision 1.198
sys/nfs/nfs_clntsocket.c: revision 1.5
Serialize all access to the NFS request queue via splsoftnet(). Fixes random
crashes.
XXX: Pullup-7


To generate a diff of this commit:
cvs rdiff -u -r1.1.40.1 -r1.1.40.2 src/sys/nfs/nfs_clntsocket.c
cvs rdiff -u -r1.192.2.1 -r1.192.2.2 src/sys/nfs/nfs_socket.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/sys/ufs/lfs

2016-07-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jul 10 09:49:41 UTC 2016

Modified Files:
src/sys/ufs/lfs [netbsd-7]: ulfs_inode.c

Log Message:
Pull up following revision(s) (requested by dholland in ticket #1188):
sys/ufs/lfs/ulfs_inode.c: revision 1.14
Merge ufs_inode.c 1.93: missing unlock on error path.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.9.6.1 src/sys/ufs/lfs/ulfs_inode.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/external/cddl/osnet

2016-07-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jul 10 10:00:20 UTC 2016

Modified Files:
src/external/cddl/osnet/dev/dtrace [netbsd-7]: dtrace_hacks.c
src/external/cddl/osnet/dev/dtrace/amd64 [netbsd-7]: dtrace_asm.S
src/external/cddl/osnet/dist/uts/common/dtrace [netbsd-7]: dtrace.c
src/external/cddl/osnet/sys/kern [netbsd-7]: string.c

Log Message:
Pull up following revision(s) (requested by pgoyette in ticket #1189):
external/cddl/osnet/sys/kern/string.c: revision 1.3
external/cddl/osnet/dev/dtrace/dtrace_hacks.c: revision 1.5
external/cddl/osnet/dist/uts/common/dtrace/dtrace.c: revision 1.32
external/cddl/osnet/dev/dtrace/amd64/dtrace_asm.S: revision 1.6
Import fix from FreeBSD - see [1], [2] references below...
Fix DTrace's panic() action.
It would previously call into some unfinished Solaris compatibility code
and return without actually calling panic(9). The compatibility code is
unneeded, however, so just remove it and have dtrace_panic() call
vpanic(9)
directly.
Fixes immediate problem in PR-51265.  However, this now reveals another
redefined symbol 'strpbrk' in the required module "solaris".
[1] https://svnweb.freebsd.org/changeset/base/281916
[2] http://lists.freebsd.org/pipermail/svn-src-head/2015-April/071019.html
On NetBSD we already have strpbrk() in libkern, so we don't need to
provide another copy in the module.  Removes another 'redefined symbol'
error when loading the module.
Related to PR kern/51265
One more removal of a redefined symbol while loading dtrace module.
Should finish the issues with PR kern/51265


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.24.1 \
src/external/cddl/osnet/dev/dtrace/dtrace_hacks.c
cvs rdiff -u -r1.4 -r1.4.10.1 \
src/external/cddl/osnet/dev/dtrace/amd64/dtrace_asm.S
cvs rdiff -u -r1.28 -r1.28.2.1 \
src/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c
cvs rdiff -u -r1.2 -r1.2.24.1 src/external/cddl/osnet/sys/kern/string.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/sys/arch/mips/mips

2016-07-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jul 10 10:33:42 UTC 2016

Modified Files:
src/sys/arch/mips/mips [netbsd-7]: pmap.c

Log Message:
Pull up following revision(s) (requested by skrll in ticket #1200):
sys/arch/mips/mips/pmap.c: revision 1.221
sys/arch/mips/mips/pmap.c: revision 1.222
sys/arch/mips/mips/pmap.c: revision 1.223
Fix a bug introduced by me in 1.214 where unmanaged mappings would be
affected by calls to pmap_page_protect which is wrong.  Now PV_KENTER
mappings are left intact.
Thanks to chuq for spotting my mistake and reviewing this diff.
Thanks to everyone who tested it as well.
Fix PR/51288 reproducable panic on evbmips64-eb (erlite)
pmap_page_remove from the previous change neglected to terminate the pv
list correctly when it started with an initial unmanaged mapping and
subsequent managed mappings.  Fix this.
Fix MIPS3_NO_PV_UNCACHED alias handling by looping through the pv_list
looking for bad aliases and removing the bad entries.  That is, revert
to the code before the matt-mips64 merge.
Additionally, fix the pmap_update call to not use the (recently
  removed/freed) pv for the pmap_t.
Fixes the following two PRs
PR/49903: Panic during installation on WorkPad Z50 (hpcmips) whilst 
uncompressing base.tgz
PR/51226: Install bug for hpcmips NetBSD V7 using FTP Full installation


To generate a diff of this commit:
cvs rdiff -u -r1.214 -r1.214.2.1 src/sys/arch/mips/mips/pmap.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

2016-07-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jul 10 10:42:26 UTC 2016

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

Log Message:
Tickets #1183, #1184, #1188, #1189, #1200


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.96 -r1.1.2.97 src/doc/CHANGES-7.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

2016-07-10 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Jul 10 17:40:23 UTC 2016

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

Log Message:
Make kernel core dumps on cgd(4) work.


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

2016-07-10 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Jul 10 21:40:45 UTC 2016

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

Log Message:
fix inverted screen blanking logic


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

2016-07-10 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Jul 11 01:50:17 UTC 2016

Modified Files:
src/sys/arch/mips/mips: mips_machdep.c

Log Message:
Add machdep.fpu_present sysctl node


To generate a diff of this commit:
cvs rdiff -u -r1.269 -r1.270 src/sys/arch/mips/mips/mips_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/net

2016-07-10 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Mon Jul 11 02:14:27 UTC 2016

Modified Files:
src/sys/net: if.h

Log Message:
Revert part of "Switch the address list of intefaces to pslist(9)" (r1.220)

Reverting the whole change set just messes up many files uselessly
because changes to them (except for if.h) are proper.

- Remove ifa_pslist_entry that breaks kvm(3) users (e.g., netstat -ia)
- Change IFADDR_{READER,WRITER}_* macros to use old IFADDR_* (or just NOP)
  for now

Fix PR kern/51325


To generate a diff of this commit:
cvs rdiff -u -r1.220 -r1.221 src/sys/net/if.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/evbmips/conf

2016-07-10 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Jul 11 03:45:59 UTC 2016

Modified Files:
src/sys/arch/evbmips/conf: INSTALL_MALTA32

Log Message:
Add makeoptionsNEED_MDSETIMAGE="yes"


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/conf/INSTALL_MALTA32

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



CVS commit: src

2016-07-10 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Mon Jul 11 06:14:51 UTC 2016

Modified Files:
src/share/man/man9: pci_msi.9
src/sys/arch/x86/include: pci_machdep_common.h
src/sys/arch/x86/pci: pci_intr_machdep.c
src/sys/dev/pci: if_bge.c if_wm.c ismt.c nvme_pci.c pci_stub.c pcivar.h
virtio.c
src/sys/dev/pci/ixgbe: ixgbe.c

Log Message:
pci_intr_type() is required pci_chipset_tag_t argument by other than x86.

pointed out by nonaka@n.o.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/share/man/man9/pci_msi.9
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/x86/include/pci_machdep_common.h
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/x86/pci/pci_intr_machdep.c
cvs rdiff -u -r1.297 -r1.298 src/sys/dev/pci/if_bge.c
cvs rdiff -u -r1.415 -r1.416 src/sys/dev/pci/if_wm.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/pci/ismt.c src/sys/dev/pci/nvme_pci.c
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/pci/pci_stub.c
cvs rdiff -u -r1.107 -r1.108 src/sys/dev/pci/pcivar.h
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/pci/virtio.c
cvs rdiff -u -r1.38 -r1.39 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.