svn commit: r291139 - in head/usr.sbin: . uathload

2015-11-21 Thread Warner Losh
Author: imp Date: Sat Nov 21 16:37:11 2015 New Revision: 291139 URL: https://svnweb.freebsd.org/changeset/base/291139 Log: Document why we use -z nonexecstack in the Makefile since it is so unusual. Turn off mis-match warnings for building uathload because the firmware .o file is produced

svn commit: r291141 - head/sys/netinet

2015-11-21 Thread Michael Tuexen
Author: tuexen Date: Sat Nov 21 18:21:16 2015 New Revision: 291141 URL: https://svnweb.freebsd.org/changeset/base/291141 Log: Fix the handling of IPSec policies in the SCTP stack. At least make sure they are not leaked... MFC after:1 week Modified: head/sys/netinet/sctp_pcb.c

svn commit: r291136 - in head/sys: arm/ti/am335x conf

2015-11-21 Thread Andrew Turner
Author: andrew Date: Sat Nov 21 16:25:03 2015 New Revision: 291136 URL: https://svnweb.freebsd.org/changeset/base/291136 Log: Move hdmi_if.m to files.arm so other kernel configs can use it. Modified: head/sys/arm/ti/am335x/files.am335x head/sys/conf/files.arm Modified:

svn commit: r291137 - head/sys/netinet

2015-11-21 Thread Michael Tuexen
Author: tuexen Date: Sat Nov 21 16:25:09 2015 New Revision: 291137 URL: https://svnweb.freebsd.org/changeset/base/291137 Log: Don't send SHUTDOWN chunk when the association is in a front state and the applications calls shutdown(..., SHUT_WR) or shutdown(..., SHUT_RDWR). MFC after:

svn commit: r291140 - head/sys/netinet

2015-11-21 Thread Michael Tuexen
Author: tuexen Date: Sat Nov 21 16:46:59 2015 New Revision: 291140 URL: https://svnweb.freebsd.org/changeset/base/291140 Log: Revert part of r291137 which seems correct, bit does not fix the resource problem I'm currently hunting down. MFC after:1 week X-MFC with: 291137

svn commit: r291132 - head/sys/dev/ispfw

2015-11-21 Thread Alexander Motin
Author: mav Date: Sat Nov 21 14:39:57 2015 New Revision: 291132 URL: https://svnweb.freebsd.org/changeset/base/291132 Log: Update firmware for QLogic 22xx from 2.02.06 to 2.02.08. Modified: head/sys/dev/ispfw/asm_2200.h Modified: head/sys/dev/ispfw/asm_2200.h

svn commit: r291131 - in head/sys/arm: arm include versatile

2015-11-21 Thread Andrew Turner
Author: andrew Date: Sat Nov 21 13:02:34 2015 New Revision: 291131 URL: https://svnweb.freebsd.org/changeset/base/291131 Log: Limit arm_base_bs_tag to ARMv4 and ARMv5, we only used it in one place in armv6 and that can use fdtbus_bs_tag. Modified: head/sys/arm/arm/bus_space_base.c

svn commit: r291130 - head/sys/modules

2015-11-21 Thread Andrew Turner
Author: andrew Date: Sat Nov 21 12:53:44 2015 New Revision: 291130 URL: https://svnweb.freebsd.org/changeset/base/291130 Log: Fix a logic inversion, we should build dtrace on armv6, not on arm and armeb. Modified: head/sys/modules/Makefile Modified: head/sys/modules/Makefile

svn commit: r291133 - in head/sys: arm/allwinner arm/altera/socfpga arm/amlogic/aml8726 arm/annapurna/alpine arm/at91 arm/broadcom/bcm2835 arm/cavium/cns11xx arm/freescale/imx arm/freescale/vybrid ...

2015-11-21 Thread Andrew Turner
Author: andrew Date: Sat Nov 21 15:30:08 2015 New Revision: 291133 URL: https://svnweb.freebsd.org/changeset/base/291133 Log: Move more bus_space_* files to be built by files.arm. This leaves the definition in a file.* file under sys/arm/arm in the few cases we need it for non-fdt

