svn commit: r328619 - head/sys/dev/etherswitch/arswitch

2018-01-30 Thread Adrian Chadd
Author: adrian Date: Wed Jan 31 07:37:33 2018 New Revision: 328619 URL: https://svnweb.freebsd.org/changeset/base/328619 Log: [arswitch] Fix ATU programming on the AR8327 switch. Doing a flush actually requires setting this bit. Modified: head/sys/dev/etherswitch/arswitch/arswitch_8327.c

svn commit: r328618 - head/sys/dev/etherswitch/arswitch

2018-01-30 Thread Adrian Chadd
Author: adrian Date: Wed Jan 31 07:36:51 2018 New Revision: 328618 URL: https://svnweb.freebsd.org/changeset/base/328618 Log: [arswitch] Fix ATU flushing on AR8216/AR8316 and most of the later chips. The switch hardware requires this bit to be set in order to kick start the actual ATU upd

svn commit: r328617 - head/sys/dev/etherswitch/arswitch

2018-01-30 Thread Adrian Chadd
Author: adrian Date: Wed Jan 31 07:20:34 2018 New Revision: 328617 URL: https://svnweb.freebsd.org/changeset/base/328617 Log: [arswitch] add a new debug section for upcoming address table management. Modified: head/sys/dev/etherswitch/arswitch/arswitchvar.h Modified: head/sys/dev/etherswitch

svn commit: r328616 - head/sys/powerpc/aim

2018-01-30 Thread Wojciech Macek
Author: wma Date: Wed Jan 31 06:42:01 2018 New Revision: 328616 URL: https://svnweb.freebsd.org/changeset/base/328616 Log: PowerNV: fix compilation on non-NV platforms Submitted by: Wojciech Macek Obtained from: Semihalf Sponsored by: IBM, QCM Technologies Mo

svn commit: r328615 - head/stand/libsa

2018-01-30 Thread Warner Losh
Author: imp Date: Wed Jan 31 05:07:43 2018 New Revision: 328615 URL: https://svnweb.freebsd.org/changeset/base/328615 Log: Update stand.h for changes for strto*l Move prototypes to proper section now that we don't have modified versions of strtol and strtoul in libsa. Add prototypes for n

svn commit: r328614 - head/stand/libsa

2018-01-30 Thread Warner Losh
Author: imp Date: Wed Jan 31 04:29:05 2018 New Revision: 328614 URL: https://svnweb.freebsd.org/changeset/base/328614 Log: Move libstand.3 to libsa.3. Update libsa.3 to include functions recently added. More are likely missing. Added: head/stand/libsa/libsa.3 (contents, props changed)

svn commit: r328613 - head/stand/libsa

2018-01-30 Thread Warner Losh
Author: imp Date: Wed Jan 31 04:29:00 2018 New Revision: 328613 URL: https://svnweb.freebsd.org/changeset/base/328613 Log: Kill copies of strtol and strtoul. Use the ones that are in libc, since they suffice. Create xlocale_private.h which provides the most minimal locale implementation we c

svn commit: r328612 - head/lib/libc/stdlib

2018-01-30 Thread Warner Losh
Author: imp Date: Wed Jan 31 03:05:14 2018 New Revision: 328612 URL: https://svnweb.freebsd.org/changeset/base/328612 Log: Move strtold wrapper from strtol.c to its own strtold.c. This code was written by theraven@ (David Chisnall) entirely, there's no original Berkeley code left here so ju

Re: svn commit: r328610 - head/sys/amd64/amd64

2018-01-30 Thread John Baldwin
On Tuesday, January 30, 2018 11:29:27 PM John Baldwin wrote: > Author: jhb > Date: Tue Jan 30 23:29:27 2018 > New Revision: 328610 > URL: https://svnweb.freebsd.org/changeset/base/328610 > > Log: > Ensure 'name' is not NULL before passing to strcmp(). > > This avoids a nested page fault whe

svn commit: r328611 - head/sys/dev/ntb

2018-01-30 Thread Alexander Motin
Author: mav Date: Wed Jan 31 01:04:36 2018 New Revision: 328611 URL: https://svnweb.freebsd.org/changeset/base/328611 Log: Try to preallocate receive memory early. We may not have enough contiguous memory later, when NTB connection get established. It is quite likely that NTB windows are

svn commit: r328610 - head/sys/amd64/amd64

2018-01-30 Thread John Baldwin
Author: jhb Date: Tue Jan 30 23:29:27 2018 New Revision: 328610 URL: https://svnweb.freebsd.org/changeset/base/328610 Log: Ensure 'name' is not NULL before passing to strcmp(). This avoids a nested page fault when obtaining a stack trace in DDB if the address from the first frame does not

svn commit: r328609 - svnadmin/conf

2018-01-30 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Jan 30 23:20:41 2018 New Revision: 328609 URL: https://svnweb.freebsd.org/changeset/base/328609 Log: Release Vladimir Kondratyev from mentorship Modified: svnadmin/conf/mentors Modified: svnadmin/conf/mentors ===

svn commit: r328608 - in head/sys: dev/cxgbe/tom netinet

2018-01-30 Thread John Baldwin
Author: jhb Date: Tue Jan 30 23:01:37 2018 New Revision: 328608 URL: https://svnweb.freebsd.org/changeset/base/328608 Log: Export tcp_always_keepalive for use by the Chelsio TOM module. This used to work by accident with ld.bfd even though always_keepalive was marked as static. LLD honors

svn commit: r328605 - head/cddl/usr.sbin/zfsd

2018-01-30 Thread Alan Somers
Author: asomers Date: Tue Jan 30 21:25:43 2018 New Revision: 328605 URL: https://svnweb.freebsd.org/changeset/base/328605 Log: zfsd: Don't spare a vdev that's being replaced If a zfs pool contains a replacing vdev (either created manually by "zpool replace" or by zfsd(8) via autoreplace b

svn commit: r328604 - stable/11/sbin/fsck_ffs

2018-01-30 Thread David Bright
Author: dab Date: Tue Jan 30 20:49:49 2018 New Revision: 328604 URL: https://svnweb.freebsd.org/changeset/base/328604 Log: MFC r328013: Exit fsck_ffs with non-zero status when file system is not repaired. When the fsck_ffs program cannot fully repair a file system, it will output the

svn commit: r328603 - head/stand/common

2018-01-30 Thread Sean Bruno
Author: sbruno Date: Tue Jan 30 20:00:12 2018 New Revision: 328603 URL: https://svnweb.freebsd.org/changeset/base/328603 Log: Add missing non-POWERPC case to give the scr value something non-zero. This fixes the instant reboot of netbooting after r328536 on x86 systems. Reviewed by: p

svn commit: r328602 - stable/11

2018-01-30 Thread Kyle Evans
Author: kevans Date: Tue Jan 30 19:34:58 2018 New Revision: 328602 URL: https://svnweb.freebsd.org/changeset/base/328602 Log: Record only merge of r328293 r328293 was MFC'd effectively via direct commit as r328601; record the mergeinfo for it. Modified: Directory Properties: stable/11/

svn commit: r328601 - stable/11/sys/boot/fdt

2018-01-30 Thread Kyle Evans
Author: kevans Date: Tue Jan 30 19:31:37 2018 New Revision: 328601 URL: https://svnweb.freebsd.org/changeset/base/328601 Log: MFC r328293: stand/fdt: Fallback to `name` + .dtbo if we fail to load `name` [This is a direct commit to stable/11 due to path restructuring in -HEAD; diffs have b

svn commit: r328600 - in stable/11/etc: . mtree

2018-01-30 Thread Kyle Evans
Author: kevans Date: Tue Jan 30 19:20:59 2018 New Revision: 328600 URL: https://svnweb.freebsd.org/changeset/base/328600 Log: MFC r328287: Add /boot/overlays to runtime pkg, fix distrib-dirs METALOG /boot/overlays was recently added without belonging to a package. It's only used by bootlo

svn commit: r328599 - stable/11/usr.sbin/service

2018-01-30 Thread Kyle Evans
Author: kevans Date: Tue Jan 30 19:16:38 2018 New Revision: 328599 URL: https://svnweb.freebsd.org/changeset/base/328599 Log: MFC r328032,r328060,r328243: service(8): Support services in jails MFC r328032: service(8): Add support for interfacing with services in jails Provide a -j opti

svn commit: r328598 - head/sys/kern

2018-01-30 Thread Ed Maste
Author: emaste Date: Tue Jan 30 18:29:38 2018 New Revision: 328598 URL: https://svnweb.freebsd.org/changeset/base/328598 Log: makesyscalls: permit a range of syscall numbers for UNIMPL Some ABIs have large gaps in syscall numbers. Allow gaps to be filled as ranges of UNIMPL, with an entr

Re: svn commit: r328593 - head/release/scripts

2018-01-30 Thread Rodney W. Grimes
> Do we even want to include the ports tree on install media? Extracting > ports from some out-of-date tarball doesn't seem to match best practices > for ports and it takes up quite a lot of space. > -Nathan Yes, you want to ship a known working known building and tested ports tree with the rele

Re: svn commit: r328593 - head/release/scripts

2018-01-30 Thread Nathan Whitehorn
Do we even want to include the ports tree on install media? Extracting ports from some out-of-date tarball doesn't seem to match best practices for ports and it takes up quite a lot of space. -Nathan On 01/30/18 08:34, Steve Wills wrote: Author: swills (ports committer) Date: Tue Jan 30 16:34:

svn commit: r328596 - in head/contrib/llvm: include/llvm/MC lib/MC

2018-01-30 Thread Ed Maste
Author: emaste Date: Tue Jan 30 16:43:20 2018 New Revision: 328596 URL: https://svnweb.freebsd.org/changeset/base/328596 Log: Pull in r322131 from upstream llvm trunk (by Rafael Espíndola): Use a MCExpr for the size of MCFillFragment. This allows the size to be found during ralaxat

svn commit: r328595 - head/contrib/llvm/lib/MC

2018-01-30 Thread Ed Maste
Author: emaste Date: Tue Jan 30 16:42:08 2018 New Revision: 328595 URL: https://svnweb.freebsd.org/changeset/base/328595 Log: Pull in r322123 from upstream llvm trunk (by Rafael Espíndola): Don't create MCFillFragment directly. Instead use higher level APIs that take care of most b

svn commit: r328594 - in head/contrib/llvm: include/llvm/MC lib/MC

2018-01-30 Thread Ed Maste
Author: emaste Date: Tue Jan 30 16:41:38 2018 New Revision: 328594 URL: https://svnweb.freebsd.org/changeset/base/328594 Log: Pull in r322108 from upstream llvm trunk (by Rafael Espíndola): Make one of the emitFill methods non virtual. NFC. This is just preparatory work to fix [LLV

svn commit: r328593 - head/release/scripts

2018-01-30 Thread Steve Wills
Author: swills (ports committer) Date: Tue Jan 30 16:34:56 2018 New Revision: 328593 URL: https://svnweb.freebsd.org/changeset/base/328593 Log: Change installer default to not install ports tree Reviewed by: gjb, dteske, allanjude, bdrewery, mat Approved by: gjb Differential Revision:

Re: svn commit: r328537 - in head/sys/powerpc: aim powernv

2018-01-30 Thread Nathan Whitehorn
On 01/30/18 01:04, Wojciech Macek wrote: The LPCR register must be set very early. The best is to do it in cpudep_bootstrap as this is the first function being run on the AP after start. As soon as the AP completes pmap_cpu_bootstrap, we must guarantee that DSI exceptions are working fine. We

svn commit: r328591 - head/sys/dev/mlx5/mlx5_en

2018-01-30 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jan 30 12:38:06 2018 New Revision: 328591 URL: https://svnweb.freebsd.org/changeset/base/328591 Log: Move the mlx5 core device pointer first in the mlx5en priv. This help simplify checks to recognize own network devices when using mlx5ib. This patch fixes an issues

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-30 Thread Emmanuel Vadot
On Tue, 30 Jan 2018 10:15:26 + "Poul-Henning Kamp" wrote: > > In message <20180130105812.d1de09e0d4ac88934d776...@bidouilliste.com>, > Emmanuel > Vadot writes: > >On Tue, 30 Jan 2018 09:47:57 + > > > I don't think that we want to load it by default as it would mean that > >som

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-30 Thread Poul-Henning Kamp
In message <20180130105812.d1de09e0d4ac88934d776...@bidouilliste.com>, Emmanuel Vadot writes: >On Tue, 30 Jan 2018 09:47:57 + > I don't think that we want to load it by default as it would mean that >some GPIO are now unusable as they are pwm pins now. So the essential architectural

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

2018-01-30 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Jan 30 10:10:02 2018 New Revision: 328590 URL: https://svnweb.freebsd.org/changeset/base/328590 Log: Document the new hw.usb.template behaviour. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/share/man/man4/usb_template.4 Modified: he

svn commit: r328589 - head/sys/dev/usb

2018-01-30 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Jan 30 10:08:11 2018 New Revision: 328589 URL: https://svnweb.freebsd.org/changeset/base/328589 Log: Make the handler routine for the hw.usb.template sysctl trigger the USB host to reprobe the bus by switching the USB pull up resistors off and back on. In other words

svn commit: r328588 - head/usr.bin/nfsstat

2018-01-30 Thread Emmanuel Vadot
Author: manu Date: Tue Jan 30 09:59:52 2018 New Revision: 328588 URL: https://svnweb.freebsd.org/changeset/base/328588 Log: nfsstat: Add libxo output Add libxo output support Merge exp41_intpr and exp_intpr function. The only difference is to print NFSV4.1 operations in exp41, add a thi

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-30 Thread Emmanuel Vadot
On Tue, 30 Jan 2018 09:47:57 + "Poul-Henning Kamp" wrote: > > In message <20180130094251.ga85...@bluezbox.com>, Oleksandr Tymoshenko writes: > >Poul-Henning Kamp (p...@phk.freebsd.dk) wrote: > > >> But only if you add pwm.dtbo to config.txt and reboot, because > >> I see nothing ind

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-30 Thread Poul-Henning Kamp
In message <20180130094251.ga85...@bluezbox.com>, Oleksandr Tymoshenko writes: >Poul-Henning Kamp (p...@phk.freebsd.dk) wrote: >> But only if you add pwm.dtbo to config.txt and reboot, because >> I see nothing indicating that we will put it there in the >> release images we (may start to)

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-30 Thread Oleksandr Tymoshenko
Poul-Henning Kamp (p...@phk.freebsd.dk) wrote: > > In message <20180130025048.ga76...@bluezbox.com>, Oleksandr Tymoshenko writes: > > >> You seem to have skipped the bit about "without reboot" ? > > > >No I haven't. config.txt is parsed by VC firmware on boot time > >and pwm.dtbo is appli

Re: svn commit: r328537 - in head/sys/powerpc: aim powernv

2018-01-30 Thread Wojciech Macek
The LPCR register must be set very early. The best is to do it in cpudep_bootstrap as this is the first function being run on the AP after start. As soon as the AP completes pmap_cpu_bootstrap, we must guarantee that DSI exceptions are working fine. We can't do this with LPCR set incorrectly, this

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-30 Thread Poul-Henning Kamp
In message <20180130025048.ga76...@bluezbox.com>, Oleksandr Tymoshenko writes: >> You seem to have skipped the bit about "without reboot" ? > >No I haven't. config.txt is parsed by VC firmware on boot time >and pwm.dtbo is applied even before boot loader kicks in. When >kernel starts pwm