svn commit: r314195 - head/sys/vm

2017-02-24 Thread Konstantin Belousov
Author: kib Date: Fri Feb 24 08:09:16 2017 New Revision: 314195 URL: https://svnweb.freebsd.org/changeset/base/314195 Log: Properly handle possible underflow in vm_fault_prefault(). In vm_fault_prefault(), if backward count causes underflow in calculation of starta = addra -

svn commit: r314196 - head/sys/cam/ctl

2017-02-24 Thread Alexander Motin
Author: mav Date: Fri Feb 24 09:16:21 2017 New Revision: 314196 URL: https://svnweb.freebsd.org/changeset/base/314196 Log: Unify ATIO/INOT CCBs requeuing. MFC after:2 weeks Modified: head/sys/cam/ctl/scsi_ctl.c Modified: head/sys/cam/ctl/scsi_ctl.c

svn commit: r314197 - stable/10/sys/sys

2017-02-24 Thread Konstantin Belousov
Author: kib Date: Fri Feb 24 09:30:51 2017 New Revision: 314197 URL: https://svnweb.freebsd.org/changeset/base/314197 Log: MFC r313493: Define ELF_ST_VISIBILITY(). Modified: stable/10/sys/sys/elf_generic.h Directory Properties: stable/10/ (props changed) Modified:

svn commit: r314198 - in stable/11/sys: amd64/amd64 i386/i386

2017-02-24 Thread Roger Pau Monné
Author: royger Date: Fri Feb 24 10:20:13 2017 New Revision: 314198 URL: https://svnweb.freebsd.org/changeset/base/314198 Log: MFC r313871 x86: fix MTRR initialization if EARLY_AP_STARTUP is used Sponsored by: Citrix Systems R Modified: stable/11/sys/amd64/amd64/amd64_mem.c

Re: svn commit: r314179 - in head: contrib/netbsd-tests/lib/librt include lib/libc/gen lib/libc/include share/man/man3 sys/kern

2017-02-24 Thread Konstantin Belousov
On Thu, Feb 23, 2017 at 07:36:39PM +, Eric van Gyzen wrote: > Modified: head/include/semaphore.h > == > --- head/include/semaphore.h Thu Feb 23 19:32:25 2017(r314178) > +++ head/include/semaphore.h Thu Feb 23

svn commit: r314199 - stable/10/libexec/rtld-elf

2017-02-24 Thread Konstantin Belousov
Author: kib Date: Fri Feb 24 11:07:49 2017 New Revision: 314199 URL: https://svnweb.freebsd.org/changeset/base/314199 Log: MFC r313494: Handle protected symbols in rtld. Modified: stable/10/libexec/rtld-elf/rtld.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r314200 - head/sys/cam/ctl

2017-02-24 Thread Alexander Motin
Author: mav Date: Fri Feb 24 11:25:32 2017 New Revision: 314200 URL: https://svnweb.freebsd.org/changeset/base/314200 Log: We can't access periph after ctlfe_free_ccb(). MFC after:2 weeks Modified: head/sys/cam/ctl/scsi_ctl.c Modified: head/sys/cam/ctl/scsi_ctl.c

svn commit: r314201 - stable/10/sys/fs/nfsclient

2017-02-24 Thread Konstantin Belousov
Author: kib Date: Fri Feb 24 11:30:28 2017 New Revision: 314201 URL: https://svnweb.freebsd.org/changeset/base/314201 Log: MFC r313800: Do not access memory past the buffer end. Do not accept and silently truncate too long hostname. Modified: stable/10/sys/fs/nfsclient/nfs_clvfsops.c

svn commit: r314202 - stable/10/sys/kern

2017-02-24 Thread Konstantin Belousov
Author: kib Date: Fri Feb 24 11:34:00 2017 New Revision: 314202 URL: https://svnweb.freebsd.org/changeset/base/314202 Log: MFC r313496: Increase a chance of devfs_close() calling d_close cdevsw method. Modified: stable/10/sys/kern/vfs_vnops.c Directory Properties: stable/10/ (props

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

2017-02-24 Thread Alexander Motin
Author: mav Date: Fri Feb 24 12:11:17 2017 New Revision: 314203 URL: https://svnweb.freebsd.org/changeset/base/314203 Log: Fix missing xpt_done() for ATIO/INOT on missing LUN. MFC after:2 weeks Modified: head/sys/dev/isp/isp_freebsd.c Modified: head/sys/dev/isp/isp_freebsd.c

svn commit: r314204 - head/sys/cam/ctl

2017-02-24 Thread Alexander Motin
Author: mav Date: Fri Feb 24 12:12:30 2017 New Revision: 314204 URL: https://svnweb.freebsd.org/changeset/base/314204 Log: Explicitly abort ATIO if CTIO sending status has failed. This helps SIM to free related resources in questionable cases. MFC after:2 weeks Modified:

