CVS commit: src/sys/arch/evbarm/fdt

2017-12-21 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Dec 21 08:28:55 UTC 2017

Modified Files:
src/sys/arch/evbarm/fdt: fdt_machdep.c

Log Message:
Remove unnecessary #include


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/evbarm/fdt/fdt_machdep.c

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



CVS commit: src/usr.bin/rfcomm_sppd

2017-12-21 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Thu Dec 21 08:59:27 UTC 2017

Modified Files:
src/usr.bin/rfcomm_sppd: rfcomm_sppd.1

Log Message:
fix offset/indent of list


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.bin/rfcomm_sppd/rfcomm_sppd.1

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



CVS commit: src/usr.sbin/sdpd

2017-12-21 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Thu Dec 21 08:59:58 UTC 2017

Modified Files:
src/usr.sbin/sdpd: sdpd.8

Log Message:
fix width of list


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/sdpd/sdpd.8

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



CVS commit: src/usr.sbin/bthcid

2017-12-21 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Thu Dec 21 09:00:19 UTC 2017

Modified Files:
src/usr.sbin/bthcid: bthcid.8

Log Message:
fix width/indent of list


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/bthcid/bthcid.8

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



CVS commit: src/usr.bin/btpin

2017-12-21 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Thu Dec 21 09:02:48 UTC 2017

Modified Files:
src/usr.bin/btpin: btpin.1

Log Message:
fix width of .Bl list


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/usr.bin/btpin/btpin.1

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



CVS commit: src/usr.bin/btpin

2017-12-21 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Thu Dec 21 09:04:34 UTC 2017

Modified Files:
src/usr.bin/btpin: btpin.c

Log Message:
consistent style: connect(2), socket(2) and setsockopt(2) return -1
for error so check for this specifically rather than < 0


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/btpin/btpin.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/ixgbe

2017-12-21 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Dec 21 09:24:45 UTC 2017

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

Log Message:
- If MSI can't be used on some environment, fallback to INTx correctly.
- Use single vector MSI when number of CPU is 1 to save interrupt slot.


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

2017-12-21 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Thu Dec 21 09:30:31 UTC 2017

Modified Files:
src/sys/netbt: hci.h

Log Message:
add HCI_SPEC_50


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/netbt/hci.h

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



CVS commit: src/usr.sbin/btconfig

2017-12-21 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Thu Dec 21 09:31:22 UTC 2017

Modified Files:
src/usr.sbin/btconfig: btconfig.c

Log Message:
for Read_Local_Version, print also the HCI revision


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/usr.sbin/btconfig/btconfig.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

2017-12-21 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Thu Dec 21 09:35:38 UTC 2017

Modified Files:
src/sys/net: if_gif.c

Log Message:
remove duplicated null ckeck


To generate a diff of this commit:
cvs rdiff -u -r1.136 -r1.137 src/sys/net/if_gif.c

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



CVS commit: src/tests/lib/libc/sys

2017-12-21 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Dec 21 09:56:47 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c

Log Message:
t_ptrace_wait*: Disable suspend* tests

These tests can hang the system. These interfaces will be improved and
temporarily disable them.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/tests/lib/libc/sys/t_ptrace_wait.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/arm/sunxi

2017-12-21 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Thu Dec 21 11:52:00 UTC 2017

Modified Files:
src/sys/arch/arm/sunxi: sun8i_h3_codec.c

Log Message:
The reset bit for the analog portion of the codec is bit 28.  As per
Allwinner H3 datasheet.

Ok jmcneill@.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/sunxi/sun8i_h3_codec.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/ic

2017-12-21 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Dec 21 12:09:43 UTC 2017

Modified Files:
src/sys/dev/ic: dwc_gmac.c

Log Message:
Don't KASSERT that we are MPSAFE if ! DWCGMAC_MPSAFE


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/dev/ic/dwc_gmac.c

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



CVS commit: src/usr.sbin/bthcid

2017-12-21 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Dec 21 12:25:03 UTC 2017

Modified Files:
src/usr.sbin/bthcid: bthcid.8