svn commit: r291138 - head/sys/netinet

2015-11-21 Thread Michael Tuexen
Author: tuexen Date: Sat Nov 21 16:32:14 2015 New Revision: 291138 URL: https://svnweb.freebsd.org/changeset/base/291138 Log: Clear the so_pcb pointer in case of ipsec_init_policy() fails. MFC after:1 week Modified: head/sys/netinet/sctp_usrreq.c Modified:

svn commit: r291135 - in head/sys: arm/altera/socfpga arm/broadcom/bcm2835 arm/conf arm/freescale/imx arm/freescale/vybrid arm/qemu arm/rockchip arm/samsung/exynos arm/ti/omap4 arm/xilinx conf

2015-11-21 Thread Andrew Turner
Author: andrew Date: Sat Nov 21 16:23:56 2015 New Revision: 291135 URL: https://svnweb.freebsd.org/changeset/base/291135 Log: Create device options for the two common ARM timers. Sponsored by: ABT Systems Ltd Modified: head/sys/arm/altera/socfpga/files.socfpga

svn commit: r291153 - in head/sys: amd64/linux arm/arm modules/cryptodev modules/linux64 opencrypto vm

2015-11-21 Thread Mark Johnston
Author: markj Date: Sun Nov 22 02:01:01 2015 New Revision: 291153 URL: https://svnweb.freebsd.org/changeset/base/291153 Log: Remove unneeded includes of opt_kdtrace.h. As of r258541, KDTRACE_HOOKS is defined in opt_global.h, so opt_kdtrace.h is not needed when defining SDT(9) probes.

svn commit: r291151 - head/sys/powerpc/mpc85xx

2015-11-21 Thread Justin Hibbits
Author: jhibbits Date: Sun Nov 22 01:16:43 2015 New Revision: 291151 URL: https://svnweb.freebsd.org/changeset/base/291151 Log: Modernize mpc85xx PCI hostbridge driver. Summary: * Take advantage of NEW_PCIB to remove a lot of setup code. * Fix some bugs related to multiple PCI bridges.

svn commit: r291148 - head/usr.bin/vmstat

2015-11-21 Thread Mark Johnston
Author: markj Date: Sat Nov 21 23:04:12 2015 New Revision: 291148 URL: https://svnweb.freebsd.org/changeset/base/291148 Log: Add a missing brace to fix vmstat -s output. Modified: head/usr.bin/vmstat/vmstat.c Modified: head/usr.bin/vmstat/vmstat.c

svn commit: r291143 - head/sys/dev/ispfw

2015-11-21 Thread Alexander Motin
Author: mav Date: Sat Nov 21 20:52:40 2015 New Revision: 291143 URL: https://svnweb.freebsd.org/changeset/base/291143 Log: Update Qlogic 23XX firmware from 3.03.26 to 3.03.28 Modified: head/sys/dev/ispfw/asm_2300.h head/sys/dev/ispfw/asm_2322.h Modified: head/sys/dev/ispfw/asm_2300.h

svn commit: r291147 - head/sys/dev/isp

2015-11-21 Thread Alexander Motin
Author: mav Date: Sat Nov 21 21:44:11 2015 New Revision: 291147 URL: https://svnweb.freebsd.org/changeset/base/291147 Log: Increase maximal value of vports tunable to 254. I am not sure this value is really viable yet, but that is what chips officially support in NPIV mode (in loop mode

svn commit: r291145 - head/usr.sbin/bluetooth/bthidd

2015-11-21 Thread Hans Petter Selasky
Author: hselasky Date: Sat Nov 21 21:14:16 2015 New Revision: 291145 URL: https://svnweb.freebsd.org/changeset/base/291145 Log: Fix scancodes for Kana and Eisu keys. PR: 204709 Submitted by: naito.yuich...@gmail.com MFC after:3 days Modified:

svn commit: r291142 - in head/sys: arm/arm arm64/arm64 mips/mips powerpc/powerpc x86/x86

2015-11-21 Thread Svatopluk Kraus
Author: skra Date: Sat Nov 21 19:55:01 2015 New Revision: 291142 URL: https://svnweb.freebsd.org/changeset/base/291142 Log: Fix BUS_DMA_MIN_ALLOC_COMP flag logic. When bus_dmamap_t map is being created for bus_dma_tag_t tag, bounce pages should be allocated only if needed. Before the

svn commit: r291146 - head/sys/dev/usb/input

2015-11-21 Thread Hans Petter Selasky
Author: hselasky Date: Sat Nov 21 21:18:55 2015 New Revision: 291146 URL: https://svnweb.freebsd.org/changeset/base/291146 Log: Add support for Kana and Eisu keys to the USB keyboard driver. PR: 204709 Submitted by: naito.yuich...@gmail.com MFC after:3 days Modified:

Re: svn commit: r291114 - head/lib/libc/gen

2015-11-21 Thread Andrey Chernov
On 21.11.2015 5:29, David Sanderson wrote: > Thank you for pointing out the possibility of fdopen() setting > FD_CLOEXEC on the parent's end of the pipe if the mode string contains > an 'e'. This is indeed documented on popen(3). > > However, note that popen() uses pipe2(pdes, O_CLOEXEC) to

svn commit: r291144 - head/sys/dev/isp

2015-11-21 Thread Alexander Motin
Author: mav Date: Sat Nov 21 21:01:00 2015 New Revision: 291144 URL: https://svnweb.freebsd.org/changeset/base/291144 Log: Fix target mode with fabric for pre-24xx chips. For those chips we are not receiving login events, adding initiators based on ATIO requests. But there is no port ID

svn commit: r291149 - head/sys/arm/freescale/imx

2015-11-21 Thread Ian Lepore
Author: ian Date: Sat Nov 21 23:30:47 2015 New Revision: 291149 URL: https://svnweb.freebsd.org/changeset/base/291149 Log: Update the imx5/imx6 cpu_reset() implementation based on a new understanding of the SRS (software reset) bit in the watchdog control register. Despite what the manual

svn commit: r291150 - in head/sys/fs: nfs nfsserver

2015-11-21 Thread Rick Macklem
Author: rmacklem Date: Sat Nov 21 23:55:46 2015 New Revision: 291150 URL: https://svnweb.freebsd.org/changeset/base/291150 Log: When the nfsd threads are terminated, the NFSv4 server state (opens, locks, etc) is retained, which I believe is correct behaviour. However, for NFSv4.1, the

svn commit: r291152 - head/sys/powerpc/mpc85xx

2015-11-21 Thread Justin Hibbits
Author: jhibbits Date: Sun Nov 22 01:20:36 2015 New Revision: 291152 URL: https://svnweb.freebsd.org/changeset/base/291152 Log: Remove a debug panic that crept into r291151 Modified: head/sys/powerpc/mpc85xx/pci_mpc85xx.c Modified: head/sys/powerpc/mpc85xx/pci_mpc85xx.c

svn commit: r291155 - head/usr.bin/bc

2015-11-21 Thread Pedro F. Giffuni
Author: pfg Date: Sun Nov 22 02:43:14 2015 New Revision: 291155 URL: https://svnweb.freebsd.org/changeset/base/291155 Log: bc: sync with OpenBSD tty.c Rev. 1.3 Avoid unintended problems with operator precedence when doing an assignment and comparison. bc.1, Rev. 1.31, 1.32 '.Ql

svn commit: r291154 - head/sys/mips/malta

2015-11-21 Thread Adrian Chadd
Author: adrian Date: Sun Nov 22 02:40:19 2015 New Revision: 291154 URL: https://svnweb.freebsd.org/changeset/base/291154 Log: [mips]: Don't hard-code PHYS_AVAIL_ENTRIES. Modified: head/sys/mips/malta/malta_machdep.c Modified: head/sys/mips/malta/malta_machdep.c