Re: svn commit: r314087 - head/sys/x86/x86

2017-02-24 Thread Konstantin Belousov
On Thu, Feb 23, 2017 at 06:33:43AM +1100, Bruce Evans wrote: > On Wed, 22 Feb 2017, Konstantin Belousov wrote: > > > Log: > > More fixes for regression in r313898 on i386. > > Use long long constants where needed. > > The long long abomination is never needed, and is always a style bug. I

svn commit: r314206 - head/include

2017-02-24 Thread Eric van Gyzen
Author: vangyzen Date: Fri Feb 24 14:37:55 2017 New Revision: 314206 URL: https://svnweb.freebsd.org/changeset/base/314206 Log: Guard sem_clockwait_np() declaration with __BSD_VISIBLE This is a POSIX header file, so keep the namespace clean. Reported by: kib MFC after:13 days

Re: svn commit: r314179 - in head: contrib/netbsd-tests/lib/librt include lib/libc/gen lib/libc/include share/man/man3 sys/kern

2017-02-24 Thread Eric van Gyzen
On 02/24/2017 02:27, Konstantin Belousov wrote: On Thu, Feb 23, 2017 at 07:36:39PM +, Eric van Gyzen wrote: +int sem_clockwait_np(sem_t * __restrict, __clockid_t, int, + const struct timespec *, struct timespec *); I argue that semaphore.h is POSIX include file and the

svn commit: r314207 - head/sys/compat/linuxkpi/common/include/linux

2017-02-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 24 14:40:15 2017 New Revision: 314207 URL: https://svnweb.freebsd.org/changeset/base/314207 Log: Implement srcu_dereference() macro in the LinuxKPI. MFC after:1 week Sponsored by: Mellanox Technologies Modified:

Re: svn commit: r314179 - in head: contrib/netbsd-tests/lib/librt include lib/libc/gen lib/libc/include share/man/man3 sys/kern

2017-02-24 Thread Alexey Dokuchaev
On Fri, Feb 24, 2017 at 08:22:21AM -0600, Eric van Gyzen wrote: > By the way, have you considered adding a Herald rule on Phabricator? > Phab is not perfect, but a lot of folks use it, and the Herald rules > are a very effective way to watch them play in one's area. +1, we need more Herald rules

Re: svn commit: r314192 - in head/sys: conf dev/iwm modules/iwm

2017-02-24 Thread Cy Schubert
In message <201702240707.v1o77was011...@repo.freebsd.org>, Adrian Chadd writes: > Author: adrian > Date: Fri Feb 24 07:07:58 2017 > New Revision: 314192 > URL: https://svnweb.freebsd.org/changeset/base/314192 > > Log: > [iwm] Add support for Firmware paging, needed for newer 8000C firmware. >

svn commit: r314205 - head/sys/compat/linuxkpi/common/include/linux

2017-02-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 24 14:23:46 2017 New Revision: 314205 URL: https://svnweb.freebsd.org/changeset/base/314205 Log: Implement BIT_ULL() macro in the LinuxKPI. MFC after:1 week Sponsored by: Mellanox Technologies Modified:

Re: svn commit: r314179 - in head: contrib/netbsd-tests/lib/librt include lib/libc/gen lib/libc/include share/man/man3 sys/kern

2017-02-24 Thread Eric van Gyzen
Modified: head/contrib/netbsd-tests/lib/librt/t_sem.c ... *sigh* I really wish people would read MAINTAINERS and include me on CRs to contrib/netbsd-tests/ (especially since I spent a few weekends cleaning this up to diff reduce and contribute back changes to NetBSD). Drat. I totally failed

svn commit: r314216 - head/sys/x86/x86

2017-02-24 Thread Jonathan T. Looney
Author: jtl Date: Fri Feb 24 18:56:00 2017 New Revision: 314216 URL: https://svnweb.freebsd.org/changeset/base/314216 Log: We have seen several cases recently where we appear to get a double-fault: We have an original panic. Then, instead of writing the core to the dump device, the kernel

Re: svn commit: r314218 - in head/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2017-02-24 Thread mokhi
Thanks for fixing it. I'm gonna apply correct patch soon __/\__ -- Best regards, MMokhi. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to

svn commit: r314237 - stable/11/sys/cam/ctl

2017-02-24 Thread Alexander Motin
Author: mav Date: Sat Feb 25 01:52:07 2017 New Revision: 314237 URL: https://svnweb.freebsd.org/changeset/base/314237 Log: MFC r313910: Change XCOPY memory allocations. Before this change XCOPY code could allocate memory in chunks up to 16-32MB (VMware does XCOPY in 4MB chunks by

svn commit: r314238 - stable/10/sys/cam/ctl