Log Message:
Add width arguments to tagget lists.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/bthcid/bthcid.8

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



CVS commit: src/sys/lib/libsa

2017-12-21 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Dec 21 14:28:39 UTC 2017

Modified Files:
src/sys/lib/libsa: loadfile_elf32.c

Log Message:
Make sure we're loading a relocatable binary, to give the user a chance to
correct the kernel name if he mistakenly typed pkboot on a static kernel,
without having to reboot the machine (currently the prekern sees it's a
static kernel and panics).


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/lib/libsa/loadfile_elf32.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/amd64/stand/prekern

2017-12-21 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Dec 21 14:32:06 UTC 2017

Modified Files:
src/sys/arch/amd64/stand/prekern: mm.c

Log Message:
Remove unused macros.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/amd64/stand/prekern/mm.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

2017-12-21 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Thu Dec 21 15:50:33 UTC 2017

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

Log Message:
Treat partial read from backing store as I/O error.


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

2017-12-21 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Thu Dec 21 15:51:07 UTC 2017

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

Log Message:
Bounds check against media size for non-persistent snapshots.


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

2017-12-21 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Thu Dec 21 15:51:39 UTC 2017

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

Log Message:
Pass residual back to b_resid for persistent snapshots.


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/sys/dev/fss.c

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



CVS commit: src/usr.sbin/fssconfig

2017-12-21 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Thu Dec 21 15:52:19 UTC 2017

Modified Files:
src/usr.sbin/fssconfig: fssconfig.c

Log Message:
Use stat() information to decide if the backing store is a directory.
Depending on open() returning EISDIR fails for mount points.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/fssconfig/fssconfig.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/compat/ultrix

2017-12-21 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Dec 21 19:08:10 UTC 2017

Modified Files:
src/sys/compat/ultrix [netbsd-8]: ultrix_fs.c

