Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-20 Thread David Chisnall
On 16 Dec 2017, at 18:05, John Baldwin wrote: > > When I build a FreeBSD/mips64 kernel with clang, > _any_ simple NFS op triggers a kernel stack overflow. Kernels compiled > with GCC do not. That is not my experience. I haven’t tried a MIPS64 kernel built with clang, but

Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-20 Thread Bruce Evans
On Wed, 20 Dec 2017, John Baldwin wrote: On Wednesday, December 20, 2017 10:16:58 AM Nathan Whitehorn wrote: ... With GCC 4, it takes a little while, but trying to build ports over NFS is a sure-fire way to bring down the kernel. I haven't tried any other compilers. Ah, I have only done

svn commit: r327025 - head/sbin/reboot

2017-12-20 Thread Brad Davis
Author: brd (doc,ports committer) Date: Wed Dec 20 15:21:29 2017 New Revision: 327025 URL: https://svnweb.freebsd.org/changeset/base/327025 Log: Save others some forehead damange by noting that -r require tmpfs. Reviewed by: bapt Modified: head/sbin/reboot/reboot.8 Modified:

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

2017-12-20 Thread Ed Schouten
Author: ed Date: Wed Dec 20 13:13:10 2017 New Revision: 327022 URL: https://svnweb.freebsd.org/changeset/base/327022 Log: Make truss(8) work for 32-bit CloudABI executables on ARM64. This change effectively merges the existing 64-bit support for ARM64 with the 32-on-64-bit support for

svn commit: r327027 - head/sbin/reboot

2017-12-20 Thread Warner Losh
Author: imp Date: Wed Dec 20 16:02:11 2017 New Revision: 327027 URL: https://svnweb.freebsd.org/changeset/base/327027 Log: Flesh out the reason for the need for tmpfs a little. Sponsored by: Netflix Modified: head/sbin/reboot/reboot.8 Modified: head/sbin/reboot/reboot.8

Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-20 Thread John Baldwin
On Wednesday, December 20, 2017 09:59:26 AM David Chisnall wrote: > On 16 Dec 2017, at 18:05, John Baldwin wrote: > > > > When I build a FreeBSD/mips64 kernel with clang, > > _any_ simple NFS op triggers a kernel stack overflow. Kernels compiled > > with GCC do not. > > That

svn commit: r327029 - head/lib/libc/net

2017-12-20 Thread Hajimu UMEMOTO
Author: ume Date: Wed Dec 20 17:44:31 2017 New Revision: 327029 URL: https://svnweb.freebsd.org/changeset/base/327029 Log: Don't ignore trailing spaces after numerical IP addresses. PR: 224403 Reported by: Michael Kaufmann Reviewed by: Michael Kaufmann MFC after:1

Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-20 Thread Nathan Whitehorn
On 12/20/17 09:14, John Baldwin wrote: On Wednesday, December 20, 2017 09:59:26 AM David Chisnall wrote: On 16 Dec 2017, at 18:05, John Baldwin wrote: When I build a FreeBSD/mips64 kernel with clang, _any_ simple NFS op triggers a kernel stack overflow. Kernels compiled

svn commit: r327031 - in head/sys: conf dev/ixgbe modules/ix modules/ixv

2017-12-20 Thread Eric Joyner
Author: erj Date: Wed Dec 20 18:15:06 2017 New Revision: 327031 URL: https://svnweb.freebsd.org/changeset/base/327031 Log: ixgbe(4): Convert driver to use iflib Initial update to the ixgbe PF and VF drivers to support the iflib interface. The PF driver version is bumped to 4.0.0, and

svn commit: r327032 - in head: share/man/man4 sys/conf sys/dev/md

2017-12-20 Thread Ian Lepore
Author: ian Date: Wed Dec 20 18:23:22 2017 New Revision: 327032 URL: https://svnweb.freebsd.org/changeset/base/327032 Log: Add a new kernel config option, MD_ROOT_READONLY, which forces on the MD_READONLY flag for the md device automatically instantiated during kernel init for an mdroot

svn commit: r327034 - in head/sys: cam dev/nvme

2017-12-20 Thread Warner Losh
Author: imp Date: Wed Dec 20 19:13:55 2017 New Revision: 327034 URL: https://svnweb.freebsd.org/changeset/base/327034 Log: Return domain, bus, slot, and function for the transport settings in PATH_INQ requests for nvme. Sponsored by: Netflix Differential Revision:

Re: svn commit: r327031 - in head/sys: conf dev/ixgbe modules/ix modules/ixv