2017-02-24 Thread Alexander Motin
Author: mav Date: Sat Feb 25 01:53:45 2017 New Revision: 314238 URL: https://svnweb.freebsd.org/changeset/base/314238 Log: MFC r313910: Change XCOPY memory allocations. Before this change XCOPY code could allocate memory in chunks up to 16-32MB (VMware does XCOPY in 4MB chunks by

Re: svn commit: r314179 - in head: contrib/netbsd-tests/lib/librt include lib/libc/gen lib/libc/include share/man/man3 sys/kern

2017-02-24 Thread Bruce Evans
On Fri, 24 Feb 2017, Konstantin Belousov wrote: On Thu, Feb 23, 2017 at 07:36:39PM +, Eric van Gyzen wrote: Modified: head/include/semaphore.h == --- head/include/semaphore.hThu Feb 23 19:32:25 2017

svn commit: r314234 - head/sys/dev/iwn

2017-02-24 Thread Andriy Voskoboinyk
Author: avos Date: Sat Feb 25 00:40:50 2017 New Revision: 314234 URL: https://svnweb.freebsd.org/changeset/base/314234 Log: iwn: some initialization / RF switch state change fixes. - Check return code from initialization path; otherwise, vap state may be wrong after an error. - Do not

Re: svn commit: r314210 - in stable/11/sys: conf i386/conf i386/i386 i386/include i386/isa i386/linux x86/acpica x86/x86

2017-02-24 Thread Bruce Evans
On Fri, 24 Feb 2017, John Baldwin wrote: On Friday, February 24, 2017 07:14:05 PM Konstantin Belousov wrote: On Fri, Feb 24, 2017 at 08:53:27AM -0800, Rodney W. Grimes wrote: Author: kib Date: Fri Feb 24 16:02:01 2017 New Revision: 314210 URL: https://svnweb.freebsd.org/changeset/base/314210

svn commit: r314235 - stable/11

2017-02-24 Thread Ngie Cooper
Author: ngie Date: Sat Feb 25 00:42:17 2017 New Revision: 314235 URL: https://svnweb.freebsd.org/changeset/base/314235 Log: MFC r313924,r313925: r313924: Quote path to doxygen/kyua in test(1) -x check This is a basic stopgap against ${LOCALBASE} containing spaces in it

svn commit: r314236 - stable/10

2017-02-24 Thread Ngie Cooper
Author: ngie Date: Sat Feb 25 00:42:44 2017 New Revision: 314236 URL: https://svnweb.freebsd.org/changeset/base/314236 Log: MFC r313924,r313925: r313924: Quote path to doxygen/kyua in test(1) -x check This is a basic stopgap against ${LOCALBASE} containing spaces in it

Re: svn commit: r314239 - head/rescue/rescue

2017-02-24 Thread Andriy Gapon
On 25/02/2017 05:11, Ngie Cooper wrote: > Author: ngie > Date: Sat Feb 25 03:11:08 2017 > New Revision: 314239 > URL: https://svnweb.freebsd.org/changeset/base/314239 > > Log: > Add shutdown/poweroff support to rescue(8) > > shutdown is a safer way to power off than reboot (in general),

Re: svn commit: r314216 - head/sys/x86/x86

2017-02-24 Thread Andriy Gapon
On 24/02/2017 20:56, Jonathan T. Looney wrote: > Author: jtl > Date: Fri Feb 24 18:56:00 2017 > New Revision: 314216 > URL: https://svnweb.freebsd.org/changeset/base/314216 > > Log: > We have seen several cases recently where we appear to get a double-fault: > We have an original panic. Then,

svn commit: r314210 - in stable/11/sys: conf i386/conf i386/i386 i386/include i386/isa i386/linux x86/acpica x86/x86

2017-02-24 Thread Konstantin Belousov
Author: kib Date: Fri Feb 24 16:02:01 2017 New Revision: 314210 URL: https://svnweb.freebsd.org/changeset/base/314210 Log: MFC r313154: For i386, remove config options CPU_DISABLE_CMPXCHG, CPU_DISABLE_SSE and device npx. Modified: stable/11/sys/conf/files.i386

Re: svn commit: r314207 - head/sys/compat/linuxkpi/common/include/linux

2017-02-24 Thread Hans Petter Selasky
On 02/24/17 16:06, Mateusz Guzik wrote: On Fri, Feb 24, 2017 at 02:40:15PM +, Hans Petter Selasky wrote: Author: hselasky Date: Fri Feb 24 14:40:15 2017 New Revision: 314207 URL: https://svnweb.freebsd.org/changeset/base/314207 Log: Implement srcu_dereference() macro in the LinuxKPI.

Re: svn commit: r314189 - head/lib/libcam

