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), bec

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,

Re: svn commit: r313268 - head/sys/kern [through -r313271 for atomic_fcmpset use and later: fails on PowerMac G5 "Quad Core"; -r313266 works]

2017-02-24 Thread Mark Millard
On 2017-Feb-24, at 8:25 PM, Mark Millard wrote: > On 2017-Feb-24, at 4:23 PM, Mateusz Guzik wrote: >> >> On Tue, Feb 21, 2017 at 01:37:25AM -0800, Mark Millard wrote: >>> [Back to the powerpc64 context.] >>> >>> On 2017-Feb-20, at 11:10 AM, Mateusz Guzik wrote: >>> On Sat, Feb 18, 2017

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: 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 W> > P> URL: https://

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. Impl

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 =

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 things

Re: svn commit: r313268 - head/sys/kern [through -r313271 for atomic_fcmpset use and later: fails on PowerMac G5 "Quad Core"; -r313266 works]

2017-02-24 Thread Mark Millard
On 2017-Feb-24, at 4:23 PM, Mateusz Guzik wrote: > > On Tue, Feb 21, 2017 at 01:37:25AM -0800, Mark Millard wrote: >> [Back to the powerpc64 context.] >> >> On 2017-Feb-20, at 11:10 AM, Mateusz Guzik wrote: >> >>> On Sat, Feb 18, 2017 at 04:18:05AM -0800, Mark Millard wrote: [Note: I expe

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: head/sys/cam/c

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.

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: 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: head/tools/build/mk/OptionalObs

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 Spo

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 M

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 EMC

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 FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outw

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 writes: > Fixed! > > > -a > > > On 24 February 2017 at 06:10, Cy Schubert wrote: > > In message <201702240707.v1o77

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,

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: 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(r314

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 t

Re: svn commit: r313268 - head/sys/kern [through -r313271 for atomic_fcmpset use and later: fails on PowerMac G5 "Quad Core"; -r313266 works]

2017-02-24 Thread Mateusz Guzik
On Tue, Feb 21, 2017 at 01:37:25AM -0800, Mark Millard wrote: > [Back to the powerpc64 context.] > > On 2017-Feb-20, at 11:10 AM, Mateusz Guzik wrote: > > > On Sat, Feb 18, 2017 at 04:18:05AM -0800, Mark Millard wrote: > >> [Note: I experiment with clang based powerpc64 builds, > >> reporting pr

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 l

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: 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 b

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 scr

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: 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 s

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 have

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 bring? > The benefits a

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 Modi

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 true) branches. The

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 > > > URL: https://svnw

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 and fix 2 derefs afte

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 very effective way t

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. Then

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:

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-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd

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 head/sys/amd64/linux

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: 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-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

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 ha

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: head/sys/compat/linuxkpi/c

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

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 func

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: 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 do

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: https://svnweb.freebsd.org/changeset/base/314192 >> >> Log: >> [i

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:C

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. M

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: head/sys/dev/

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 we

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: 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 t

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: head/sys/compat/linuxkp

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 declara

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

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: head/sys/compat/linuxkpi/common/

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

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. >

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 never

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: head/sy

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: 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: 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 ==

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: 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 - backw