svn commit: r322909 - in stable/11/sys: fs/nfs fs/nfsclient nfs sys

2017-08-25 Thread Rick Macklem
Author: rmacklem Date: Fri Aug 25 22:52:40 2017 New Revision: 322909 URL: https://svnweb.freebsd.org/changeset/base/322909 Log: MFC: r321688 Add kernel support for the NFS client forced dismount "umount -N" option. When an NFS mount is hung against an unresponsive NFS server, the "umount

svn commit: r322910 - stable/11/sbin/umount

2017-08-25 Thread Rick Macklem
Author: rmacklem Date: Fri Aug 25 22:58:54 2017 New Revision: 322910 URL: https://svnweb.freebsd.org/changeset/base/322910 Log: MFC: r321689 Add a new "-N" option to umount(8), that does a forced dismount of an NFS mount point. The new "-N" option does a forced dismount of an NFS

svn commit: r322912 - head/sys/kern

2017-08-25 Thread John Baldwin
Author: jhb Date: Fri Aug 25 23:10:27 2017 New Revision: 322912 URL: https://svnweb.freebsd.org/changeset/base/322912 Log: Don't grab SOCK_LOCK for soref() when queuing an AIO request. The AIO job holds a reference on the associated file descriptor, so the socket's count should already

svn commit: r322902 - head/sys/dev/nvme

2017-08-25 Thread Warner Losh
Author: imp Date: Fri Aug 25 21:38:38 2017 New Revision: 322902 URL: https://svnweb.freebsd.org/changeset/base/322902 Log: NVME Namespace ID is 32-bits, so widen interface to reflect that. Sponsored by: Netflix Modified: head/sys/dev/nvme/nvme_ctrlr.c

svn commit: r322901 - head/sys/dev/nvme

2017-08-25 Thread Warner Losh
Author: imp Date: Fri Aug 25 21:38:29 2017 New Revision: 322901 URL: https://svnweb.freebsd.org/changeset/base/322901 Log: Add feature codes from NVMe 1.3 specification: o Automomous Power State Transition o Host Memory Buffer o Timestamp o Keep Alive Timer o Host Controlled

svn commit: r322903 - head/sys/dev/nvme

2017-08-25 Thread Warner Losh
Author: imp Date: Fri Aug 25 21:38:43 2017 New Revision: 322903 URL: https://svnweb.freebsd.org/changeset/base/322903 Log: Fill in reserved areas from NVMe spec in the IDENTIFY structure (struct nvme_controller_data) as defined in the NVM Express specification, revsion 1.3. Sponsored

Re: svn commit: r322893 - head/bin/dd

2017-08-25 Thread Bruce Evans
On Fri, 25 Aug 2017, Alan Somers wrote: Log: dd(1): Incorrect casting of arguments It is indeed now incorrect. dd(1) casts many of its numeric arguments from uintmax_t to intmax_t and back again to detect whether or not the original arguments were negative. This is not correct, and

Re: svn commit: r322893 - head/bin/dd

2017-08-25 Thread Bruce Evans
On Fri, 25 Aug 2017, Conrad Meyer wrote: Well, not negative, just large uint64_t numbers that would be negative as off_t (int64_t). E.g., dd if=/dev/kmem bs=1 iseek=0xf...foo count=8. I think we would like that to work. I don't recall whether it does or not before this change. This is

svn commit: r322919 - in stable/11/usr.sbin/pw: . tests

2017-08-25 Thread Ed Maste
Author: emaste Date: Sat Aug 26 00:35:49 2017 New Revision: 322919 URL: https://svnweb.freebsd.org/changeset/base/322919 Log: MFC r322677: pw usermod: Properly deal with empty secondary group lists (-G '') PR: 221417 Relnotes: Yes Modified:

Re: svn commit: r306512 - in head/sys: kern sys

2017-08-25 Thread Konstantin Belousov
On Fri, Aug 25, 2017 at 02:29:28PM -0700, Bryan Drewery wrote: > https://people.freebsd.org/~bdrewery/patches/vdrop-global-list.diff I do not object against his handling. There is really very small amount of code shared between mp != NULL and mp == NULL cases, you may consider making them use