2017-12-20 Thread Ian Lepore
On Wed, 2017-12-20 at 19:47 +, Eric Joyner wrote: > On Wed, Dec 20, 2017 at 11:32 AM Mark Johnston wrote: > > > > > On Wed, Dec 20, 2017 at 06:15:06PM +, Eric Joyner wrote: > > > > > > Author: erj > > > Date: Wed Dec 20 18:15:06 2017 > > > New Revision: 327031 > > >

svn commit: r327040 - in head: sbin/ipfw sys/sys usr.sbin/watch

2017-12-20 Thread Pedro F. Giffuni
Author: pfg Date: Wed Dec 20 20:25:28 2017 New Revision: 327040 URL: https://svnweb.freebsd.org/changeset/base/327040 Log: Revert r327005 - SPDX tags for license similar to BSD-2-Clause. After consultation with SPDX experts and their matching guidelines[1], the licensing doesn't exactly

Re: svn commit: r327005 - in head: sbin/ipfw sys/sys usr.sbin/watch

2017-12-20 Thread Pedro Giffuni
On 12/19/17 21:55, Rodney W. Grimes wrote: On Dec 19, 2017, at 19:15, Rodney W. Grimes wrote: Author: pfg Date: Tue Dec 19 22:40:16 2017 New Revision: 327005 URL: https://svnweb.freebsd.org/changeset/base/327005 Log: SPDX: These are fundamentally

svn commit: r327048 - head/sys/arm/arm

2017-12-20 Thread Ian Lepore
Author: ian Date: Wed Dec 20 20:46:12 2017 New Revision: 327048 URL: https://svnweb.freebsd.org/changeset/base/327048 Log: Restore the ability to use EARLY_PRINTF support during most of initarm(). The real kernel page tables are set up much earlier in initarm() now than they were when

Re: svn commit: r327005 - in head: sbin/ipfw sys/sys usr.sbin/watch

2017-12-20 Thread Rodney W. Grimes
> On 12/19/17 21:55, Rodney W. Grimes wrote: > >> > >>> On Dec 19, 2017, at 19:15, Rodney W. Grimes > >>> wrote: > >>> > Author: pfg > Date: Tue Dec 19 22:40:16 2017 > New Revision: 327005 > URL: https://svnweb.freebsd.org/changeset/base/327005

Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-20 Thread Adrian Chadd
Hi, I kinda bet that this will just get worse over time, so maybe it's time we revisited figuring out a better way of dispatching work instead of (a) lots of kernel threads for different subsystems and (b) lots of deep stack frames. eg - NFS over wifi == hilarious pain -adrian

Re: svn commit: r327031 - in head/sys: conf dev/ixgbe modules/ix modules/ixv

2017-12-20 Thread Mark Johnston
On Wed, Dec 20, 2017 at 06:15:06PM +, Eric Joyner wrote: > Author: erj > Date: Wed Dec 20 18:15:06 2017 > New Revision: 327031 > URL: https://svnweb.freebsd.org/changeset/base/327031 > > Log: > ixgbe(4): Convert driver to use iflib > > Initial update to the ixgbe PF and VF drivers to

Re: svn commit: r326731 - head/sys/ufs/ffs

2017-12-20 Thread Mark Johnston
On Sat, Dec 09, 2017 at 10:14:50PM -0500, Mark Johnston wrote: > On Sat, Dec 09, 2017 at 07:36:59PM -0700, Warner Losh wrote: > > On Sat, Dec 9, 2017 at 11:03 AM, Andriy Gapon wrote: > > > > > On 09/12/2017 17:44, Mark Johnston wrote: > > > > Some GEOMs do not appear to handle

svn commit: r327047 - head/sys/arm/include

2017-12-20 Thread Ian Lepore
Author: ian Date: Wed Dec 20 20:41:51 2017 New Revision: 327047 URL: https://svnweb.freebsd.org/changeset/base/327047 Log: Remove arm-specific implementations of atomic_load/store_xxx() now that they are provided by sys/atomic_common.h. Modified: head/sys/arm/include/atomic.h Modified:

Re: svn commit: r327047 - head/sys/arm/include

2017-12-20 Thread Ian Lepore
On Wed, 2017-12-20 at 20:41 +, Ian Lepore wrote: > Author: ian > Date: Wed Dec 20 20:41:51 2017 > New Revision: 327047 > URL: https://svnweb.freebsd.org/changeset/base/327047 > > Log: >   Remove arm-specific implementations of atomic_load/store_xxx() now that >   they are provided by

Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-20 Thread Warner Losh
On Wed, Dec 20, 2017 at 12:15 PM, Adrian Chadd wrote: > Hi, > > I kinda bet that this will just get worse over time, so maybe it's > time we revisited figuring out a better way of dispatching work > instead of (a) lots of kernel threads for different subsystems and (b) > lots

Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-20 Thread John Baldwin
On Wednesday, December 20, 2017 10:16:58 AM Nathan Whitehorn wrote: > > On 12/20/17 09:14, John Baldwin wrote: > > On Wednesday, December 20, 2017 09:59:26 AM David Chisnall wrote: > >> On 16 Dec 2017, at 18:05, John Baldwin wrote: > >>> When I build a FreeBSD/mips64 kernel

