svn commit: r330283 - head/stand/lua

2018-03-02 Thread Kyle Evans
Author: kevans Date: Fri Mar 2 16:06:20 2018 New Revision: 330283 URL: https://svnweb.freebsd.org/changeset/base/330283 Log: lualoader: Use global printc instead of loader.printc r330282 registered loader.printc as printc, so use it instead. This makes sense for a couple reasons, the

svn commit: r330287 - head/stand/lua

2018-03-02 Thread Kyle Evans
Author: kevans Date: Fri Mar 2 17:07:08 2018 New Revision: 330287 URL: https://svnweb.freebsd.org/changeset/base/330287 Log: lualoader: Reset the cursor position after the menu is drawn Rather than before the menu is drawn. The drawer is going to reset the crusor position as soon as it

Re: svn commit: r330285 - head/sys/sys

2018-03-02 Thread Konstantin Belousov
On Fri, Mar 02, 2018 at 12:43:34PM -0500, Pedro Giffuni wrote: > (cc in Eitan as he may be interested in the extra restrict cases) > > > On 02/03/2018 11:47, Konstantin Belousov wrote: > > Author: kib > > Date: Fri Mar 2 16:47:02 2018 > > New Revision: 330285 > > URL:

svn commit: r330285 - head/sys/sys

2018-03-02 Thread Konstantin Belousov
Author: kib Date: Fri Mar 2 16:47:02 2018 New Revision: 330285 URL: https://svnweb.freebsd.org/changeset/base/330285 Log: Remove _Nonnull attributes from user addresses arguments for copyout(9) family. The addresses are user-controllable, and if the process ABI allows mapping at zero,

Re: svn commit: r330284 - head/stand/liblua

2018-03-02 Thread Kyle Evans
On Fri, Mar 2, 2018 at 10:31 AM, Kyle Evans wrote: > Author: kevans > Date: Fri Mar 2 16:31:23 2018 > New Revision: 330284 > URL: https://svnweb.freebsd.org/changeset/base/330284 > > Log: > liblua: Use putc instead of printf for printc > > printc does not need the

Re: svn commit: r330285 - head/sys/sys

2018-03-02 Thread Pedro Giffuni
(cc in Eitan as he may be interested in the extra restrict cases) On 02/03/2018 11:47, Konstantin Belousov wrote: Author: kib Date: Fri Mar 2 16:47:02 2018 New Revision: 330285 URL: https://svnweb.freebsd.org/changeset/base/330285 Log: Remove _Nonnull attributes from user addresses

svn commit: r330284 - head/stand/liblua

2018-03-02 Thread Kyle Evans
Author: kevans Date: Fri Mar 2 16:31:23 2018 New Revision: 330284 URL: https://svnweb.freebsd.org/changeset/base/330284 Log: liblua: Use putc instead of printf for printc printc does not need the features or the overhead of printf. It does not take formatting strings, and it pipes the

svn commit: r330286 - head/tools/boot

2018-03-02 Thread Kyle Evans
Author: kevans Date: Fri Mar 2 16:51:43 2018 New Revision: 330286 URL: https://svnweb.freebsd.org/changeset/base/330286 Log: Add --globals printc to lua-lint We provide a global 'printc' as of r330282; make luacheck aware of this fact so that we can use it without complaints. Modified:

Re: svn commit: r330285 - head/sys/sys

2018-03-02 Thread Brooks Davis
On Fri, Mar 02, 2018 at 12:43:34PM -0500, Pedro Giffuni wrote: > (cc in Eitan as he may be interested in the extra restrict cases) > > > On 02/03/2018 11:47, Konstantin Belousov wrote: > > Author: kib > > Date: Fri Mar 2 16:47:02 2018 > > New Revision: 330285 > > URL:

svn commit: r330291 - head/sbin/geom/class/part

2018-03-02 Thread Warren Block
Author: wblock (doc committer) Date: Fri Mar 2 19:07:32 2018 New Revision: 330291 URL: https://svnweb.freebsd.org/changeset/base/330291 Log: Clarify and clean up some language, and add an explicit example. Sponsored by: iXsystems Differential Revision:

svn commit: r330289 - head/sys/net

2018-03-02 Thread Stephen Hurd
Author: shurd Date: Fri Mar 2 18:48:07 2018 New Revision: 330289 URL: https://svnweb.freebsd.org/changeset/base/330289 Log: iflib: stop timer callout when stopping iflib_timer has been seen running after the interface had been removed. This change prevents that. Submitted by:

svn commit: r330292 - head/sys/dev/ispfw

2018-03-02 Thread Alexander Motin
Author: mav Date: Fri Mar 2 19:50:41 2018 New Revision: 330292 URL: https://svnweb.freebsd.org/changeset/base/330292 Log: Update QLogic ISP 24xx/25xx chips firmware to 8.07.00. MFC after:1 month Modified: head/sys/dev/ispfw/asm_2400.h head/sys/dev/ispfw/asm_2500.h Modified:

svn commit: r330293 - head/sys/modules/dtb/allwinner

2018-03-02 Thread Emmanuel Vadot
Author: manu Date: Fri Mar 2 20:59:36 2018 New Revision: 330293 URL: https://svnweb.freebsd.org/changeset/base/330293 Log: dtb/allwinner: Build sun8i-h3-nanopi-m1-plus.dts We have a u-boot port for this board so add the dtb to the build. Modified:

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

2018-03-02 Thread Warren Block
Author: wblock (doc committer) Date: Fri Mar 2 18:57:00 2018 New Revision: 330290 URL: https://svnweb.freebsd.org/changeset/base/330290 Log: Clarity and style fixes. Sponsored by: iXsystems Modified: head/share/man/man4/dtrace_lockstat.4 Modified: head/share/man/man4/dtrace_lockstat.4

svn commit: r330303 - in stable: 10/sys/dev/cxgb/ulp/tom 10/sys/dev/cxgbe/tom 10/sys/netinet 11/sys/dev/cxgb/ulp/tom 11/sys/dev/cxgbe/tom 11/sys/netinet

2018-03-02 Thread John Baldwin
Author: jhb Date: Sat Mar 3 00:54:12 2018 New Revision: 330303 URL: https://svnweb.freebsd.org/changeset/base/330303 Log: MFC 328608: 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

svn commit: r330303 - in stable: 10/sys/dev/cxgb/ulp/tom 10/sys/dev/cxgbe/tom 10/sys/netinet 11/sys/dev/cxgb/ulp/tom 11/sys/dev/cxgbe/tom 11/sys/netinet

2018-03-02 Thread John Baldwin
Author: jhb Date: Sat Mar 3 00:54:12 2018 New Revision: 330303 URL: https://svnweb.freebsd.org/changeset/base/330303 Log: MFC 328608: 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

svn commit: r330304 - in head: share/man/man4 sys/amd64/conf sys/conf sys/dev/imcsmb sys/i386/conf sys/modules/i2c/controllers sys/modules/i2c/controllers/imcsmb

2018-03-02 Thread Ravi Pokala
Author: rpokala Date: Sat Mar 3 01:53:51 2018 New Revision: 330304 URL: https://svnweb.freebsd.org/changeset/base/330304 Log: imcsmb(4): Intel integrated Memory Controller (iMC) SMBus controller driver imcsmb(4) provides smbus(4) support for the SMBus controller functionality in the

svn commit: r330307 - in stable/11: share/man/man4 sys/conf sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/cudbg sys/dev/cxgbe/firmware sys/dev/cxgbe/iw_cxgbe sys/dev/cxgbe/tom sys/modules/cxgbe/...

2018-03-02 Thread Navdeep Parhar
Author: np Date: Sat Mar 3 02:30:52 2018 New Revision: 330307 URL: https://svnweb.freebsd.org/changeset/base/330307 Log: MFC r319506, r319872, r321063, r321103, r321179, r321390, r321435, r321582, r321671, r322014, r322034, r322055, r322123, r322167, r322425, r322549, r322914, r322960,

svn commit: r330308 - stable/11/sys/dev/cxgb

2018-03-02 Thread Navdeep Parhar
Author: np Date: Sat Mar 3 02:39:54 2018 New Revision: 330308 URL: https://svnweb.freebsd.org/changeset/base/330308 Log: MFC r328315: cxgb(4): Validate offset/len in the GET_EEPROM ioctl. Modified: stable/11/sys/dev/cxgb/cxgb_main.c Directory Properties: stable/11/ (props changed)

svn commit: r330311 - in stable/11/stand/pc98: . boot0 boot0.5 boot2 btx/btx btx/btxldr btx/lib cdboot kgzldr libpc98 loader pc98boot

2018-03-02 Thread Kyle Evans
Author: kevans Date: Sat Mar 3 06:37:53 2018 New Revision: 330311 URL: https://svnweb.freebsd.org/changeset/base/330311 Log: stand: Make pc98 build This is a direct commit to stable/11 due to pc98 removal from head. Several improvements in head that were MFC'd left the pc98 build

Re: svn commit: r330297 - in head: lib/libc/sys sys/compat/freebsd32 sys/i386/ibcs2 sys/kern sys/sys

2018-03-02 Thread Brooks Davis
On Fri, Mar 02, 2018 at 10:10:49PM +, Brooks Davis wrote: > Author: brooks > Date: Fri Mar 2 22:10:48 2018 > New Revision: 330297 > URL: https://svnweb.freebsd.org/changeset/base/330297 > > Log: > Rename kernel-only members of semid_ds and msgid_ds. > > This deliberately breaks the

Re: svn commit: r330297 - in head: lib/libc/sys sys/compat/freebsd32 sys/i386/ibcs2 sys/kern sys/sys

2018-03-02 Thread Cy Schubert
In message <20180302223138.ga83...@spindle.one-eyed-alien.net>, Brooks Davis wr ites: > > --yrj/dFKFPuw6o+aM > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On Fri, Mar 02, 2018 at 10:10:49PM +, Brooks Davis wrote:

Re: svn commit: r330297 - in head: lib/libc/sys sys/compat/freebsd32 sys/i386/ibcs2 sys/kern sys/sys

2018-03-02 Thread Cy Schubert
In message <20180302233343.gc83...@spindle.one-eyed-alien.net>, Brooks Davis wr ites: > > > --ALfTUftag+2gvp1h > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On Fri, Mar 02, 2018 at 03:31:36PM -0800, Cy Schubert wrote:

svn commit: r330301 - stable/11/sys/net

2018-03-02 Thread Navdeep Parhar
Author: np Date: Sat Mar 3 00:10:37 2018 New Revision: 330301 URL: https://svnweb.freebsd.org/changeset/base/330301 Log: MFC r323221: Make LACP based lagg work with interfaces (like 100Gbps and 25Gbps) that report extended media types. lacp_aggregator_bandwidth() uses the media to

svn commit: r330295 - head/cddl/contrib/opensolaris/lib/libzfs/common

2018-03-02 Thread Alan Somers
Author: asomers Date: Fri Mar 2 21:26:48 2018 New Revision: 330295 URL: https://svnweb.freebsd.org/changeset/base/330295 Log: ZFS: fix adding vdevs to very large pools r323791 changed the return value of zpool_read_label. Error paths that previously returned 0 began to return -1

svn commit: r330297 - in head: lib/libc/sys sys/compat/freebsd32 sys/i386/ibcs2 sys/kern sys/sys

2018-03-02 Thread Brooks Davis
Author: brooks Date: Fri Mar 2 22:10:48 2018 New Revision: 330297 URL: https://svnweb.freebsd.org/changeset/base/330297 Log: Rename kernel-only members of semid_ds and msgid_ds. This deliberately breaks the API in preperation for future syscall revisions which will remove these

Re: svn commit: r330297 - in head: lib/libc/sys sys/compat/freebsd32 sys/i386/ibcs2 sys/kern sys/sys

2018-03-02 Thread Cy Schubert
In message <201803022325.w22npyiw050...@slippy.cwsent.com>, Cy Schubert writes: > In message <20180302223138.ga83...@spindle.one-eyed-alien.net>, Brooks > Davis wr > ites: > > > > --yrj/dFKFPuw6o+aM > > Content-Type: text/plain; charset=us-ascii > > Content-Disposition: inline > >

svn commit: r330302 - in stable/11/sys: netinet netinet6

2018-03-02 Thread Navdeep Parhar
Author: np Date: Sat Mar 3 00:22:32 2018 New Revision: 330302 URL: https://svnweb.freebsd.org/changeset/base/330302 Log: MFC r328314: Do not generate illegal mbuf chains during IP fragment reassembly. Only the first mbuf of the reassembled datagram should have a pkthdr. Modified:

svn commit: r330294 - head/sys/kern

2018-03-02 Thread Mateusz Guzik
Author: mjg Date: Fri Mar 2 21:26:27 2018 New Revision: 330294 URL: https://svnweb.freebsd.org/changeset/base/330294 Log: sx: fix adaptive spinning broken in r327397 The condition was flipped. In particular heavy multithreaded kernel builds on zfs started suffering due to nested sx

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

2018-03-02 Thread Mateusz Guzik
On Fri, Mar 2, 2018 at 10:26 PM, Mateusz Guzik wrote: > Author: mjg > Date: Fri Mar 2 21:26:27 2018 > New Revision: 330294 > URL: https://svnweb.freebsd.org/changeset/base/330294 > > Log: > sx: fix adaptive spinning broken in r327397 > > The condition was flipped. > > In

svn commit: r330298 - head/sys/sys

2018-03-02 Thread Brooks Davis
Author: brooks Date: Fri Mar 2 22:13:29 2018 New Revision: 330298 URL: https://svnweb.freebsd.org/changeset/base/330298 Log: Don't define struct mymsg. PR: 224299, 224443 (exp-run) Reviewed by: kib, jhb Exp-run by: antoine Sponsored by: DARPA, AFRL Differential

svn commit: r330299 - in head: contrib/sendmail/include/sm/os lib/libc/gen lib/libc/sys sys/sys usr.bin/svn/lib/libapr

2018-03-02 Thread Brooks Davis
Author: brooks Date: Fri Mar 2 22:32:53 2018 New Revision: 330299 URL: https://svnweb.freebsd.org/changeset/base/330299 Log: Don't declare union semun in userspace unless _WANT_SEMUN is defined. POSIX explicitly states that the application must declare union semun. This makes no sense,

Re: svn commit: r330297 - in head: lib/libc/sys sys/compat/freebsd32 sys/i386/ibcs2 sys/kern sys/sys

2018-03-02 Thread Brooks Davis
On Fri, Mar 02, 2018 at 03:31:36PM -0800, Cy Schubert wrote: > In message <201803022325.w22npyiw050...@slippy.cwsent.com>, Cy Schubert > writes: > > In message <20180302223138.ga83...@spindle.one-eyed-alien.net>, Brooks > > Davis wr > > ites: > > > > > > --yrj/dFKFPuw6o+aM > > > Content-Type:

svn commit: r330300 - in head: contrib/netbsd-tests/kernel usr.bin/ipcrm

2018-03-02 Thread Brooks Davis
Author: brooks Date: Fri Mar 2 23:31:55 2018 New Revision: 330300 URL: https://svnweb.freebsd.org/changeset/base/330300 Log: Fix build post r330299 Modified: head/contrib/netbsd-tests/kernel/t_sysv.c head/usr.bin/ipcrm/ipcrm.c Modified: head/contrib/netbsd-tests/kernel/t_sysv.c

svn commit: r330306 - head/sys/powerpc/ps3

2018-03-02 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Mar 3 02:06:48 2018 New Revision: 330306 URL: https://svnweb.freebsd.org/changeset/base/330306 Log: Honor physical memory regions marked unavailable in the FDT, when present. The most notable of these is the FDT itself, which it is a bad idea to overwrite.

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

2018-03-02 Thread Bruce Evans
On Fri, 2 Mar 2018, Mateusz Guzik wrote: Log: sx: fix adaptive spinning broken in r327397 The condition was flipped. In particular heavy multithreaded kernel builds on zfs started suffering due to nested sx locks. For instance make -s -j 128 buildkernel: before: 3326.67s user 1269.62s

svn commit: r330305 - in head/sys/powerpc: powerpc ps3

2018-03-02 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Mar 3 02:04:40 2018 New Revision: 330305 URL: https://svnweb.freebsd.org/changeset/base/330305 Log: Remove assumption that all physical memory is available to the kernel and that the physical and available memory arrays are interchangeable. Modified:

svn commit: r330309 - in head/share/man: man4 man9

2018-03-02 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Mar 3 02:49:49 2018 New Revision: 330309 URL: https://svnweb.freebsd.org/changeset/base/330309 Log: [fdt_pinctrl] Add man pages for fdt_pinctrl driver - Add fdt_pinctrl(4) with general information for the driver - Add fdt_pinctrl(9) with fdt_pinctrl KPI

Re: svn commit: r330285 - head/sys/sys

2018-03-02 Thread Bruce Evans
On Fri, 2 Mar 2018, Konstantin Belousov wrote: On Fri, Mar 02, 2018 at 12:43:34PM -0500, Pedro Giffuni wrote: ... I think use of _Nonnull attributes in the threading functions may also be a waste (I introduced them mostly to be compatible with Android). FWIW, Dragonfly sprinkled some restrict

svn commit: r330310 - stable/11/usr.sbin/cxgbetool

2018-03-02 Thread Navdeep Parhar
Author: np Date: Sat Mar 3 03:12:19 2018 New Revision: 330310 URL: https://svnweb.freebsd.org/changeset/base/330310 Log: MFC r321105: cxgbetool(8): Add loadboot and loadboot-cfg subcommands to install or remove bootrom and boot config. Modified:

svn commit: r330272 - head/sys/compat/linuxkpi/common/include/linux

2018-03-02 Thread Hans Petter Selasky
Author: hselasky Date: Fri Mar 2 08:56:15 2018 New Revision: 330272 URL: https://svnweb.freebsd.org/changeset/base/330272 Log: Implement wait_on_bit() function macro in the LinuxKPI. MFC after:1 week Submitted by: Johannes Lundberg Sponsored by: Mellanox

svn commit: r330274 - head/sys/compat/linuxkpi/common/include/linux

2018-03-02 Thread Hans Petter Selasky
Author: hselasky Date: Fri Mar 2 08:59:53 2018 New Revision: 330274 URL: https://svnweb.freebsd.org/changeset/base/330274 Log: Implement more lockdep stubs in the LinuxKPI. MFC after:1 week Submitted by: Johannes Lundberg Sponsored by: Mellanox Technologies

svn commit: r330271 - in head/sys/compat/linuxkpi/common: include/linux src

2018-03-02 Thread Hans Petter Selasky
Author: hselasky Date: Fri Mar 2 08:52:27 2018 New Revision: 330271 URL: https://svnweb.freebsd.org/changeset/base/330271 Log: Rename callout member in struct timer_list to match the one in struct delayed_work in the LinuxKPI. This allows the timer_pending() function macro to be used with

svn commit: r330273 - head/sys/compat/linuxkpi/common/include/linux

2018-03-02 Thread Hans Petter Selasky
Author: hselasky Date: Fri Mar 2 08:58:32 2018 New Revision: 330273 URL: https://svnweb.freebsd.org/changeset/base/330273 Log: Implement ktime_get_raw() function in the LinuxKPI. MFC after:1 week Submitted by: Johannes Lundberg Sponsored by: Mellanox

Re: svn commit: r329882 - in head/sys: conf kern sys vm