svn commit: r322907 - in stable/11/sys/fs: nfs nfsclient

2017-08-25 Thread Rick Macklem
Author: rmacklem Date: Fri Aug 25 22:39:49 2017 New Revision: 322907 URL: https://svnweb.freebsd.org/changeset/base/322907 Log: MFC: r321628 Replace the checks for MNTK_UNMOUNTF with a macro that does the same thing. This patch defines a macro that checks for MNTK_UNMOUNTF and replaces

svn commit: r322906 - head/sys/dev/e1000

2017-08-25 Thread Sean Bruno
Author: sbruno Date: Fri Aug 25 22:38:55 2017 New Revision: 322906 URL: https://svnweb.freebsd.org/changeset/base/322906 Log: Add a different #define for the maximum number of transmit and recieve descriptors for the igb(4) class of devices. This will allow a better definition for maximum

svn commit: r322908 - stable/11/sys/fs/nfsclient

2017-08-25 Thread Rick Macklem
Author: rmacklem Date: Fri Aug 25 22:44:55 2017 New Revision: 322908 URL: https://svnweb.freebsd.org/changeset/base/322908 Log: MFC: r321675 Fix possible crash for the NFSv4.1 pNFS client. If the nfsrpc_createlayoutrpc() call in nfsrpc_getcreatelayout() fails, the code used nfhpp when

svn commit: r322917 - stable/11/share/man/man4

2017-08-25 Thread Ed Maste
Author: emaste Date: Sat Aug 26 00:30:13 2017 New Revision: 322917 URL: https://svnweb.freebsd.org/changeset/base/322917 Log: MFC r322680: sa.4: fix spelling of 'suppresses' PR: 221302 Modified: stable/11/share/man/man4/sa.4 Directory Properties: stable/11/ (props changed)

svn commit: r322918 - stable/11/share/man/man4

2017-08-25 Thread Ed Maste
Author: emaste Date: Sat Aug 26 00:30:59 2017 New Revision: 322918 URL: https://svnweb.freebsd.org/changeset/base/322918 Log: MFC r322683: ena.4: fix spelling of 'occurred' PR: 331298 Modified: stable/11/share/man/man4/ena.4 Directory Properties: stable/11/ (props changed)

Re: svn commit: r322893 - head/bin/dd

2017-08-25 Thread Bruce Evans
On Fri, 25 Aug 2017, Matt Joras wrote: On 08/25/2017 10:17, Conrad Meyer wrote: This change seems to break buildworld on MIPS: /home/cem/head.svn/bin/dd/args.c: In function 'f_bs': /home/cem/head.svn/bin/dd/args.c:188: warning: format '%zd' expects type 'signed size_t', but argument 3 has

svn commit: r322916 - stable/11/sys/modules

2017-08-25 Thread Ed Maste
Author: emaste Date: Sat Aug 26 00:29:07 2017 New Revision: 322916 URL: https://svnweb.freebsd.org/changeset/base/322916 Log: sys/modules: don't build bxe,qlxgbe if the user objects to sourceless ucode MFC of r322682 and r322684 Sponsored by: The FreeBSD Foundation Modified:

svn commit: r322900 - in head: . sys/netinet sys/sys usr.bin/netstat

2017-08-25 Thread Sean Bruno
: ** SPECIAL WARNING: ** +20170825: + Move PMTUD blackhole counters to TCPSTATS and remove them from bare + sysctl values. Minor nit, but requires a rebuild of both world/kernel + to complete. + 20170814: "

svn commit: r322913 - head/sys/vm

2017-08-25 Thread Konstantin Belousov
Author: kib Date: Fri Aug 25 23:13:21 2017 New Revision: 322913 URL: https://svnweb.freebsd.org/changeset/base/322913 Log: Replace global swhash in swap pager with per-object trie to track swap blocks assigned to the object pages. - The global swhash_mtx is removed, trie is synchronized

svn commit: r322914 - head/sys/dev/cxgbe/common