Re: svn commit: r326991 - in head/sys/fs: nfs nfsclient

2017-12-20 Thread Ian Lepore
On Tue, 2017-12-19 at 19:18 +, John Baldwin wrote: > Author: jhb > Date: Tue Dec 19 19:18:48 2017 > New Revision: 326991 > URL: https://svnweb.freebsd.org/changeset/base/326991 > > Log: >   Update NFS to handle larger link counts post ino64. > [...] > Modified:

Re: svn commit: r327037 - head/sys/dev/acpica

2017-12-20 Thread Cy Schubert
In message <201712201914.vbkjeg68087...@repo.freebsd.org>, Warner Losh writes: > Author: imp > Date: Wed Dec 20 19:14:16 2017 > New Revision: 327037 > URL: https://svnweb.freebsd.org/changeset/base/327037 > > Log: > Simplify the code a bit. > > Replace clumsy for(;;) { if (foo) break; ...}

Re: svn commit: r327037 - head/sys/dev/acpica

2017-12-20 Thread Warner Losh
On Dec 20, 2017 1:33 PM, "Cy Schubert" wrote: In message <201712201914.vbkjeg68087...@repo.freebsd.org>, Warner Losh writes: > Author: imp > Date: Wed Dec 20 19:14:16 2017 > New Revision: 327037 > URL: https://svnweb.freebsd.org/changeset/base/327037 > > Log: >

svn commit: r327038 - head/share/man/man4

2017-12-20 Thread Warner Losh
Author: imp Date: Wed Dec 20 19:14:20 2017 New Revision: 327038 URL: https://svnweb.freebsd.org/changeset/base/327038 Log: Add nvme wiring example Add NVMe and MMC/SD card support info. Sponsored by: Netflix Modified: head/share/man/man4/scsi.4 Modified: head/share/man/man4/scsi.4

svn commit: r327037 - head/sys/dev/acpica

2017-12-20 Thread Warner Losh
Author: imp Date: Wed Dec 20 19:14:16 2017 New Revision: 327037 URL: https://svnweb.freebsd.org/changeset/base/327037 Log: Simplify the code a bit. Replace clumsy for(;;) { if (foo) break; ...} with simpler while (!foo) { ... }. Sponsored by: Netflix Differential Revision:

svn commit: r327036 - head/share/man/man4

2017-12-20 Thread Warner Losh
Author: imp Date: Wed Dec 20 19:14:11 2017 New Revision: 327036 URL: https://svnweb.freebsd.org/changeset/base/327036 Log: Document new pci device hints wiring. Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D13546 Modified: head/share/man/man4/pci.4

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

2017-12-20 Thread Warner Losh
Author: imp Date: Wed Dec 20 19:14:05 2017 New Revision: 327035 URL: https://svnweb.freebsd.org/changeset/base/327035 Log: Add device location wiring to the pci bus. This allows one to specify, for example, that if there's an igb card in bus 12, slot 0, function 0, it should be assigned

Re: svn commit: r327037 - head/sys/dev/acpica

2017-12-20 Thread Cy Schubert
In message , Warner Losh writes: > --001a1140eeb8e8b5ac0560cba79f > Content-Type: text/plain; charset="UTF-8" > > On Dec 20, 2017 1:33 PM, "Cy Schubert" wrote: > > In message

Re: svn commit: r326731 - head/sys/ufs/ffs

2017-12-20 Thread Warner Losh
On Wed, Dec 20, 2017 at 1:32 PM, Mark Johnston wrote: > On Sat, Dec 09, 2017 at 10:14:50PM -0500, Mark Johnston wrote: > > On Sat, Dec 09, 2017 at 07:36:59PM -0700, Warner Losh wrote: > > > On Sat, Dec 9, 2017 at 11:03 AM, Andriy Gapon wrote: > > > > > > >

Re: svn commit: r327031 - in head/sys: conf dev/ixgbe modules/ix modules/ixv

2017-12-20 Thread Eric Joyner
On Wed, Dec 20, 2017 at 11:32 AM Mark Johnston wrote: > On Wed, Dec 20, 2017 at 06:15:06PM +, Eric Joyner wrote: > > Author: erj > > Date: Wed Dec 20 18:15:06 2017 > > New Revision: 327031 > > URL: https://svnweb.freebsd.org/changeset/base/327031 > > > > Log: > >

svn commit: r327049 - head/sys/arm/arm

2017-12-20 Thread Ian Lepore
Author: ian Date: Wed Dec 20 22:17:27 2017 New Revision: 327049 URL: https://svnweb.freebsd.org/changeset/base/327049 Log: Allow pmap_kremove() to remove 1MB section mappings as well as 4K pages. This will allow it to undo temporary device mappings such as those made with

svn commit: r327050 - head/sys/arm/arm

2017-12-20 Thread Ian Lepore
Author: ian Date: Wed Dec 20 22:19:11 2017 New Revision: 327050 URL: https://svnweb.freebsd.org/changeset/base/327050 Log: If a temporary mapping is made to support EARLY_PRINTF, undo that mapping after cninit() runs, otherwise we leave a bogus device-memory mapping in userspace VA in the

Re: svn commit: r327031 - in head/sys: conf dev/ixgbe modules/ix modules/ixv

2017-12-20 Thread Eric Joyner
On Wed, Dec 20, 2017 at 12:02 PM Ian Lepore wrote: > On Wed, 2017-12-20 at 19:47 +, Eric Joyner wrote: > > On Wed, Dec 20, 2017 at 11:32 AM Mark Johnston > wrote: > > > > > > > > On Wed, Dec 20, 2017 at 06:15:06PM +, Eric Joyner wrote: > > > > > > >

svn commit: r327051 - head/sys/dev/ixgbe

2017-12-20 Thread Eric Joyner
Author: erj Date: Thu Dec 21 00:35:14 2017 New Revision: 327051 URL: https://svnweb.freebsd.org/changeset/base/327051 Log: ixgbe(4): Fix build error on i386. Reported by: markj Modified: head/sys/dev/ixgbe/if_ixv.c Modified: head/sys/dev/ixgbe/if_ixv.c

Re: svn commit: r326991 - in head/sys/fs: nfs nfsclient

2017-12-20 Thread John Baldwin
On Wednesday, December 20, 2017 01:07:22 PM Ian Lepore wrote: > On Tue, 2017-12-19 at 19:18 +, John Baldwin wrote: > > Author: jhb > > Date: Tue Dec 19 19:18:48 2017 > > New Revision: 326991 > > URL: https://svnweb.freebsd.org/changeset/base/326991 > > > > Log: > > Update NFS to handle

svn commit: r327028 - head/sys/powerpc/include

2017-12-20 Thread Justin Hibbits
Author: jhibbits Date: Wed Dec 20 16:49:45 2017 New Revision: 327028 URL: https://svnweb.freebsd.org/changeset/base/327028 Log: Increase default MAXDSIZ to 32G on powerpc64 Linking LLVM now seems to require more than 1GB data size, so increase the default to 32G, which matches amd64.

svn commit: r327054 - head/lib/libdevinfo

2017-12-20 Thread Warner Losh
Author: imp Date: Thu Dec 21 04:21:59 2017 New Revision: 327054 URL: https://svnweb.freebsd.org/changeset/base/327054 Log: Bump number that's an insane number of devices from 1,000 to 10,000. I have access to machines that are pushing 400 devices. When 1,000 was selected, it was rare to get

svn commit: r327055 - head/share/man/man4

2017-12-20 Thread Warner Losh
Author: imp Date: Thu Dec 21 04:23:00 2017 New Revision: 327055 URL: https://svnweb.freebsd.org/changeset/base/327055 Log: Provide a nda man page. Add cross referneces. Bump dates. Also, CAM is a storage subsystem, not a SCSI/ATA one these days. Sponsored by: Netflix Added:

svn commit: r327052 - head/sys/net

2017-12-20 Thread Stephen Hurd
Author: shurd Date: Thu Dec 21 01:22:36 2017 New Revision: 327052 URL: https://svnweb.freebsd.org/changeset/base/327052 Log: Don't call tcp_lro_rx() unless hardware verified TCP/UDP csum It seems that tcp_lro_rx() doesn't verify TCP checksums, so if there are bad checksums in the packets

Re: svn commit: r327055 - head/share/man/man4

2017-12-20 Thread Ravi Pokala
Also updates the date on pci.4, in light of r327036 earlier today. -Ravi (rpokala@) -Original Message- From: on behalf of Warner Losh Date: 2017-12-20, Wednesday at 20:23 To: , ,