Log Message:
Pull up following revision(s) (requested by maxv in ticket #434):
sys/compat/ultrix/ultrix_fs.c: revision 1.58
Fix uninitialized pointer, found by Mootja. Not a surprise in untested
code.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.57.4.1 src/sys/compat/ultrix/ultrix_fs.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/tools/compat

2017-12-21 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Dec 21 19:11:21 UTC 2017

Modified Files:
src/tools/compat [netbsd-8]: compat_defs.h configure configure.ac
fpurge.c nbtool_config.h.in

Log Message:
Pull up following revision(s) (requested by sevan in ticket #435):
tools/compat/compat_defs.h: 1.108
tools/compat/configure: 1.87-1.88
tools/compat/configure.ac: 1.88-1.89
tools/compat/fpurge.c: 1.2
tools/compat/nbtool_config.h.in: 1.41-1.42
handle __fpurge being declared in 
--
regen
--
Add asnprintf() to the AC_CHECK_DECLS list.
Resolves conflict when cross compiling on Cygwin the provided implementation
does not get picked up.
Closes PR toolchain/52797
--
regen


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.107.6.1 src/tools/compat/compat_defs.h
cvs rdiff -u -r1.86 -r1.86.6.1 src/tools/compat/configure
cvs rdiff -u -r1.87 -r1.87.6.1 src/tools/compat/configure.ac
cvs rdiff -u -r1.1 -r1.1.38.1 src/tools/compat/fpurge.c
cvs rdiff -u -r1.40 -r1.40.6.1 src/tools/compat/nbtool_config.h.in

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



CVS commit: [netbsd-8] src

2017-12-21 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Dec 21 19:14:42 UTC 2017

Modified Files:
src/distrib/sets/lists/modules [netbsd-8]: mi
src/sys/modules [netbsd-8]: Makefile
src/sys/modules/if_gif [netbsd-8]: Makefile
src/sys/net [netbsd-8]: if_gif.c
src/sys/netinet [netbsd-8]: ip_ecn.c
Added Files:
src/sys/modules/ip_ecn [netbsd-8]: Makefile

Log Message:
Pull up following revision(s) (requested by pgoyette in ticket #436):
distrib/sets/lists/modules/mi: revision 1.112
sys/modules/Makefile: revision 1.196
sys/modules/ip_ecn/Makefile: revision 1.1
sys/modules/if_gif/Makefile: revision 1.3
sys/net/if_gif.c: revision 1.136
sys/netinet/ip_ecn.c: revision 1.17
Split ip_ecn code into its own module, so it can be shared between
gif(4), stf(4), and ipsec(4).  Without this, loading the if_gif
module can result in redefined global symbols if either ipsec(4) or
stf(4) but not gif(4) is built into the kernel.
Fixes PR kern/52795 (as reported by martin@ via irc).


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.110.2.1 src/distrib/sets/lists/modules/mi
cvs rdiff -u -r1.192 -r1.192.2.1 src/sys/modules/Makefile
cvs rdiff -u -r1.2 -r1.2.12.1 src/sys/modules/if_gif/Makefile
cvs rdiff -u -r0 -r1.1.2.2 src/sys/modules/ip_ecn/Makefile
cvs rdiff -u -r1.126.2.4 -r1.126.2.5 src/sys/net/if_gif.c
cvs rdiff -u -r1.16 -r1.16.10.1 src/sys/netinet/ip_ecn.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/iscsi

2017-12-21 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Dec 21 19:17:43 UTC 2017

Modified Files:
src/sys/dev/iscsi [netbsd-8]: iscsi_ioctl.c iscsi_main.c iscsi_send.c

Log Message:
Pull up following revision(s) (requested by mlelstv in ticket #437):
sys/dev/iscsi/iscsi_ioctl.c: 1.26-1.27
sys/dev/iscsi/iscsi_main.c: 1.26
sys/dev/iscsi/iscsi_send.c: 1.35
Fix session cleanup.
--
add debug messages
-
use same lock for ref/deref.
--
unreference session only for responses to SCSI commands.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.25.6.1 src/sys/dev/iscsi/iscsi_ioctl.c
cvs rdiff -u -r1.24 -r1.24.8.1 src/sys/dev/iscsi/iscsi_main.c
cvs rdiff -u -r1.34 -r1.34.6.1 src/sys/dev/iscsi/iscsi_send.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/modules/nand

2017-12-21 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Dec 21 19:19:30 UTC 2017

Modified Files:
src/sys/modules/nand [netbsd-8]: Makefile

Log Message:
Pull up following revision(s) (requested by pgoyette in ticket #438):
sys/modules/nand/Makefile: revision 1.6
Include the flash_mtd_parts in the nand module.  Without this, the module
fails to load because of undefined linker symbol flash_attach_mtdparts


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.30.1 src/sys/modules/nand/Makefile

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

2017-12-21 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Dec 21 19:28:54 UTC 2017

Modified Files:
src/sys/dev/pci [netbsd-8]: files.pci
src/sys/dev/pci/ixgbe [netbsd-8]: ix_txrx.c ixgbe.c ixgbe.h
ixgbe_82598.c ixgbe_82598.h ixgbe_82599.c ixgbe_82599.h ixgbe_api.c
ixgbe_api.h ixgbe_common.c ixgbe_common.h ixgbe_dcb.c ixgbe_dcb.h
ixgbe_dcb_82598.c ixgbe_dcb_82598.h ixgbe_dcb_82599.c
ixgbe_dcb_82599.h ixgbe_mbx.c ixgbe_mbx.h ixgbe_osdep.c
ixgbe_osdep.h ixgbe_phy.c ixgbe_phy.h ixgbe_type.h ixgbe_vf.c
ixgbe_vf.h ixgbe_x540.c ixgbe_x540.h ixgbe_x550.c ixgbe_x550.h
ixv.c
Added Files:
src/sys/dev/pci/ixgbe [netbsd-8]: if_bypass.c if_fdir.c if_sriov.c
ixgbe_bypass.h ixgbe_fdir.h ixgbe_features.h ixgbe_netmap.c
ixgbe_netmap.h ixgbe_rss.h ixgbe_sriov.h

Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #441):
sys/dev/pci/files.pci: 1.390
sys/dev/pci/ixgbe/if_bypass.c: new
sys/dev/pci/ixgbe/if_fdir.c: new
sys/dev/pci/ixgbe/if_sriov.c: new
sys/dev/pci/ixgbe/ixgbe_bypass.h: new
sys/dev/pci/ixgbe/ixgbe_fdir.h: new
sys/dev/pci/ixgbe/ixgbe_features.h: new
sys/dev/pci/ixgbe/ixgbe_netmap.c: new
sys/dev/pci/ixgbe/ixgbe_netmap.h: new
sys/dev/pci/ixgbe/ixgbe_rss.h: new
sys/dev/pci/ixgbe/ixgbe_sriov.h: new
sys/dev/pci/ixgbe/ix_txrx.c: 1.28, 1.30 via patch
sys/dev/pci/ixgbe/ixgbe.c: 1.97-1.105, 1.107-1.111, 1.113-1.115
sys/dev/pci/ixgbe/ixgbe.h: 1.26-1.29 via patch
sys/dev/pci/ixgbe/ixv.c: 1.57-1.58, 1.60-1.61, 1.63-1.64, 1.66-1.72, 
1.75 via patch
sys/dev/pci/ixgbe/ixgbe_api.c: 1.17-1.18 via patch
sys/dev/pci/ixgbe/ixgbe_type.h: 1.26-1.30 via patch
sys/dev/pci/ixgbe/ixgbe_82598.c: 1.9-1.10 via patch
sys/dev/pci/ixgbe/ixgbe_82598.h: 1.6-1.7
sys/dev/pci/ixgbe/ixgbe_82599.c: 1.15-1.16 via patch
sys/dev/pci/ixgbe/ixgbe_82599.h: 1.5-1.6
sys/dev/pci/ixgbe/ixgbe_api.h: 1.10-1.11 via patch
sys/dev/pci/ixgbe/ixgbe_common.c: 1.14-1.16 via patch
sys/dev/pci/ixgbe/ixgbe_common.h: 1.8-1.9 via patch
sys/dev/pci/ixgbe/ixgbe_dcb.c: 1.5-1.6
sys/dev/pci/ixgbe/ixgbe_dcb.h: 1.4-1.5
sys/dev/pci/ixgbe/ixgbe_dcb_82598.c: 1.4-1.5
sys/dev/pci/ixgbe/ixgbe_dcb_82598.h: 1.4-1.5
sys/dev/pci/ixgbe/ixgbe_dcb_82599.c: 1.4-1.5
sys/dev/pci/ixgbe/ixgbe_dcb_82599.h: 1.4-1.5
sys/dev/pci/ixgbe/ixgbe_mbx.c: 1.7-1.9 via patch
sys/dev/pci/ixgbe/ixgbe_mbx.h: 1.11-1.12 via patch
sys/dev/pci/ixgbe/ixgbe_osdep.c: 1.2
sys/dev/pci/ixgbe/ixgbe_osdep.h: 1.18-1.19 via patch
sys/dev/pci/ixgbe/ixgbe_phy.c: 1.12-1.14 via patch
sys/dev/pci/ixgbe/ixgbe_phy.h: 1.9-1.10 via patch
sys/dev/pci/ixgbe/ixgbe_vf.c: 1.13-1.15 via patch
sys/dev/pci/ixgbe/ixgbe_vf.h: 1.9-1.11 via patch
sys/dev/pci/ixgbe/ixgbe_x540.c: 1.10-1.12
sys/dev/pci/ixgbe/ixgbe_x540.h: 1.6-1.7
sys/dev/pci/ixgbe/ixgbe_x550.c: 1.6-1.7
sys/dev/pci/ixgbe/ixgbe_x550.h: 1.3
Sync with FreeBSD's up to r326022, fix bugs and some improvements:
- Don't limit number of queue pair to 8. Take chip's max TX queues and
  max RX queues into account.
- Add C3000 (Denverton) support.
- Add bypass function support for bypass adapters.
- Change EEE sysctl.
- Remove thermal test sysctl.
- ixv(4): set RSS mapping.
- ixv(4): Add TSOv6.
- ixv(4): Fix hardware counter.
- ixv(4): Make TX/RX descriptors size the same as ixg(4).
- ixv(4): Print device name in ixv_attach().
- ixv(4): Make mailbox statistic counters evcnt(9).
- ixv(4): Fix a problem that mailbox interrupt never occurred.
- ixv(4): Don't check neither VTEICR nor VTEICS same as Linux. It
  seems that both registers can't be used to check which MSI-X vector
  is triggered.
- ixv(4): Print Mailbox API version.
- Print driver feature capabilities and enable bits when verbose boot.
- Fix a bug that X550EM_A (Denverton) can't force 10BaseT.
- Remove all half-duplex setting because of the chip specification.
- Add 2.5GBASE-T and 5GBASE-T support.
- Set ifm_baudrate correctly.
- Protect ec_multi* with mutex like other MP safe Ethernet drivers.
- On X550 and newer, print NVM Image Version with %u.%02x.
- On X540, print PHY FW Revision with %u.%x. 0x4030 will be printed
  as "Revision 4.3 ID 0x0"
- Fix value check of OEM_NVM_IMAGE_VER.
- Print PHY ID only for copper PHY.
- Fix a bug that X550 and newer didn't linkup if it forces
  100BaseTX-FDX or 10BaseT-FDX.
- Fix a bug that RX may accesses freed area. It also fixes a problem
  that if_init() takes long time on many core machine.
- Check ETHERCAP_VLAN_HWTAGGING in ixgbe_setup_vlan_hw_support(). This
  change has no influence to netbsd because it's enabled by default
  and NetBSD has no API to disable it.
- Whitespace fix.


To generate a diff of this commi

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

2017-12-21 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Dec 21 19:33:15 UTC 2017

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

Log Message:
Pull up following revision(s) (requested by maxv in ticket #442):
sys/arch/x86/x86/fpu.c: 1.19 via patch
Mask mxcsr, otherwise userland could set reserved bits to 1 and make
xrstor fault.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.12.8.1 src/sys/arch/x86/x86/fpu.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/kern

2017-12-21 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Dec 21 19:41:16 UTC 2017

Modified Files:
src/sys/kern [netbsd-8]: kern_sig.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #443):
sys/kern/kern_sig.c: revision 1.339
- Reset ignored or masked traps to avoid infinite loops
- If sigpost fails don't add an SDT_PROBE
ok (and author) chuq


To generate a diff of this commit:
cvs rdiff -u -r1.336 -r1.336.4.1 src/sys/kern/kern_sig.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/arch/amd64/amd64

2017-12-21 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Dec 21 19:53:29 UTC 2017

Modified Files:
src/sys/arch/amd64/amd64 [netbsd-8]: netbsd32_machdep.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #444):
sys/arch/amd64/amd64/netbsd32_machdep.c: revision 1.114
Keep fs/gs the same for the signal context; otherwise calling things
like __lwp_getprivate_fast() from a signal handler (that uses %gs) die.
Merge context building code.


To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.105.2.1 src/sys/arch/amd64/amd64/netbsd32_machdep.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

2017-12-21 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Dec 21 21:08:13 UTC 2017

Modified Files:
src/distrib/sets/lists/debug [netbsd-8]: mi
src/distrib/sets/lists/tests [netbsd-8]: mi
src/share/man/man4 [netbsd-8]: ip.4
src/sys/netinet [netbsd-8]: in.c in.h in_pcb.c in_pcb.h ip_output.c
ip_var.h raw_ip.c udp_usrreq.c udp_var.h
src/tests/net/net [netbsd-8]: Makefile
Added Files:
src/tests/net/net [netbsd-8]: t_pktinfo_send.c

Log Message:
Pull up following revision(s) (requested by ryo in ticket #445):
distrib/sets/lists/debug/mi: revision 1.222
distrib/sets/lists/tests/mi: revision 1.760
share/man/man4/ip.4: revision 1.38
sys/netinet/in.c: revision 1.207
sys/netinet/in.h: revision 1.101
sys/netinet/in_pcb.c: revision 1.179
sys/netinet/in_pcb.h: revision 1.64
sys/netinet/ip_output.c: revision 1.284, 1.286
sys/netinet/ip_var.h: revision 1.120-1.121
sys/netinet/raw_ip.c: revision 1.166-1.167
sys/netinet/udp_usrreq.c: revision 1.235-1.236
sys/netinet/udp_var.h: revision 1.42
tests/net/net/Makefile: revision 1.21
tests/net/net/t_pktinfo_send.c: revision 1.1-1.2
Add support IP_PKTINFO for sendmsg(2).
The source address or output interface can be specified by adding IP_PKTINFO
to the control part of the message on a SOCK_DGRAM or SOCK_RAW socket.
Reviewed by ozaki-r@ and christos@. thanks.
--
As is the case with IPV6_PKTINFO, IP_PKTINFO can be sent without EADDRINUSE
even if the UDP address:port in use is specified.


To generate a diff of this commit:
cvs rdiff -u -r1.216.2.5 -r1.216.2.6 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.752.2.6 -r1.752.2.7 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.36 -r1.36.20.1 src/share/man/man4/ip.4
cvs rdiff -u -r1.203.2.2 -r1.203.2.3 src/sys/netinet/in.c
cvs rdiff -u -r1.100 -r1.100.6.1 src/sys/netinet/in.h
cvs rdiff -u -r1.178 -r1.178.4.1 src/sys/netinet/in_pcb.c
cvs rdiff -u -r1.63 -r1.63.6.1 src/sys/netinet/in_pcb.h
cvs rdiff -u -r1.279.2.1 -r1.279.2.2 src/sys/netinet/ip_output.c
cvs rdiff -u -r1.119 -r1.119.6.1 src/sys/netinet/ip_var.h
cvs rdiff -u -r1.164 -r1.164.4.1 src/sys/netinet/raw_ip.c
cvs rdiff -u -r1.233 -r1.233.4.1 src/sys/netinet/udp_usrreq.c
cvs rdiff -u -r1.41 -r1.41.10.1 src/sys/netinet/udp_var.h
cvs rdiff -u -r1.20 -r1.20.4.1 src/tests/net/net/Makefile
cvs rdiff -u -r0 -r1.2.2.2 src/tests/net/net/t_pktinfo_send.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/usb

2017-12-21 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Dec 21 21:32:10 UTC 2017

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

Log Message:
Pull up following revision(s) (requested by khorben in ticket #447):
sys/dev/usb/usb_subr.c: revision 1.222
Be more defensive towards malicious USB devices
This avoids potential panics due to 0-sized memory allocation attempts,
which could be triggered by malicious USB devices.
Tested on NetBSD/amd64 with a Sony Xperia X (SailfishOS).
Based on an initial patch by Nick Hudson , thanks!
Fixes PR kern/52383.


To generate a diff of this commit:
cvs rdiff -u -r1.220.2.1 -r1.220.2.2 src/sys/dev/usb/usb_subr.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/sbin/route

2017-12-21 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Dec 21 21:33:31 UTC 2017

Modified Files:
src/sbin/route [netbsd-8]: route.c

Log Message:
Pull up following revision(s) (requested by uwe in ticket #448):
sbin/route/route.c: revision 1.157
Fix typo in flag name.  We should probably just use IFFBITS string
that  defines.
PR bin/52815


To generate a diff of this commit:
cvs rdiff -u -r1.155.4.1 -r1.155.4.2 src/sbin/route/route.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/kern

2017-12-21 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Dec 21 21:37:03 UTC 2017

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

Log Message:
Pull up following revision(s) (requested by pgoyette in ticket #449):
sys/kern/kern_module.c: 1.126-1.130
Add additional duplicate-module-name check in case we have two modules
with the same internal name but no conflicting symbol definitions.
When we load a module from the file system, the filename may have no
relationship to the internal module's name.  Furthermore, comparing
the module's filename is insufficient if the file is loaded from an
absolute path.
--
Use KASSERT to ensure that the newly-added module's name can be found.
--
Change a KASSERTMSG into a regular module_error - not nice for the
kernel
to panic when I try to modload the 'ntfs' module.
--
When looking for a duplicate module name, also check the pending list.
--
Remove the check for duplicate-module-name-on-pending-list since it really
doesn't help.  The check really cannot fail, and it only looks at the list
belonging to the current level of recursion.
Instead, verify that the module's modcmd(MODULE_CMD_INIT, ...) does not
introduce a duplicate module name as a result of recursively calling
module_do_load().


To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.125.2.1 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-8] src/sys/net

2017-12-21 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Dec 21 21:38:23 UTC 2017

Modified Files:
src/sys/net [netbsd-8]: bpf.c

Log Message:
Pull up following revision(s) (requested by ozaki-r in ticket #446):
sys/net/bpf.c: revision 1.221
Fix panic in callout_halt (fix typo)
Reported by wiz@


To generate a diff of this commit:
cvs rdiff -u -r1.216.6.1 -r1.216.6.2 src/sys/net/bpf.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/dist/pf/etc

2017-12-21 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Dec 21 21:46:47 UTC 2017

Modified Files:
src/dist/pf/etc [netbsd-8]: pf.os

Log Message:
Pull up following revision(s) (requested by sevan in ticket #451):
dist/pf/etc/pf.os: 1.4-1.5
Synchronise with r1.27 from OpenBSD
--
Add DragonFly BSD fingerprints.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.54.1 src/dist/pf/etc/pf.os

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



CVS commit: [netbsd-8] src/share/man/man9

2017-12-21 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Dec 21 21:48:01 UTC 2017

Modified Files:
src/share/man/man9 [netbsd-8]: module.9

Log Message:
Pull up following revision(s) (requested by pgoyette in ticket #452):
share/man/man9/module.9: 1.39-1.140
Document the arguments to the MODULE() macro
--
Explicitly note that the required argument to the MODULE() macro is
a quoted string, or NULL.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.38.8.1 src/share/man/man9/module.9

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

2017-12-21 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Dec 21 21:50:16 UTC 2017

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

Log Message:
Pull up following revision(s) (requested by pgoyette in ticket #453):
sys/dev/fss.c: revision 1.100
If config_cfattach_detach() returns an error, handle it instead of
ignoring.  Otherwise the mutex will get destroyed and we'll unload
the module, and any active users will eventually cause a panic.
Noted by code inspection.


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.98.2.1 src/sys/dev/fss.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/net

2017-12-21 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Dec 21 21:51:37 UTC 2017

Modified Files:
src/sys/net [netbsd-8]: bpf.c

Log Message:
Pull up following revision(s) (requested by ozaki-r in ticket #454):
sys/net/bpf.c: revision 1.222
Make softint and callout MP-safe


To generate a diff of this commit:
cvs rdiff -u -r1.216.6.2 -r1.216.6.3 src/sys/net/bpf.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/usb

2017-12-21 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Dec 21 21:53:32 UTC 2017

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

Log Message:
Pull up following revision(s) (requested by skrll in ticket #459):
sys/dev/usb/xhci.c: 1.78, 1.83
PR/52791: Robert Sprowson: avoid duplicate tests (use accessor variables)
--
Fix the logic around TT Hub Slot ID, TT Port Number and Multi-TT in
xhci_setup_tthub.  TT Hub/Port need to reference the upstream HS hub and
Multi-TT needs to reflect the capabilities of a HS hub itself or the same
upstream HS hub.


To generate a diff of this commit:
cvs rdiff -u -r1.72.2.4 -r1.72.2.5 src/sys/dev/usb/xhci.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

2017-12-21 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Dec 21 21:56:29 UTC 2017

Modified Files:
src/sys/dev/ic: cs4215reg.h
src/sys/dev/sbus: dbri.c dbrivar.h

Log Message:
overhaul the dbri driver and make it work again in the New Order Of Things
- fix switching between control and data mode
- make sure interrupts can happen in control mode
- implement audioif.commit_settings()
- switch to control mode only if needed - for changes in sample rate or format
  but not for things like volume control
should fix PR 52786


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/ic/cs4215reg.h
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/sbus/dbri.c
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/sbus/dbrivar.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/doc

2017-12-21 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Dec 21 22:07:07 UTC 2017

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

Log Message:
tickets 434-438, 441-449, 451-454, 459


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

2017-12-21 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Dec 21 23:06:58 UTC 2017

Modified Files:
src/doc [netbsd-8]: CHANGES-8.0
src/tools/compat [netbsd-8]: compat_defs.h configure configure.ac
fpurge.c nbtool_config.h.in

Log Message:
revert ticket 435


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.93 -r1.1.2.94 src/doc/CHANGES-8.0
cvs rdiff -u -r1.107.6.1 -r1.107.6.2 src/tools/compat/compat_defs.h
cvs rdiff -u -r1.86.6.1 -r1.86.6.2 src/tools/compat/configure
cvs rdiff -u -r1.87.6.1 -r1.87.6.2 src/tools/compat/configure.ac
cvs rdiff -u -r1.1.38.1 -r1.1.38.2 src/tools/compat/fpurge.c
cvs rdiff -u -r1.40.6.1 -r1.40.6.2 src/tools/compat/nbtool_config.h.in

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/modules/nand

2017-12-21 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri Dec 22 00:07:32 UTC 2017

Modified Files:
src/sys/modules/nand [netbsd-8]: Makefile

Log Message:
revert ticket 438


To generate a diff of this commit:
cvs rdiff -u -r1.4.30.1 -r1.4.30.2 src/sys/modules/nand/Makefile

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/dts

2017-12-21 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Dec 22 00:56:44 UTC 2017

Added Files:
src/sys/arch/arm/dts: sun8i-h3-nanopi-m1.dts

Log Message:
Wrap NanoPi M1 dts to enable simplefb support.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/dts/sun8i-h3-nanopi-m1.dts

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



CVS commit: src/share/misc

2017-12-21 Thread Brian Ginsbach
Module Name:src
Committed By:   ginsbach
Date:   Fri Dec 22 02:36:46 UTC 2017

Modified Files:
src/share/misc: acronyms.comp

Log Message:
Add board support package - BSP


To generate a diff of this commit:
cvs rdiff -u -r1.186 -r1.187 src/share/misc/acronyms.comp

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



CVS commit: [netbsd-8] src/distrib/sets/lists/debug

2017-12-21 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri Dec 22 06:05:35 UTC 2017

Modified Files:
src/distrib/sets/lists/debug [netbsd-8]: mi

Log Message:
Pull up following revision(s) (requested by htodd in ticket #445):
distrib/sets/lists/debug/mi: revision 1.223
fix filename. sorry


To generate a diff of this commit:
cvs rdiff -u -r1.216.2.6 -r1.216.2.7 src/distrib/sets/lists/debug/mi

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

2017-12-21 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri Dec 22 06:06:22 UTC 2017

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

Log Message:
amend 445


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.94 -r1.1.2.95 src/doc/CHANGES-8.0

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



CVS commit: src

2017-12-21 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri Dec 22 07:19:02 UTC 2017

Modified Files:
src/distrib/sets/lists/base: md.amd64
src/sys/arch/amd64: Makefile

Log Message:
Build and install the prekern by default. I didn't build a full
distribution to test this change, but it seems fine enough.


To generate a diff of this commit:
cvs rdiff -u -r1.273 -r1.274 src/distrib/sets/lists/base/md.amd64
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/amd64/Makefile

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/stand/prekern

2017-12-21 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri Dec 22 07:37:27 UTC 2017

Modified Files:
src/sys/arch/amd64/stand/prekern: locore.S trap.S

Log Message:
Sync comments with reality.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/amd64/stand/prekern/locore.S
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/amd64/stand/prekern/trap.S

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