2017-08-25 Thread Navdeep Parhar
Author: np Date: Fri Aug 25 23:31:15 2017 New Revision: 322914 URL: https://svnweb.freebsd.org/changeset/base/322914 Log: cxgbe(4): Dump the mailbox contents in the same format as CH_DUMP_MBOX. MFC after:3 days Sponsored by: Chelsio Communications Modified:

Re: svn commit: r322900 - in head: . sys/netinet sys/sys usr.bin/netstat

2017-08-25 Thread Gleb Smirnoff
Sean, On Fri, Aug 25, 2017 at 07:41:38PM +, Sean Bruno wrote: S> Modified: head/sys/netinet/tcp_var.h S> == S> --- head/sys/netinet/tcp_var.h Fri Aug 25 19:06:36 2017 (r322899) S> +++

Re: svn commit: r322893 - head/bin/dd

2017-08-25 Thread Conrad Meyer
On Fri, Aug 25, 2017 at 3:49 PM, Bruce Evans wrote: > get_off_t() but not the higher level is fixed in my version. Would you mind incorporating your version of dd into FreeBSD, or publishing it so someone else can? Thanks, Conrad

svn commit: r322915 - head/contrib/compiler-rt/lib/builtins

2017-08-25 Thread John Baldwin
Author: jhb Date: Sat Aug 26 00:17:57 2017 New Revision: 322915 URL: https://svnweb.freebsd.org/changeset/base/322915 Log: Extend the workaround for LLVM bug 11663 to MIPS N32. This fixes infinite recursion in /sbin/init for MIPS N32. Submitted by: Robert M. Kovacsics

svn commit: r322879 - stable/11/usr.sbin/acpi/acpidump

2017-08-25 Thread Jung-uk Kim
Author: jkim Date: Fri Aug 25 07:42:48 2017 New Revision: 322879 URL: https://svnweb.freebsd.org/changeset/base/322879 Log: MFC: r321601 (emaste) acpidump: add GIC ITS srat type Modified: stable/11/usr.sbin/acpi/acpidump/acpi.c Directory Properties: stable/11/ (props changed)

Re: svn commit: r322863 - head/sys/cam

2017-08-25 Thread Fabian Keil
Warner Losh wrote: > Author: imp > Date: Thu Aug 24 22:11:10 2017 > New Revision: 322863 > URL: https://svnweb.freebsd.org/changeset/base/322863 > > Log: > Expand the latency tracking array from 1.024s to 8.192s to help track > extreme outliers from dodgy drives. Adjust

svn commit: r322881 - head/usr.bin/calendar/calendars

2017-08-25 Thread Steven Hartland
Author: smh Date: Fri Aug 25 08:21:02 2017 New Revision: 322881 URL: https://svnweb.freebsd.org/changeset/base/322881 Log: Add myself (smh) to calendar.freebsd Sponsored by: Multiplay Modified: head/usr.bin/calendar/calendars/calendar.freebsd Modified:

svn commit: r322883 - head/sys/ufs/ffs

2017-08-25 Thread Konstantin Belousov
Author: kib Date: Fri Aug 25 09:51:22 2017 New Revision: 322883 URL: https://svnweb.freebsd.org/changeset/base/322883 Log: Protect v_rdev dereference with the vnode interlock instead of the vnode lock. Caller of softdep_count_dependencies() may own a buffer lock, which might conflict

Re: svn commit: r306512 - in head/sys: kern sys

2017-08-25 Thread Konstantin Belousov
On Thu, Aug 24, 2017 at 08:18:03PM -0700, Bryan Drewery wrote: > On 9/30/2016 10:27 AM, Mateusz Guzik wrote: > > Author: mjg > > Date: Fri Sep 30 17:27:17 2016 > > New Revision: 306512 > > URL: https://svnweb.freebsd.org/changeset/base/306512 > > > > Log: > > vfs: batch free vnodes in per-mnt

svn commit: r322884 - head/sys/dev/syscons

2017-08-25 Thread Bruce Evans
Author: bde Date: Fri Aug 25 10:57:17 2017 New Revision: 322884 URL: https://svnweb.freebsd.org/changeset/base/322884 Log: Fix bugs in (mostly) not-yet-activated parts of early/emergency output: - map the hard-coded frame buffer address above KERNBASE. Using the physical address only