svn commit: r291156 - head/sys/dev/hyperv/netvsc

2015-11-21 Thread Wei Hu
Author: whu Date: Sun Nov 22 05:26:13 2015 New Revision: 291156 URL: https://svnweb.freebsd.org/changeset/base/291156 Log: Ignore the inbound checksum flags when doing packet forwarding in netvsc driver. PR: 20363 Submitted by: whu Reviewed by: royger, whu Approved by: royger MFC

svn commit: r291129 - head/usr.bin/m4

2015-11-21 Thread Baptiste Daroussin
Author: bapt Date: Sat Nov 21 11:06:20 2015 New Revision: 291129 URL: https://svnweb.freebsd.org/changeset/base/291129 Log: Revert a modification that crept in and should not Modified: head/usr.bin/m4/extern.h Modified: head/usr.bin/m4/extern.h

svn commit: r291125 - in head: contrib/xz contrib/xz/src/common contrib/xz/src/liblzma/api contrib/xz/src/liblzma/api/lzma contrib/xz/src/liblzma/common contrib/xz/src/liblzma/lz contrib/xz/src/lib...

2015-11-21 Thread Xin LI
Author: delphij Date: Sat Nov 21 09:09:25 2015 New Revision: 291125 URL: https://svnweb.freebsd.org/changeset/base/291125 Log: MFV r291123: xz 5.2.2. MFC after:1 month Relnotes: yes Modified: head/contrib/xz/ChangeLog head/contrib/xz/THANKS

svn commit: r291126 - in head: share/examples/ses/srcs sys/cam/scsi

2015-11-21 Thread Alexander Motin
Author: mav Date: Sat Nov 21 10:22:01 2015 New Revision: 291126 URL: https://svnweb.freebsd.org/changeset/base/291126 Log: Add API to obtain primary enclosure name and ID for /dev/sesX devices. sesX device number may change between reboots, so to properly identify the instance we need

Re: svn commit: r291126 - in head: share/examples/ses/srcs sys/cam/scsi

2015-11-21 Thread Alexander Motin
On 21.11.2015 12:41, Baptiste Daroussin wrote: > On Sat, Nov 21, 2015 at 10:22:01AM +, Alexander Motin wrote: >> Author: mav >> Date: Sat Nov 21 10:22:01 2015 >> New Revision: 291126 >> URL: https://svnweb.freebsd.org/changeset/base/291126 >> >> Log: >> Add API to obtain primary enclosure

svn commit: r291128 - head/usr.bin/m4

2015-11-21 Thread Baptiste Daroussin
Author: bapt Date: Sat Nov 21 11:05:38 2015 New Revision: 291128 URL: https://svnweb.freebsd.org/changeset/base/291128 Log: Synchronize m4(1) with OpenBSD Modified: head/usr.bin/m4/eval.c head/usr.bin/m4/extern.h head/usr.bin/m4/m4.1 head/usr.bin/m4/main.c head/usr.bin/m4/mdef.h

Re: svn commit: r291126 - in head: share/examples/ses/srcs sys/cam/scsi

2015-11-21 Thread Baptiste Daroussin
On Sat, Nov 21, 2015 at 10:22:01AM +, Alexander Motin wrote: > Author: mav > Date: Sat Nov 21 10:22:01 2015 > New Revision: 291126 > URL: https://svnweb.freebsd.org/changeset/base/291126 > > Log: > Add API to obtain primary enclosure name and ID for /dev/sesX devices. > > sesX device

svn commit: r291127 - head/usr.bin/colldef

2015-11-21 Thread Baptiste Daroussin
Author: bapt Date: Sat Nov 21 10:52:32 2015 New Revision: 291127 URL: https://svnweb.freebsd.org/changeset/base/291127 Log: colldef(1) does not need the libc's internal collate.h header anymore Modified: head/usr.bin/colldef/Makefile head/usr.bin/colldef/parse.y Modified: