svn commit: r323983 - head/sys/dev/neta

2017-09-24 Thread Marcin Wojtas
Author: mw Date: Mon Sep 25 02:06:51 2017 New Revision: 323983 URL: https://svnweb.freebsd.org/changeset/base/323983 Log: Fix gcc compilation issues in the mvneta driver Compiling mvneta driver with gcc unveiled two issues, that required fixing. Reported by: andrew Obtained from: S

svn commit: r323982 - head/sys/vm

2017-09-24 Thread Alan Cox
Author: alc Date: Sun Sep 24 23:35:01 2017 New Revision: 323982 URL: https://svnweb.freebsd.org/changeset/base/323982 Log: Change vm_page_try_to_free() to require a managed page. Essentially, vm_page_try_to_free() is testing conditions, like clean versus dirty, that only vary in managed pag

svn commit: r323981 - head/sys/contrib/vchiq/interface/vchiq_arm

2017-09-24 Thread Alan Cox
Author: alc Date: Sun Sep 24 22:29:11 2017 New Revision: 323981 URL: https://svnweb.freebsd.org/changeset/base/323981 Log: Modernize the use of vm_page_unwire(). Since r288122, vm_page_unwire() has returned TRUE when the wire count transitions to zero, eliminating the need for callers to in

Re: svn commit: r323942 - head/sys/net

2017-09-24 Thread Stephen Hurd
Stephen Hurd wrote: Hans Petter Selasky wrote: On 09/24/17 01:46, Stephen Hurd wrote: Basically, it changed from this: foreach (mbuf in rx) { if (lro && tcp_lro_rx(mbuf) == 0) continue; if_input(mbuf) } To this: prev_mbuf = first_mbuf = NULL; foreach (mbuf in rx) { if (lro && t

svn commit: r323980 - head/sys/compat/linux

2017-09-24 Thread Pedro F. Giffuni
Author: pfg Date: Sun Sep 24 20:57:03 2017 New Revision: 323980 URL: https://svnweb.freebsd.org/changeset/base/323980 Log: Small style(9) issue: spaces vs TAB. Modified: head/sys/compat/linux/linux_stats.c Modified: head/sys/compat/linux/linux_stats.c

svn commit: r323978 - head/sys/fs/nfsserver

2017-09-24 Thread Rick Macklem
Author: rmacklem Date: Sun Sep 24 20:05:48 2017 New Revision: 323978 URL: https://svnweb.freebsd.org/changeset/base/323978 Log: Change a panic to an error return. There was a panic() in the NFS server's write operation that didn't need to be a panic() and could just be an error return.

svn commit: r323977 - head/sys/geom

2017-09-24 Thread Conrad Meyer
Author: cem Date: Sun Sep 24 19:59:26 2017 New Revision: 323977 URL: https://svnweb.freebsd.org/changeset/base/323977 Log: g_resize_provider_event: Do not invoke orphan method twice Like r266444, g_resize_provider_event can attempt to orphan an already orphaned geom_dev consumer. This wi

svn commit: r323974 - head/sys/fs/nfsclient

2017-09-24 Thread Rick Macklem
Author: rmacklem Date: Sun Sep 24 19:43:31 2017 New Revision: 323974 URL: https://svnweb.freebsd.org/changeset/base/323974 Log: Remove 0 filling from nfsm_uiombuflist(). nfsm_uiombuflist() zero filled the mbuf list to a multiple of 4bytes as required for XDR. Unfortunately that modified a

Re: svn commit: r323942 - head/sys/net

2017-09-24 Thread Stephen Hurd
Hans Petter Selasky wrote: On 09/24/17 01:46, Stephen Hurd wrote: Basically, it changed from this: foreach (mbuf in rx) { if (lro && tcp_lro_rx(mbuf) == 0) continue; if_input(mbuf) } To this: prev_mbuf = first_mbuf = NULL; foreach (mbuf in rx) { if (lro && tcp_lro_rx(mbuf) == 0)

svn commit: r323973 - head/sys/vm

2017-09-24 Thread Alan Cox
Author: alc Date: Sun Sep 24 16:50:10 2017 New Revision: 323973 URL: https://svnweb.freebsd.org/changeset/base/323973 Log: Optimize vm_page_try_to_free(). Specifically, the call to pmap_remove_all() can be avoided when the page's containing object has a reference count of zero. (If the obj

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

2017-09-24 Thread Fedor Uporov
Author: fsu Date: Sun Sep 24 14:36:01 2017 New Revision: 323972 URL: https://svnweb.freebsd.org/changeset/base/323972 Log: Add myself to the calendar.freebsd Reviewed by:pfg (mentor) Approved by:pfg (mentor) Modified: head/usr.bin/calendar/calendars/calendar.freebsd Modified:

Re: svn commit: r323952 - head/sys/boot/i386/libi386

2017-09-24 Thread Warner Losh
We should move them to src.opt.mk In fact, I think I may just do that this morning. Then we can just change the defaults. Warner On Sun, Sep 24, 2017 at 7:15 AM, Kamil Czekirda wrote: > I think we can enable support for both NFS and TFTP protocols by default > for all architectures and redefine

svn commit: r323971 - head/tools/tools/nanobsd

2017-09-24 Thread Warner Losh
Author: imp Date: Sun Sep 24 14:22:36 2017 New Revision: 323971 URL: https://svnweb.freebsd.org/changeset/base/323971 Log: Fix packages with interactive post install scripts. Tell pkg(8) we're running non-interactively so packages that with interactive post install scripts don't hang.

svn commit: r323970 - head/sys/arm/conf

2017-09-24 Thread Andrew Turner
Author: andrew Date: Sun Sep 24 13:28:24 2017 New Revision: 323970 URL: https://svnweb.freebsd.org/changeset/base/323970 Log: Remove the VIRT kernel config, it's now useable through GENERIC. Sponsored by: DARPA, AFRL Deleted: head/sys/arm/conf/VIRT ___

Re: svn commit: r323952 - head/sys/boot/i386/libi386

2017-09-24 Thread Kamil Czekirda
I think we can enable support for both NFS and TFTP protocols by default for all architectures and redefine options to LOADER_NO_NFS_SUPPORT and LOADER_NO_TFTP_SUPPORT. 2017-09-23 20:34 GMT+02:00 Warner Losh : > On Sat, Sep 23, 2017 at 9:50 AM, John Baldwin wrote: > > > On Saturday, September 23

svn commit: r323969 - in head: share/man/man4 sys/dev/mpr sys/dev/mps

2017-09-24 Thread Scott Long
Author: scottl Date: Sun Sep 24 13:14:50 2017 New Revision: 323969 URL: https://svnweb.freebsd.org/changeset/base/323969 Log: Add the ability to report and set debug flags as text strings instead of just integer flags. Report both for convenience. Submitted by: Eygene Ryabinkin (manpage)

svn commit: r323967 - in head/sys/arm: conf freescale/imx

2017-09-24 Thread Andrew Turner
Author: andrew Date: Sun Sep 24 09:33:08 2017 New Revision: 323967 URL: https://svnweb.freebsd.org/changeset/base/323967 Log: Add i.MX6 and Xilinx to GENERIC. Merge in the missing devices from the IMX6 and ZEDBOARD kernel configs. The Freescale sdma device has been renamed to fslsdma to m

svn commit: r323966 - in head/sys: arm/broadcom/bcm2835 arm/ti dev/sdhci

2017-09-24 Thread Ilya Bakulin
Author: kibab Date: Sun Sep 24 09:05:35 2017 New Revision: 323966 URL: https://svnweb.freebsd.org/changeset/base/323966 Log: Rename sdhci_cam_start_slot() into sdhci_start_slot() This change allows to just call sdhci_start_slot() in SDHCI drivers and not to think about which stack handles

Re: svn commit: r323942 - head/sys/net

2017-09-24 Thread Hans Petter Selasky
On 09/24/17 01:46, Stephen Hurd wrote: Bjoern A. Zeeb wrote: On 23 Sep 2017, at 6:32, Stephen Hurd wrote: Bjoern A. Zeeb wrote: On 23 Sep 2017, at 1:35, Stephen Hurd wrote: Author: shurd Date: Sat Sep 23 01:35:14 2017 New Revision: 323942 URL: https://svnweb.freebsd.org/changeset/base/32394