svn commit: r322885 - in head: sys/compat/cloudabi sys/compat/cloudabi32 sys/compat/cloudabi64 sys/contrib/cloudabi usr.bin/truss

2017-08-25 Thread Ed Schouten
Author: ed Date: Fri Aug 25 11:01:39 2017 New Revision: 322885 URL: https://svnweb.freebsd.org/changeset/base/322885 Log: Sync CloudABI compatibility against the latest upstream version (v0.13). With Flower (CloudABI's network connection daemon) becoming more complete, there is no longer

Re: svn commit: r306512 - in head/sys: kern sys

2017-08-25 Thread Bryan Drewery
On 8/25/2017 3:35 AM, Konstantin Belousov wrote: > On Thu, Aug 24, 2017 at 08:18:03PM -0700, Bryan Drewery wrote: >> On 9/30/2016 10:27 AM, Mateusz Guzik wrote: >>> Author: mjg >>> Date: Fri Sep 30 17:27:17 2016 >>> New Revision: 306512 >>> URL: https://svnweb.freebsd.org/changeset/base/306512 >>>

Re: svn commit: r306512 - in head/sys: kern sys

2017-08-25 Thread Bryan Drewery
On 8/25/2017 3:37 PM, Konstantin Belousov wrote: > On Fri, Aug 25, 2017 at 02:29:28PM -0700, Bryan Drewery wrote: >> https://people.freebsd.org/~bdrewery/patches/vdrop-global-list.diff > I do not object against his handling. > > There is really very small amount of code shared between mp != NULL

svn commit: r322920 - head/sys/mips/include

2017-08-25 Thread Conrad Meyer
Author: cem Date: Sat Aug 26 03:21:12 2017 New Revision: 322920 URL: https://svnweb.freebsd.org/changeset/base/322920 Log: Fix limits.h constants to have correct type on MIPS Use correctly typed constants to avoid bogus errors like

Re: svn commit: r322258 - head/sys/kern

2017-08-25 Thread Bruce Evans
On Thu, 24 Aug 2017, Alan Somers wrote: On Wed, Aug 9, 2017 at 1:05 AM, Bruce Evans wrote: On Tue, 8 Aug 2017, Alan Somers wrote: ... The compile-time definition of AIO_LISTIO_MAX seems to be broken. I think POSIX species that AIO_LISTIO_MAX shall not be defined if the

Re: svn commit: r322893 - head/bin/dd

2017-08-25 Thread Bruce Evans
On Fri, 25 Aug 2017, Conrad Meyer wrote: On Fri, Aug 25, 2017 at 3:49 PM, Bruce Evans wrote: get_off_t() but not the higher level is fixed in my version. Would you mind incorporating your version of dd into FreeBSD, or publishing it so someone else can? I guess it is

svn commit: r322887 - in stable/11: contrib/netbsd-tests/lib/libc/gen lib/libc/tests/gen

2017-08-25 Thread Alan Somers
Author: asomers Date: Fri Aug 25 12:16:03 2017 New Revision: 322887 URL: https://svnweb.freebsd.org/changeset/base/322887 Log: MFC r320737, r320914 r320737: Fix cleanup in lib/libc/gen/setdomainname_test ATF cleanup routines run in separate processes from the tests themselves, so

svn commit: r322888 - head/usr.bin/calendar/calendars

2017-08-25 Thread Ed Schouten
Author: ed Date: Fri Aug 25 12:28:34 2017 New Revision: 322888 URL: https://svnweb.freebsd.org/changeset/base/322888 Log: Make entries for the United States more consistent. MFC after:1 week Modified: head/usr.bin/calendar/calendars/calendar.freebsd Modified:

svn commit: r322886 - head/usr.bin/calendar/calendars

2017-08-25 Thread Andrey V. Elsukov
Author: ae Date: Fri Aug 25 11:24:45 2017 New Revision: 322886 URL: https://svnweb.freebsd.org/changeset/base/322886 Log: Add melifaro@ to the calendar.freebsd Submitted by: melifaro Modified: head/usr.bin/calendar/calendars/calendar.freebsd Modified:

svn commit: r322882 - stable/11/usr.sbin/ypldap

2017-08-25 Thread Marcelo Araujo
Author: araujo Date: Fri Aug 25 08:24:29 2017 New Revision: 322882 URL: https://svnweb.freebsd.org/changeset/base/322882 Log: MFC r321846: Log when we have finished pushing users and groups. Obtained from:OpenBSD (rev 1.4) Modified: stable/11/usr.sbin/ypldap/entries.c

svn commit: r322878 - in head: sys/dev/syscons sys/sys usr.sbin/vidcontrol

2017-08-25 Thread Bruce Evans
Author: bde Date: Fri Aug 25 07:04:41 2017 New Revision: 322878 URL: https://svnweb.freebsd.org/changeset/base/322878 Log: Support setting the colors of cursors for the VGA renderer. Advertise this by changing the defaults to mostly red. If you don't like this, change them (almost) back

svn commit: r322891 - stable/11/tests/sys/aio

2017-08-25 Thread Alan Somers
Author: asomers Date: Fri Aug 25 14:37:23 2017 New Revision: 322891 URL: https://svnweb.freebsd.org/changeset/base/322891 Log: MFC r321082: Add regression tests for bugs 220459 and 220398 Bug 220398 - lio_listio(2) never sends asynchronous notification if nent==0 Bug 220459 -

Re: svn commit: r322872 - head/sys/dev/nvme

2017-08-25 Thread Conrad Meyer
Yes, it should be 221616 ( https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221616 ). Best, Conrad On Thu, Aug 24, 2017 at 11:38 PM, Andriy Gapon wrote: > On 25/08/2017 06:15, Warner Losh wrote: >> Author: imp >> Date: Fri Aug 25 03:15:18 2017 >> New Revision: 322872 >> URL:

svn commit: r322889 - in stable/11: share/man/man4 usr.bin/stdbuf

2017-08-25 Thread Alan Somers
Author: asomers Date: Fri Aug 25 14:28:36 2017 New Revision: 322889 URL: https://svnweb.freebsd.org/changeset/base/322889 Log: MFC r320807: stdbuf(1): Add buffer definition "B" to the usage message This option has been missing from the usage message ever since the program was first

svn commit: r322892 - in stable/11: lib/librt tests/sys/aio

2017-08-25 Thread Alan Somers
Author: asomers Date: Fri Aug 25 14:42:11 2017 New Revision: 322892 URL: https://svnweb.freebsd.org/changeset/base/322892 Log: MFC r321332: Implement SIGEV_THREAD notifications for lio_listio(2) Our man pages have always indicated that this was supported, but in fact the feature was

Re: svn commit: r322863 - head/sys/cam

2017-08-25 Thread Slawa Olhovchenkov
On Thu, Aug 24, 2017 at 10:11:10PM +, Warner Losh wrote: > Author: imp > Date: Thu Aug 24 22:11:10 2017 > New Revision: 322863 > URL: https://svnweb.freebsd.org/changeset/base/322863 > > Log: > Expand the latency tracking array from 1.024s to 8.192s to help track > extreme outliers from

svn commit: r322890 - stable/11/tests/sys/aio

2017-08-25 Thread Alan Somers
Author: asomers Date: Fri Aug 25 14:32:03 2017 New Revision: 322890 URL: https://svnweb.freebsd.org/changeset/base/322890 Log: MFC r320974-r320975, r321001, r321206 r320974: Use ATF cleanup routines in aio_test.c Remove aio_test's legacy timeout handling and cleanup routines.

Re: svn commit: r322824 - in head: lib/clang share/mk usr.bin/clang

2017-08-25 Thread John Baldwin
On Wednesday, August 23, 2017 11:30:25 PM John Baldwin wrote: > Author: jhb > Date: Wed Aug 23 23:30:25 2017 > New Revision: 322824 > URL: https://svnweb.freebsd.org/changeset/base/322824 > > Log: > Improve the coverage of debug symbols for MK_DEBUG_FILES. > > - Include debug symbols in

Re: svn commit: r322863 - head/sys/cam