2017-02-24 Thread Ian Lepore
On Fri, 2017-02-24 at 06:24 +, Ngie Cooper wrote: > Author: ngie > Date: Fri Feb 24 06:24:39 2017 > New Revision: 314189 > URL: https://svnweb.freebsd.org/changeset/base/314189 > > Log: >   Fix up NULL/'\0' uses and fix 2 derefs after NULL >    >   MFC after: 2 weeks >   Reported by:

Re: svn commit: r314210 - in stable/11/sys: conf i386/conf i386/i386 i386/include i386/isa i386/linux x86/acpica x86/x86

2017-02-24 Thread Konstantin Belousov
On Fri, Feb 24, 2017 at 08:53:27AM -0800, Rodney W. Grimes wrote: > > Author: kib > > Date: Fri Feb 24 16:02:01 2017 > > New Revision: 314210 > > URL: https://svnweb.freebsd.org/changeset/base/314210 > > > > Log: > > MFC r313154: > > For i386, remove config options CPU_DISABLE_CMPXCHG,

Re: svn commit: r314210 - in stable/11/sys: conf i386/conf i386/i386 i386/include i386/isa i386/linux x86/acpica x86/x86

2017-02-24 Thread Rodney W. Grimes
> Author: kib > Date: Fri Feb 24 16:02:01 2017 > New Revision: 314210 > URL: https://svnweb.freebsd.org/changeset/base/314210 > > Log: > MFC r313154: > For i386, remove config options CPU_DISABLE_CMPXCHG, CPU_DISABLE_SSE > and device npx. Um, why? Makes it much easier to test soft

svn commit: r314213 - head/sys/boot/geli

2017-02-24 Thread Allan Jude
Author: allanjude Date: Fri Feb 24 16:52:57 2017 New Revision: 314213 URL: https://svnweb.freebsd.org/changeset/base/314213 Log: Remove control+r handling from geliboot's pwgets() pwgets() is based on ngets() from libstand, which includes a feature that is not wanted in a very of the

svn commit: r314209 - head/sys/dev/iwm

2017-02-24 Thread Adrian Chadd
Author: adrian Date: Fri Feb 24 15:17:43 2017 New Revision: 314209 URL: https://svnweb.freebsd.org/changeset/base/314209 Log: [iwm] add if_iwm_fw.c. Added: head/sys/dev/iwm/if_iwm_fw.c (contents, props changed) head/sys/dev/iwm/if_iwm_fw.h (contents, props changed) Added:

svn commit: r314214 - head/sys/compat/linuxkpi/common/include/linux

2017-02-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 24 17:03:14 2017 New Revision: 314214 URL: https://svnweb.freebsd.org/changeset/base/314214 Log: Prototype device structure to ensure LinuxKPI header file can be included standalone. MFC after:1 week Sponsored by: Mellanox Technologies

Re: svn commit: r314192 - in head/sys: conf dev/iwm modules/iwm

2017-02-24 Thread Adrian Chadd
Fixed! -a On 24 February 2017 at 06:10, Cy Schubert wrote: > In message <201702240707.v1o77was011...@repo.freebsd.org>, Adrian Chadd > writes: >> Author: adrian >> Date: Fri Feb 24 07:07:58 2017 >> New Revision: 314192 >> URL:

svn commit: r314211 - in head/sys: dev/acpica kern sys x86/x86

2017-02-24 Thread Konstantin Belousov
Author: kib Date: Fri Feb 24 16:11:55 2017 New Revision: 314211 URL: https://svnweb.freebsd.org/changeset/base/314211 Log: Remove cpu_deepest_sleep variable. On Core2 and older Intel CPUs, where TSC stops in C2, system does not allow C2 entrance if timecounter hardware is TSC. This is

svn commit: r314212 - head/sys/dev/uart

2017-02-24 Thread Ruslan Bukin
Author: br Date: Fri Feb 24 16:37:35 2017 New Revision: 314212 URL: https://svnweb.freebsd.org/changeset/base/314212 Log: Use correct macro for Synopsys UART driver declaration. Modified: head/sys/dev/uart/uart_dev_snps.c Modified: head/sys/dev/uart/uart_dev_snps.c

svn commit: r314215 - head/sys/compat/linuxkpi/common/include/linux

2017-02-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 24 17:36:55 2017 New Revision: 314215 URL: https://svnweb.freebsd.org/changeset/base/314215 Log: Implement more string functions in the LinuxKPI. MFC after:1 week Sponsored by: Mellanox Technologies Modified:

Re: svn commit: r314209 - head/sys/dev/iwm

2017-02-24 Thread Adrian Chadd
[snip] (adrian ran out of coffee at home three days ago.) -adrian ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

svn commit: r314219 - in head/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2017-02-24 Thread Mahdi Mokhtari
Author: mmokhi (ports committer) Date: Fri Feb 24 20:04:02 2017 New Revision: 314219 URL: https://svnweb.freebsd.org/changeset/base/314219 Log: Add linux_preadv() and linux_pwritev() syscalls to Linuxulator. Reviewed by: dchagin Approved by: dchagin, trasz (src committers) MFC after:

svn commit: r314218 - in head/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2017-02-24 Thread Dmitry Chagin
Author: dchagin Date: Fri Feb 24 19:47:27 2017 New Revision: 314218 URL: https://svnweb.freebsd.org/changeset/base/314218 Log: Revert r314217. Commit is not match that I have approved. Modified: head/sys/amd64/linux/linux_dummy.c head/sys/amd64/linux32/linux32_dummy.c

Re: svn commit: r314210 - in stable/11/sys: conf i386/conf i386/i386 i386/include i386/isa i386/linux x86/acpica x86/x86

2017-02-24 Thread John Baldwin
On Friday, February 24, 2017 07:14:05 PM Konstantin Belousov wrote: > On Fri, Feb 24, 2017 at 08:53:27AM -0800, Rodney W. Grimes wrote: > > > Author: kib > > > Date: Fri Feb 24 16:02:01 2017 > > > New Revision: 314210 > > > URL: https://svnweb.freebsd.org/changeset/base/314210 > > > > > > Log: >

svn commit: r314217 - in head/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2017-02-24 Thread Mahdi Mokhtari
Author: mmokhi (ports committer) Date: Fri Feb 24 19:22:17 2017 New Revision: 314217 URL: https://svnweb.freebsd.org/changeset/base/314217 Log: Add linux_preadv() and linux_pwritev() syscalls to Linuxulator. Reviewed by: dchagin Approved by: dchagin, trasz (src committers) MFC after:

Re: svn commit: r314216 - head/sys/x86/x86

2017-02-24 Thread hiren panchasara
On 02/24/17 at 06:56P, Jonathan T. Looney wrote: > Author: jtl > Date: Fri Feb 24 18:56:00 2017 > New Revision: 314216 > URL: https://svnweb.freebsd.org/changeset/base/314216 > > Log: > We have seen several cases recently where we appear to get a double-fault: > We have an original panic.

svn commit: r314224 - in stable/10/sys/dev: hpt27xx hptnr hptrr

2017-02-24 Thread Pedro F. Giffuni
Author: pfg Date: Fri Feb 24 21:22:13 2017 New Revision: 314224 URL: https://svnweb.freebsd.org/changeset/base/314224 Log: MFC r313554: Clean redundant MIN/MAX declarations in some HighPoint drivers. The hpt27xx(4), hptnr(4), and hptrr(4) drivers declare MIN() and MAX() internally

Re: svn commit: r314179 - in head: contrib/netbsd-tests/lib/librt include lib/libc/gen lib/libc/include share/man/man3 sys/kern

2017-02-24 Thread Ngie Cooper (yaneurabeya)
> On Feb 24, 2017, at 6:43 AM, Alexey Dokuchaev wrote: > > On Fri, Feb 24, 2017 at 08:22:21AM -0600, Eric van Gyzen wrote: >> By the way, have you considered adding a Herald rule on Phabricator? >> Phab is not perfect, but a lot of folks use it, and the Herald rules >> are a

Re: svn commit: r314189 - head/lib/libcam

2017-02-24 Thread Ngie Cooper (yaneurabeya)
> On Feb 24, 2017, at 07:36, Ian Lepore wrote: > > On Fri, 2017-02-24 at 06:24 +, Ngie Cooper wrote: >> Author: ngie >> Date: Fri Feb 24 06:24:39 2017 >> New Revision: 314189 >> URL: https://svnweb.freebsd.org/changeset/base/314189 >> >> Log: >> Fix up NULL/'\0' uses

svn commit: r314222 - in stable/11/sys/dev: iwi ral usb/wlan

2017-02-24 Thread Andriy Voskoboinyk
Author: avos Date: Fri Feb 24 21:19:40 2017 New Revision: 314222 URL: https://svnweb.freebsd.org/changeset/base/314222 Log: MFC r313906: iwi, ral, zyd: fix possible use-after-free. Modified: stable/11/sys/dev/iwi/if_iwi.c stable/11/sys/dev/ral/rt2661.c

Re: svn commit: r314189 - head/lib/libcam

2017-02-24 Thread Ngie Cooper (yaneurabeya)
> On Feb 24, 2017, at 13:17, Ian Lepore wrote: … > Alright. That answers everything except the actual important question. > So, again: > > What *real* benefit does this churn bring? The benefits are: clarity in intent in the code and fixing dead (always false or always

svn commit: r314225 - stable/11/sys/fs/ext2fs

2017-02-24 Thread Pedro F. Giffuni
Author: pfg Date: Fri Feb 24 21:35:53 2017 New Revision: 314225 URL: https://svnweb.freebsd.org/changeset/base/314225 Log: MFC r313897: ext2fs: Remove unused assignment. The value is re-assigned a few lines later without being read. Found by: Clang static analyzer Modified:

Re: svn commit: r314189 - head/lib/libcam

2017-02-24 Thread Ian Lepore
On Fri, 2017-02-24 at 13:28 -0800, Ngie Cooper (yaneurabeya) wrote: > > > > On Feb 24, 2017, at 13:17, Ian Lepore wrote: > … > > > > > Alright.  That answers everything except the actual important > > question. > >  So, again: > > > > What *real* benefit does this churn

svn commit: r314220 - stable/11/sbin/camcontrol

2017-02-24 Thread Kenneth D. Merry
Author: ken Date: Fri Feb 24 20:47:56 2017 New Revision: 314220 URL: https://svnweb.freebsd.org/changeset/base/314220 Log: MFC r313893 r313893 | ken | 2017-02-17 13:04:22 -0700 (Fri, 17 Feb 2017) | 48 lines

svn commit: r314221 - stable/10/sbin/camcontrol

2017-02-24 Thread Kenneth D. Merry
Author: ken Date: Fri Feb 24 20:51:39 2017 New Revision: 314221 URL: https://svnweb.freebsd.org/changeset/base/314221 Log: MFC r313893 r313893 | ken | 2017-02-17 13:04:22 -0700 (Fri, 17 Feb 2017) | 48 lines

svn commit: r314223 - in stable/11/sys/dev: hpt27xx hptnr hptrr

2017-02-24 Thread Pedro F. Giffuni
Author: pfg Date: Fri Feb 24 21:20:48 2017 New Revision: 314223 URL: https://svnweb.freebsd.org/changeset/base/314223 Log: MFC r313554: Clean redundant MIN/MAX declarations in some HighPoint drivers. The hpt27xx(4), hptnr(4), and hptrr(4) drivers declare MIN() and MAX() internally

svn commit: r314227 - stable/10/sys/fs/ext2fs

2017-02-24 Thread Pedro F. Giffuni
Author: pfg Date: Fri Feb 24 21:38:41 2017 New Revision: 314227 URL: https://svnweb.freebsd.org/changeset/base/314227 Log: MFC r313897: ext2fs: Remove unused assignment. The value is re-assigned a few lines later without being read. Found by: Clang static analyzer Modified:

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

2017-02-24 Thread Alexander Motin
Author: mav Date: Fri Feb 24 14:48:17 2017 New Revision: 314208 URL: https://svnweb.freebsd.org/changeset/base/314208 Log: Respecting r314204 tighten ATIO cleanup requirements. Every ATIO must complete with either successfully sent status or XPT_ABORT. MFC after:2 weeks Modified:

Re: svn commit: r314207 - head/sys/compat/linuxkpi/common/include/linux

2017-02-24 Thread Mateusz Guzik
On Fri, Feb 24, 2017 at 02:40:15PM +, Hans Petter Selasky wrote: > Author: hselasky > Date: Fri Feb 24 14:40:15 2017 > New Revision: 314207 > URL: https://svnweb.freebsd.org/changeset/base/314207 > > Log: > Implement srcu_dereference() macro in the LinuxKPI. > > MFC after: 1

svn commit: r314247 - head/sys/cam/ctl

2017-02-24 Thread Alexander Motin
Author: mav Date: Sat Feb 25 04:24:51 2017 New Revision: 314247 URL: https://svnweb.freebsd.org/changeset/base/314247 Log: Axe out some forever disabled questionable functionality. This code is complicated enough even in its base shape. MFC after:2 weeks Modified:

svn commit: r314250 - in head/sys: arm/mv arm/nvidia arm/versatile arm/xscale/i8134x arm/xscale/ixp425 dev/acpica dev/hyperv/pcib dev/ofw dev/pci dev/xen/pcifront mips/adm5120 mips/atheros mips/cav...

2017-02-24 Thread Warner Losh
Author: imp Date: Sat Feb 25 06:11:59 2017 New Revision: 314250 URL: https://svnweb.freebsd.org/changeset/base/314250 Log: Convert PCIe Hot Plug to using pci_request_feature Convert PCIe hot plug support over to asking the firmware, if any, for permission to use the HotPlug hardware.

svn commit: r314248 - head/sys/dev/pci

2017-02-24 Thread Warner Losh
Author: imp Date: Sat Feb 25 06:11:36 2017 New Revision: 314248 URL: https://svnweb.freebsd.org/changeset/base/314248 Log: Create pcib_request_feature. pcib_request_feature allows drivers to request the firmware (ACPI) release certain features it may be using. ACPI normally manages

svn commit: r314249 - head/sys/dev/pci

2017-02-24 Thread Warner Losh
Author: imp Date: Sat Feb 25 06:11:50 2017 New Revision: 314249 URL: https://svnweb.freebsd.org/changeset/base/314249 Log: Rename pci_pcie_intr to pci_pcie_intr_hotplug. Sponsored by: Netflix Modified: head/sys/dev/pci/pci_pci.c Modified: head/sys/dev/pci/pci_pci.c

Re: svn commit: r314142 - head/sys/dev/ce

2017-02-24 Thread Gleb Smirnoff
On Thu, Feb 23, 2017 at 06:31:45PM -0700, Warner Losh wrote: W> On Thu, Feb 23, 2017 at 5:28 PM, Gleb Smirnoff wrote: W> > On Thu, Feb 23, 2017 at 03:30:21PM +, Pedro F. Giffuni wrote: W> > P> Author: pfg W> > P> Date: Thu Feb 23 15:30:21 2017 W> > P> New Revision: 314142

Re: svn commit: r278729 - head/sys/sys

2017-02-24 Thread Gleb Smirnoff
On Fri, Feb 17, 2017 at 11:06:21AM -0800, hiren panchasara wrote: h> On 03/19/15 at 11:08P, hiren panchasara wrote: h> > On 03/16/15 at 06:06P, hiren panchasara wrote: h> > > On 03/16/15 at 03:39P, Gleb Smirnoff wrote: h> > > > On Wed, Mar 11, 2015 at 02:36:07PM -0700, hiren panchasara wrote: h> >

Re: svn commit: r314216 - head/sys/x86/x86

2017-02-24 Thread Jonathan Looney
On Fri, Feb 24, 2017 at 3:19 PM, hiren panchasara < hi...@strugglingcoder.info> wrote: > On 02/24/17 at 06:56P, Jonathan T. Looney wrote: > > Author: jtl > > Date: Fri Feb 24 18:56:00 2017 > > New Revision: 314216 > > URL: https://svnweb.freebsd.org/changeset/base/314216 > > > > Log: > > We

svn commit: r314228 - head/sbin/nvmecontrol

2017-02-24 Thread Warner Losh
Author: imp Date: Sat Feb 25 00:09:02 2017 New Revision: 314228 URL: https://svnweb.freebsd.org/changeset/base/314228 Log: Fix typos in output. Sponsored by: Netflix Modified: head/sbin/nvmecontrol/logpage.c Modified: head/sbin/nvmecontrol/logpage.c

svn commit: r314232 - head/usr.sbin/efivar

2017-02-24 Thread Warner Losh
Author: imp Date: Sat Feb 25 00:09:26 2017 New Revision: 314232 URL: https://svnweb.freebsd.org/changeset/base/314232 Log: Exit when we can't print a variable. Exit after printing a message on stderr when we can't get a message. This is slightly different than linux, but keeps shell

svn commit: r314230 - head/sbin/nvmecontrol

2017-02-24 Thread Warner Losh
Author: imp Date: Sat Feb 25 00:09:16 2017 New Revision: 314230 URL: https://svnweb.freebsd.org/changeset/base/314230 Log: Make nvmecontrol logpage -p help list known pages. Make -p help and -v help list all the pages we know about. Add -v to usage. Update the man page. Sponsored

svn commit: r314231 - head/lib/libefivar

2017-02-24 Thread Warner Losh
Author: imp Date: Sat Feb 25 00:09:21 2017 New Revision: 314231 URL: https://svnweb.freebsd.org/changeset/base/314231 Log: Don't convert ENOENT to nothing for individual lookup, just for the iterative get_next interface. This prevents efivar(3) from printing 4k of 0's when a variable isn't

svn commit: r314229 - head/sbin/nvmecontrol

2017-02-24 Thread Warner Losh
Author: imp Date: Sat Feb 25 00:09:12 2017 New Revision: 314229 URL: https://svnweb.freebsd.org/changeset/base/314229 Log: Exit with usage if argv[1] is NULL in dispatch. This fixes core dumps when a command has subcommands, but the user doesn't give the parameters on the command line.

svn commit: r314239 - head/rescue/rescue

2017-02-24 Thread Ngie Cooper
Author: ngie Date: Sat Feb 25 03:11:08 2017 New Revision: 314239 URL: https://svnweb.freebsd.org/changeset/base/314239 Log: Add shutdown/poweroff support to rescue(8) shutdown is a safer way to power off than reboot (in general), because of the added shutdown process that it executes via

Re: svn commit: r314087 - head/sys/x86/x86

2017-02-24 Thread Bruce Evans
On Fri, 24 Feb 2017, Konstantin Belousov wrote: On Thu, Feb 23, 2017 at 06:33:43AM +1100, Bruce Evans wrote: On Wed, 22 Feb 2017, Konstantin Belousov wrote: Log: More fixes for regression in r313898 on i386. Use long long constants where needed. The long long abomination is never needed,

Re: svn commit: r314192 - in head/sys: conf dev/iwm modules/iwm

2017-02-24 Thread Cy Schubert
Cool! Thanks. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. In message , Adrian Chadd

svn commit: r314240 - in head: rescue/rescue tools/build/mk

2017-02-24 Thread Ngie Cooper
Author: ngie Date: Sat Feb 25 03:23:11 2017 New Revision: 314240 URL: https://svnweb.freebsd.org/changeset/base/314240 Log: Conditionally compile certain programs into rescue(8) if requested MK_CCD - ccdconfig MK_ROUTED - routed, rtquery MFC after:2 weeks Sponsored by: Dell

Re: svn commit: r314209 - head/sys/dev/iwm

2017-02-24 Thread Cy Schubert
In message , Adrian Chadd writes: > [snip] > > (adrian ran out of coffee at home three days ago.) I make sure I have lots of the stuff here. I can't survive without my 4-shot Americanos. -- Cheers, Cy Schubert

svn commit: r314241 - head/tools/build/mk

2017-02-24 Thread Ngie Cooper
Author: ngie Date: Sat Feb 25 03:28:49 2017 New Revision: 314241 URL: https://svnweb.freebsd.org/changeset/base/314241 Log: Fill in MK_RESCUE by finding paths in ${DESTDIR}/rescue and adding them to OLD_FILES/OLD_DIRS, as necessary. MFC after:1 month Sponsored by: Dell EMC Isilon

svn commit: r314242 - head/tools/build/mk

2017-02-24 Thread Ngie Cooper
Author: ngie Date: Sat Feb 25 03:33:09 2017 New Revision: 314242 URL: https://svnweb.freebsd.org/changeset/base/314242 Log: Remove MK_CRYPT stub It doesn't directly control what gets installed today; it indirectly pulls other knobs (like MK_KERBEROS, etc). MFC after:1 weeks

svn commit: r314243 - in vendor-sys/illumos/dist/uts/common/fs/zfs: . sys

2017-02-24 Thread Josh Paetzel
Author: jpaetzel Date: Sat Feb 25 03:34:22 2017 New Revision: 314243 URL: https://svnweb.freebsd.org/changeset/base/314243 Log: 6676 Race between unique_insert() and unique_remove() causes ZFS fsid change illumos/illumos-gate@40510e8eba18690b9a9843b26393725eeb0f1dac

svn commit: r314244 - head/tools/build/mk

2017-02-24 Thread Ngie Cooper
Author: ngie Date: Sat Feb 25 03:35:26 2017 New Revision: 314244 URL: https://svnweb.freebsd.org/changeset/base/314244 Log: Remove MK_OBJC block It is no longer represented via src.conf(5) MFC after:3 days Sponsored by: Dell EMC Isilon Modified:

svn commit: r314245 - head/tools/build/mk

2017-02-24 Thread Ngie Cooper
Author: ngie Date: Sat Feb 25 03:44:51 2017 New Revision: 314245 URL: https://svnweb.freebsd.org/changeset/base/314245 Log: Fill MK_LIBTHR as far as lib/libthr is concerned There are other areas of the tree that will need to be evaluated for sanity if they're supposed to be conditionally

svn commit: r314246 - head/sys/cam/ctl

2017-02-24 Thread Alexander Motin
Author: mav Date: Sat Feb 25 04:04:11 2017 New Revision: 314246 URL: https://svnweb.freebsd.org/changeset/base/314246 Log: Improve CAM target frontend reference counting. Before this change it was possible to trigger some use-after-free panics by disabling LUNs/ports under heavy load.

Re: svn commit: r314189 - head/lib/libcam

2017-02-24 Thread Ian Lepore
On Fri, 2017-02-24 at 13:02 -0800, Ngie Cooper (yaneurabeya) wrote: > > > > On Feb 24, 2017, at 07:36, Ian Lepore wrote: > > > > On Fri, 2017-02-24 at 06:24 +, Ngie Cooper wrote: > > > > > > Author: ngie > > > Date: Fri Feb 24 06:24:39 2017 > > > New Revision: 314189 > >

svn commit: r314226 - head/usr.sbin/syslogd

2017-02-24 Thread Ngie Cooper
Author: ngie Date: Fri Feb 24 21:35:59 2017 New Revision: 314226 URL: https://svnweb.freebsd.org/changeset/base/314226 Log: Use SRCTOP instead of .CURDIR relative paths with ".." This simplifies pathing in make/displayed output MFC after:1 week Sponsored by: Dell EMC Isilon

svn commit: r314233 - head/usr.sbin/syslogd

2017-02-24 Thread Ngie Cooper
Author: ngie Date: Sat Feb 25 00:12:29 2017 New Revision: 314233 URL: https://svnweb.freebsd.org/changeset/base/314233 Log: Parameterize out the length of struct filed->f_lasttime as `MAXDATELEN` This removes the hardcoded value for the field (16) and the equivalent hardcoded lengths in