2018-03-02 Thread Ed Schouten
Hi Jeff, 2018-02-23 23:51 GMT+01:00 Jeff Roberson : > Add a generic Proportional Integral Derivative (PID) controller algorithm > and > use it to regulate page daemon output. That looks pretty nifty. Looking at the code, it exposes metrics through sysctl. Be sure to give

svn commit: r330278 - head

2018-03-02 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Mar 2 14:42:08 2018 New Revision: 330278 URL: https://svnweb.freebsd.org/changeset/base/330278 Log: Fix README.md formatting. MFC after:2 weeks Sponsored by: DARPA, AFRL Modified: head/README.md Modified: head/README.md

svn commit: r330279 - head/lib/libefivar

2018-03-02 Thread Ed Maste
Author: emaste Date: Fri Mar 2 15:12:18 2018 New Revision: 330279 URL: https://svnweb.freebsd.org/changeset/base/330279 Log: libefivar: use standard 2-Clause FreeBSD license Approved by: imp Sponsored by: The FreeBSD Foundation Modified: head/lib/libefivar/efi-osdep.h

svn commit: r330275 - stable/11/sys/x86/x86

2018-03-02 Thread Konstantin Belousov
Author: kib Date: Fri Mar 2 10:57:46 2018 New Revision: 330275 URL: https://svnweb.freebsd.org/changeset/base/330275 Log: MFC r329864: Do not return out of bound pointers from intr_lookup_source(). Modified: stable/11/sys/x86/x86/intr_machdep.c Directory Properties: stable/11/ (props

Re: svn commit: r329882 - in head/sys: conf kern sys vm

2018-03-02 Thread Pieter de Goeje
Hi, I'm curious, it looks like Kd is quite significant by default, I assume to limit the slew rate of the output. Given that the error is an integer, and pidctrl_daemon() is called at irregular intervals, it seems to me that the derivative will be very noisy. In my experience with PID

svn commit: r330277 - in head: bin/stty libexec/getty

2018-03-02 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Mar 2 14:16:19 2018 New Revision: 330277 URL: https://svnweb.freebsd.org/changeset/base/330277 Log: .Xr pstat(8), so that people have a chance to learn how to get a list of terminal devices using "pstat -t". MFC after:2 weeks Sponsored by: The FreeBSD

svn commit: r330276 - head/sys/arm64/arm64

2018-03-02 Thread Andrew Turner
Author: andrew Date: Fri Mar 2 13:04:21 2018 New Revision: 330276 URL: https://svnweb.freebsd.org/changeset/base/330276 Log: Count the number of children in the GICv3 ACPI attachment. This is needed later for assigning IRQ vector space. Sponsored by: DARPA, AFRL Sponsored by: Cavium

svn commit: r330280 - in stable/11: etc/defaults etc/rc.d share/man/man5

2018-03-02 Thread Emmanuel Vadot
Author: manu Date: Fri Mar 2 15:17:42 2018 New Revision: 330280 URL: https://svnweb.freebsd.org/changeset/base/330280 Log: MFC r320943-r320944, r321008, r321072, r321128 r320943: Add ipfw_status command to etc/rc.d/ipfw This is helpful when using service/conf management tools.

svn commit: r330281 - head/stand/lua

2018-03-02 Thread Kyle Evans
Author: kevans Date: Fri Mar 2 15:28:08 2018 New Revision: 330281 URL: https://svnweb.freebsd.org/changeset/base/330281 Log: lualoader: Steamroll the box-drawing - Add drawer.frame_styles to map out the kinds of characters we need for the different loader_menu_frame values - Respect

svn commit: r330282 - head/stand/liblua

2018-03-02 Thread Kyle Evans
Author: kevans Date: Fri Mar 2 15:46:22 2018 New Revision: 330282 URL: https://svnweb.freebsd.org/changeset/base/330282 Log: lualoader: Register loader.printc as global printc Modified: head/stand/liblua/lutils.c Modified: head/stand/liblua/lutils.c