2017-08-25 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > On Fri, Aug 25, 2017 at 7:35 AM, Slawa Olhovchenkov wrote: > > > On Thu, Aug 24, 2017 at 10:11:10PM +, Warner Losh wrote: > > > > > Author: imp > > > Date: Thu Aug 24 22:11:10 2017 > > > New Revision: 322863 > > > URL:

Re: svn commit: r322893 - head/bin/dd

2017-08-25 Thread Matt Joras
On 08/25/2017 10:17, Conrad Meyer wrote: > This change seems to break buildworld on MIPS: > > /home/cem/head.svn/bin/dd/args.c: In function 'f_bs': > /home/cem/head.svn/bin/dd/args.c:188: warning: format '%zd' expects > type 'signed size_t', but argument 3 has type 'long int' >

Re: svn commit: r322824 - in head: lib/clang share/mk usr.bin/clang

2017-08-25 Thread Ryan Libby
On Wed, Aug 23, 2017 at 4:30 PM, John Baldwin wrote: > Author: jhb > Date: Wed Aug 23 23:30:25 2017 > New Revision: 322824 > URL: https://svnweb.freebsd.org/changeset/base/322824 > > Log: > Improve the coverage of debug symbols for MK_DEBUG_FILES. > > - Include debug symbols

Re: svn commit: r322893 - head/bin/dd

2017-08-25 Thread Warner Losh
On Fri, Aug 25, 2017 at 12:02 PM, Matt Joras wrote: > On 08/25/2017 10:17, Conrad Meyer wrote: > > This change seems to break buildworld on MIPS: > > > > /home/cem/head.svn/bin/dd/args.c: In function 'f_bs': > > /home/cem/head.svn/bin/dd/args.c:188: warning: format '%zd'

Re: svn commit: r322863 - head/sys/cam

2017-08-25 Thread Warner Losh
On Fri, Aug 25, 2017 at 11:59 AM, Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > [ Charset UTF-8 unsupported, converting... ] > > On Fri, Aug 25, 2017 at 7:35 AM, Slawa Olhovchenkov > wrote: > > > > > On Thu, Aug 24, 2017 at 10:11:10PM +, Warner Losh wrote: > >

Re: svn commit: r322824 - in head: lib/clang share/mk usr.bin/clang

2017-08-25 Thread Ed Maste
On 25 August 2017 at 14:07, Ryan Libby wrote: > On Wed, Aug 23, 2017 at 4:30 PM, John Baldwin wrote: >> Author: jhb >> Date: Wed Aug 23 23:30:25 2017 >> New Revision: 322824 >> URL: https://svnweb.freebsd.org/changeset/base/322824 >> >> Log: >> Improve the

Re: svn commit: r322824 - in head: lib/clang share/mk usr.bin/clang

2017-08-25 Thread Warner Losh
On Fri, Aug 25, 2017 at 12:27 PM, Ed Maste wrote: > On 25 August 2017 at 14:07, Ryan Libby wrote: > > On Wed, Aug 23, 2017 at 4:30 PM, John Baldwin wrote: > >> Author: jhb > >> Date: Wed Aug 23 23:30:25 2017 > >> New Revision: 322824 > >>

svn commit: r322894 - head/usr.sbin/makefs

2017-08-25 Thread Benno Rice
Author: benno Date: Fri Aug 25 16:10:16 2017 New Revision: 322894 URL: https://svnweb.freebsd.org/changeset/base/322894 Log: Replace makefs' hand-rolled unescaping with strunvis mtree path names and link attributes are encoded, generally using strvis. Newer versions of mtree will use

svn commit: r322893 - head/bin/dd

2017-08-25 Thread Alan Somers
Author: asomers Date: Fri Aug 25 15:31:55 2017 New Revision: 322893 URL: https://svnweb.freebsd.org/changeset/base/322893 Log: dd(1): Incorrect casting of arguments dd(1) casts many of its numeric arguments from uintmax_t to intmax_t and back again to detect whether or not the original

Re: svn commit: r322872 - head/sys/dev/nvme

2017-08-25 Thread Warner Losh
On Fri, Aug 25, 2017 at 8:37 AM, Conrad Meyer wrote: > Yes, it should be 221616 ( > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221616 ). > It was a transcription error. I'd already added the commit message to 221616. I'll close it when I MFC it. Warner > Best, >

Re: svn commit: r322863 - head/sys/cam

2017-08-25 Thread Slawa Olhovchenkov
On Fri, Aug 25, 2017 at 09:33:35AM -0600, Warner Losh wrote: > On Fri, Aug 25, 2017 at 7:35 AM, Slawa Olhovchenkov wrote: > > > On Thu, Aug 24, 2017 at 10:11:10PM +, Warner Losh wrote: > > > > > Author: imp > > > Date: Thu Aug 24 22:11:10 2017 > > > New Revision: 322863 > >

Re: svn commit: r322863 - head/sys/cam

2017-08-25 Thread Warner Losh
On Fri, Aug 25, 2017 at 7:35 AM, Slawa Olhovchenkov wrote: > On Thu, Aug 24, 2017 at 10:11:10PM +, Warner Losh wrote: > > > Author: imp > > Date: Thu Aug 24 22:11:10 2017 > > New Revision: 322863 > > URL: https://svnweb.freebsd.org/changeset/base/322863 > > > > Log: > >

Re: svn commit: r322863 - head/sys/cam

2017-08-25 Thread Warner Losh
On Fri, Aug 25, 2017 at 9:46 AM, Slawa Olhovchenkov wrote: > On Fri, Aug 25, 2017 at 09:33:35AM -0600, Warner Losh wrote: > > > On Fri, Aug 25, 2017 at 7:35 AM, Slawa Olhovchenkov > wrote: > > > > > On Thu, Aug 24, 2017 at 10:11:10PM +, Warner Losh wrote: >

Re: svn commit: r322872 - head/sys/dev/nvme

2017-08-25 Thread Andriy Gapon
On 25/08/2017 06:15, Warner Losh wrote: > Author: imp > Date: Fri Aug 25 03:15:18 2017 > New Revision: 322872 > URL: https://svnweb.freebsd.org/changeset/base/322872 > > Log: > Enable bus mastering on the device before resetting the device. The > card has to do PCIe transactions to complete

svn commit: r322880 - stable/11/usr.sbin/acpi/acpiconf

2017-08-25 Thread Jung-uk Kim
Author: jkim Date: Fri Aug 25 07:49:51 2017 New Revision: 322880 URL: https://svnweb.freebsd.org/changeset/base/322880 Log: MFC: r316627 (kan) Use int to receive the return value of getopt function. Modified: stable/11/usr.sbin/acpi/acpiconf/acpiconf.c Directory Properties:

Re: svn commit: r322893 - head/bin/dd

2017-08-25 Thread Alan Somers
Nope. Do you mean negative offsets for the iseek argument? I didn't know you could do that. On Fri, Aug 25, 2017 at 10:59 AM, Conrad Meyer wrote: > Hi Alan, > > By any chance did you test this change with /dev/kmem and kernel > addresses ("negative" off_t values)? > > Thanks,

Re: svn commit: r322893 - head/bin/dd

2017-08-25 Thread Conrad Meyer
This change seems to break buildworld on MIPS: /home/cem/head.svn/bin/dd/args.c: In function 'f_bs': /home/cem/head.svn/bin/dd/args.c:188: warning: format '%zd' expects type 'signed size_t', but argument 3 has type 'long int' /home/cem/head.svn/bin/dd/args.c: In function 'f_cbs':

Re: svn commit: r322893 - head/bin/dd

2017-08-25 Thread Conrad Meyer
Well, not negative, just large uint64_t numbers that would be negative as off_t (int64_t). E.g., dd if=/dev/kmem bs=1 iseek=0xf...foo count=8. I think we would like that to work. I don't recall whether it does or not before this change. Best, Conrad On Fri, Aug 25, 2017 at 10:08 AM, Alan

svn commit: r322896 - in head/sys/boot: efi/loader efi/loader/arch/amd64 efi/loader/arch/i386 i386/libi386

2017-08-25 Thread Maxim Sobolev
Author: sobomax Date: Fri Aug 25 17:29:48 2017 New Revision: 322896 URL: https://svnweb.freebsd.org/changeset/base/322896 Log: Make spinconsole platform independent and hook it up into EFI loader on i386 and amd64. Not enabled on ARMs, those are lacking timer routines. MFC after:2

svn commit: r322895 - in head/lib/libc: gen tests/gen

2017-08-25 Thread Conrad Meyer
Author: cem Date: Fri Aug 25 16:38:21 2017 New Revision: 322895 URL: https://svnweb.freebsd.org/changeset/base/322895 Log: getmntinfo(3): Scale faster, and return sooner getmntinfo(3) is designed around a relatively static or slow growing set of current mounts. It tried to detect a race

Re: svn commit: r322893 - head/bin/dd

2017-08-25 Thread Conrad Meyer
Hi Alan, By any chance did you test this change with /dev/kmem and kernel addresses ("negative" off_t values)? Thanks, Conrad On Fri, Aug 25, 2017 at 8:31 AM, Alan Somers wrote: > Author: asomers > Date: Fri Aug 25 15:31:55 2017 > New Revision: 322893 > URL:

svn commit: r322897 - head/sys/kern

2017-08-25 Thread Alan Cox
Author: alc Date: Fri Aug 25 18:47:23 2017 New Revision: 322897 URL: https://svnweb.freebsd.org/changeset/base/322897 Log: Correct a regression in the previous change, r322459. Specifically, the removal of the "blk" parameter from blst_meta_alloc() had the unintended effect of generating

svn commit: r322898 - head/bin/dd

2017-08-25 Thread Alan Somers
Author: asomers Date: Fri Aug 25 18:51:10 2017 New Revision: 322898 URL: https://svnweb.freebsd.org/changeset/base/322898 Log: Pacify GCC on mips32 after r322893 Though technically correct, GCC complains about usingi a "%zd" format specifier for a long. Reported by: cem MFC

Re: svn commit: r322893 - head/bin/dd

2017-08-25 Thread Alan Somers
That doesn't work either before or after this change. -Alan On Fri, Aug 25, 2017 at 11:20 AM, Conrad Meyer wrote: > Well, not negative, just large uint64_t numbers that would be negative > as off_t (int64_t). > > E.g., dd if=/dev/kmem bs=1 iseek=0xf...foo count=8. I think

Re: svn commit: r322824 - in head: lib/clang share/mk usr.bin/clang

2017-08-25 Thread Dimitry Andric
On 25 Aug 2017, at 20:07, Ryan Libby wrote: > > On Wed, Aug 23, 2017 at 4:30 PM, John Baldwin wrote: >> Author: jhb >> Date: Wed Aug 23 23:30:25 2017 >> New Revision: 322824 >> URL: https://svnweb.freebsd.org/changeset/base/322824 >> >> Log: >> Improve the

Re: svn commit: r322893 - head/bin/dd

2017-08-25 Thread Ian Lepore
On Fri, 2017-08-25 at 12:09 -0600, Warner Losh wrote: > On Fri, Aug 25, 2017 at 12:02 PM, Matt Joras > wrote: > > > > > On 08/25/2017 10:17, Conrad Meyer wrote: > > > > > > This change seems to break buildworld on MIPS: > > > > > > /home/cem/head.svn/bin/dd/args.c: In

svn commit: r322899 - head/usr.bin/truss

2017-08-25 Thread John Baldwin
Author: jhb Date: Fri Aug 25 19:06:36 2017 New Revision: 322899 URL: https://svnweb.freebsd.org/changeset/base/322899 Log: Decode arguments passed to thr_set_name(). MFC after:1 month Modified: head/usr.bin/truss/syscalls.c Modified: head/usr.bin/truss/syscalls.c

Re: svn commit: r322824 - in head: lib/clang share/mk usr.bin/clang

2017-08-25 Thread John Baldwin
On Friday, August 25, 2017 12:30:11 PM Warner Losh wrote: > On Fri, Aug 25, 2017 at 12:27 PM, Ed Maste wrote: > > > On 25 August 2017 at 14:07, Ryan Libby wrote: > > > On Wed, Aug 23, 2017 at 4:30 PM, John Baldwin wrote: > > >> Author: