Re: svn commit: r335108 - head/sys/arm64/rockchip/clk

2018-06-13 Thread Emmanuel Vadot
On Thu, 14 Jun 2018 05:43:45 + (UTC) Emmanuel Vadot wrote: > Author: manu > Date: Thu Jun 14 05:43:45 2018 > New Revision: 335108 > URL: https://svnweb.freebsd.org/changeset/base/335108 > > Log: > rk_pll: Add support for mode > > RockChip PLL have two modes controlled by a register,

Re: svn commit: r335091 - head/sbin/nvmecontrol

2018-06-13 Thread Warner Losh
So I found this https://www.copyright.gov/circs/circ03.pdf and it states two things: "A notice consists of three elements that generally appear as a single continuous statement: • The copyright symbol © (or for phonorecords, the symbol ℗ ); the word “copyright”; or the abbreviation “copr.”; •

svn commit: r335109 - head/sys/arm64/rockchip/clk

2018-06-13 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 05:46:57 2018 New Revision: 335109 URL: https://svnweb.freebsd.org/changeset/base/335109 Log: rk_armclk: Add the write mask to the register mux value This was omitted in r334112 and r334996 which cause the PLL to not correctly reparent, leaving the armclk to

svn commit: r335108 - head/sys/arm64/rockchip/clk

2018-06-13 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 05:43:45 2018 New Revision: 335108 URL: https://svnweb.freebsd.org/changeset/base/335108 Log: rk_pll: Add support for mode RockChip PLL have two modes controlled by a register, a "slow mode" (the default one) where the frequency is derived from the 24Mhz

svn commit: r335107 - head/sys/arm64/rockchip

2018-06-13 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 05:41:16 2018 New Revision: 335107 URL: https://svnweb.freebsd.org/changeset/base/335107 Log: rk_pinctrl: Only add gpio subnode This is the only node we are interested in so do not waste time to test creating device that will be either unused or fail as most

Re: svn commit: r335091 - head/sbin/nvmecontrol

2018-06-13 Thread Juli Mallett
On 13 June 2018 at 22:35, Rodney W. Grimes wrote: > > On 13 June 2018 at 20:28, Rodney W. Grimes net> > > wrote: > > > > > > On Wed, Jun 13, 2018 at 9:03 PM, Rodney W. Grimes < > ... > > > > > > @@ -1,7 +1,8 @@ > > > > > > /*- > > > > > > - * Copyright (c) 2017 Netflix, Inc > > > > > > - * All

Re: svn commit: r335091 - head/sbin/nvmecontrol

2018-06-13 Thread Rodney W. Grimes
> On 13 June 2018 at 20:28, Rodney W. Grimes > wrote: > > > > On Wed, Jun 13, 2018 at 9:03 PM, Rodney W. Grimes < ... > > > > > @@ -1,7 +1,8 @@ > > > > > /*- > > > > > - * Copyright (c) 2017 Netflix, Inc > > > > > - * All rights reserved. > > > > > + * SPDX-License-Identifier:

Re: svn commit: r335091 - head/sbin/nvmecontrol

2018-06-13 Thread Warner Losh
On Wed, Jun 13, 2018 at 10:57 PM, Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > [ Charset UTF-8 unsupported, converting... ] > > Actually, that file (nvmecontrol_ext.h) is completely new. I'm not sure > why > > it thought I copied it from util.c. Maybe it's a git svn integration >

Re: svn commit: r335091 - head/sbin/nvmecontrol

2018-06-13 Thread Rodney W. Grimes
> On Wed, Jun 13, 2018 at 9:31 PM, Juli Mallett wrote: > > > On 13 June 2018 at 20:28, Rodney W. Grimes > > wrote: > > > >> > On Wed, Jun 13, 2018 at 9:03 PM, Rodney W. Grimes < > >> > free...@pdx.rh.cn85.dnsmgr.net> wrote: > >> > > >> > > > Author: imp > >> > > > Date: Wed Jun 13 22:00:02 2018

Re: svn commit: r335091 - head/sbin/nvmecontrol

2018-06-13 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Actually, that file (nvmecontrol_ext.h) is completely new. I'm not sure why > it thought I copied it from util.c. Maybe it's a git svn integration thing. If it is a totally new file why is it showing contect diff with + and -'s? > Warner > > On

Re: svn commit: r335042 - head/usr.bin/top

2018-06-13 Thread Alexey Dokuchaev
On Wed, Jun 13, 2018 at 05:01:35PM -0700, Bryan Drewery wrote: > ... > Also I really abhor rewriting anything that's not broken as it causes > merge conflict pain downstream and just adds regression risk. +1. I'm still having mixed feelings about top(1) de-contrib and rewrite. At the very least,

Re: svn commit: r335091 - head/sbin/nvmecontrol

2018-06-13 Thread Warner Losh
On Wed, Jun 13, 2018 at 9:31 PM, Juli Mallett wrote: > On 13 June 2018 at 20:28, Rodney W. Grimes > wrote: > >> > On Wed, Jun 13, 2018 at 9:03 PM, Rodney W. Grimes < >> > free...@pdx.rh.cn85.dnsmgr.net> wrote: >> > >> > > > Author: imp >> > > > Date: Wed Jun 13 22:00:02 2018 >> > > > New

Re: svn commit: r335091 - head/sbin/nvmecontrol

2018-06-13 Thread Warner Losh
Actually, that file (nvmecontrol_ext.h) is completely new. I'm not sure why it thought I copied it from util.c. Maybe it's a git svn integration thing. Warner On Wed, Jun 13, 2018 at 9:31 PM, Warner Losh wrote: > Ah, that's what you were talking about. OK. Will do. > > Warner > > On Wed, Jun

Re: svn commit: r335091 - head/sbin/nvmecontrol

2018-06-13 Thread Juli Mallett
On 13 June 2018 at 20:28, Rodney W. Grimes wrote: > > On Wed, Jun 13, 2018 at 9:03 PM, Rodney W. Grimes < > > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > > > > Author: imp > > > > Date: Wed Jun 13 22:00:02 2018 > > > > New Revision: 335091 > > > > URL:

Re: svn commit: r335091 - head/sbin/nvmecontrol

2018-06-13 Thread Warner Losh
Ah, that's what you were talking about. OK. Will do. Warner On Wed, Jun 13, 2018 at 9:28 PM, Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > > On Wed, Jun 13, 2018 at 9:03 PM, Rodney W. Grimes < > > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > > > > Author: imp > > > > Date: Wed Jun

Re: svn commit: r335091 - head/sbin/nvmecontrol

2018-06-13 Thread Rodney W. Grimes
> On Wed, Jun 13, 2018 at 9:03 PM, Rodney W. Grimes < > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > > Author: imp > > > Date: Wed Jun 13 22:00:02 2018 > > > New Revision: 335091 > > > URL: https://svnweb.freebsd.org/changeset/base/335091 > > > > > > Log: > > > Make it possible to use

svn commit: r335106 - head/sys/netinet/tcp_stacks

2018-06-13 Thread Randall Stewart
Author: rrs Date: Thu Jun 14 03:27:42 2018 New Revision: 335106 URL: https://svnweb.freebsd.org/changeset/base/335106 Log: This fixes several bugs that Larry Rosenman helped me find in Rack with respect to its handling of TCP Fast Open. Several fixes all related to TFO are included in this

Re: svn commit: r335091 - head/sbin/nvmecontrol

2018-06-13 Thread Warner Losh
On Wed, Jun 13, 2018 at 9:03 PM, Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > > Author: imp > > Date: Wed Jun 13 22:00:02 2018 > > New Revision: 335091 > > URL: https://svnweb.freebsd.org/changeset/base/335091 > > > > Log: > > Make it possible to use print_controller from another

Re: svn commit: r335091 - head/sbin/nvmecontrol

2018-06-13 Thread Rodney W. Grimes
> Author: imp > Date: Wed Jun 13 22:00:02 2018 > New Revision: 335091 > URL: https://svnweb.freebsd.org/changeset/base/335091 > > Log: > Make it possible to use print_controller from another program > > Rename print_controller to nvme_print_controller. Put it in its > own file for easy

svn commit: r335105 - head/tests/sys/audit

2018-06-13 Thread Alan Somers
Author: asomers Date: Thu Jun 14 02:30:43 2018 New Revision: 335105 URL: https://svnweb.freebsd.org/changeset/base/335105 Log: audit(4): add tests for statfs(2), fstatfs(2), and getfsstat(2) Submitted by: aniketp MFC after:2 weeks Sponsored by: Google, Inc (GSoC 2018)

Re: svn commit: r334514 - head/usr.bin/top

2018-06-13 Thread Eitan Adler
On 13 June 2018 at 17:10, Allan Jude wrote: > > This broke compressed ARC display in top. The sysctl > vfs.zfs.compressed_arc_enabled is backed by a boolean_t (which is the > same size as an int), so trying to read it into a bool (1 byte) fails > and returns ENOMEM. > > Fixed in r335099 Sorry

svn commit: r335104 - head/usr.sbin/bhyve

2018-06-13 Thread Marcelo Araujo
Author: araujo Date: Thu Jun 14 01:34:53 2018 New Revision: 335104 URL: https://svnweb.freebsd.org/changeset/base/335104 Log: Fix style(9) space vs tab. Reviewed by: jhb MFC after:3 weeks. Sponsored by: iXsystems Inc. Differential Revision:

svn commit: r335102 - head/sys/dev/cxgbe

2018-06-13 Thread Navdeep Parhar
Author: np Date: Thu Jun 14 01:27:35 2018 New Revision: 335102 URL: https://svnweb.freebsd.org/changeset/base/335102 Log: cxgbe(4): Catch up with recent changes in the kernel -- it no longer holds non-sleepable locks around any of the driver ioctls. Sponsored by: Chelsio Communications

svn commit: r335103 - head/lib/libvmmapi

2018-06-13 Thread Marcelo Araujo
Author: araujo Date: Thu Jun 14 01:28:55 2018 New Revision: 335103 URL: https://svnweb.freebsd.org/changeset/base/335103 Log: Fix style(9) space vs tab. Reviewed by: jhb MFC after:3 weeks. Sponsored by: iXsystems Inc. Differential Revision:

svn commit: r335101 - in head: sbin sbin/camcontrol share/mk

2018-06-13 Thread Warner Losh
Author: imp Date: Thu Jun 14 01:15:19 2018 New Revision: 335101 URL: https://svnweb.freebsd.org/changeset/base/335101 Log: NVME support is only for x86 and powerpc64. Implement MK_NVME now that the expression for where NVMe is complicated. Default it to "yes" for x86 and powerpc64 and

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

2018-06-13 Thread Rodney W. Grimes
> Author: kib > Date: Wed Jun 13 17:55:09 2018 > New Revision: 335072 > URL: https://svnweb.freebsd.org/changeset/base/335072 > > Log: > Enable eager FPU context switch by default on amd64. > > With compilers making increasing use of vector instructions the > performance benefit of

Re: svn commit: r334514 - head/usr.bin/top

2018-06-13 Thread Allan Jude
On 2018-06-01 23:25, Eitan Adler wrote: > Author: eadler > Date: Sat Jun 2 03:25:15 2018 > New Revision: 334514 > URL: https://svnweb.freebsd.org/changeset/base/334514 > > Log: > top(1): Use standard boolean rather than homegrown alternative > > Deleted: > head/usr.bin/top/boolean.h >

svn commit: r335099 - head/usr.bin/top

2018-06-13 Thread Allan Jude
Author: allanjude Date: Thu Jun 14 00:10:16 2018 New Revision: 335099 URL: https://svnweb.freebsd.org/changeset/base/335099 Log: Fix top(1) support for displaying ZFS Compressed ARC statistics Broken in r334514 sysctlbyname("vfs.zfs.compressed_arc_enabled", ...) would return ENOMEM

Re: svn commit: r335094 - head/sys/ofed/drivers/infiniband/core

2018-06-13 Thread Matthew Macy
On Wed, Jun 13, 2018 at 4:47 PM, Ryan Libby wrote: > On Wed, Jun 13, 2018 at 4:30 PM, Matt Macy wrote: >> Author: mmacy >> Date: Wed Jun 13 23:30:54 2018 >> New Revision: 335094 >> URL: https://svnweb.freebsd.org/changeset/base/335094 >> >> Log: >> fix OFED build after r335053 >> >> Modified:

Re: svn commit: r335042 - head/usr.bin/top

2018-06-13 Thread Bryan Drewery
On 6/13/2018 1:52 AM, Eitan Adler wrote: > Author: eadler > Date: Wed Jun 13 08:52:19 2018 > New Revision: 335042 > URL: https://svnweb.freebsd.org/changeset/base/335042 > > Log: > top(1): add myself to authors > > At this point I've mucked enough with top(1) that all bugs should be >

Re: svn commit: r335094 - head/sys/ofed/drivers/infiniband/core

2018-06-13 Thread Ryan Libby
On Wed, Jun 13, 2018 at 4:30 PM, Matt Macy wrote: > Author: mmacy > Date: Wed Jun 13 23:30:54 2018 > New Revision: 335094 > URL: https://svnweb.freebsd.org/changeset/base/335094 > > Log: > fix OFED build after r335053 > > Modified: > head/sys/ofed/drivers/infiniband/core/ib_user_mad.c > >

svn commit: r335094 - head/sys/ofed/drivers/infiniband/core

2018-06-13 Thread Matt Macy
Author: mmacy Date: Wed Jun 13 23:30:54 2018 New Revision: 335094 URL: https://svnweb.freebsd.org/changeset/base/335094 Log: fix OFED build after r335053 Modified: head/sys/ofed/drivers/infiniband/core/ib_user_mad.c Modified: head/sys/ofed/drivers/infiniband/core/ib_user_mad.c

svn commit: r335093 - in head/sys: netinet netinet6

2018-06-13 Thread Matt Macy
Author: mmacy Date: Wed Jun 13 23:19:54 2018 New Revision: 335093 URL: https://svnweb.freebsd.org/changeset/base/335093 Log: Fix PCBGROUPS build post CK conversion of pcbinfo Modified: head/sys/netinet/in_pcb.c head/sys/netinet/in_pcb.h head/sys/netinet/in_pcbgroup.c

svn commit: r335092 - head/sbin/camcontrol

2018-06-13 Thread Warner Losh
Author: imp Date: Wed Jun 13 22:00:08 2018 New Revision: 335092 URL: https://svnweb.freebsd.org/changeset/base/335092 Log: Make camcontrol identify work with nda devices Both ATA and NVME have an identify command. They are completely different, but to the user they are the same. Leverage

svn commit: r335091 - head/sbin/nvmecontrol

2018-06-13 Thread Warner Losh
Author: imp Date: Wed Jun 13 22:00:02 2018 New Revision: 335091 URL: https://svnweb.freebsd.org/changeset/base/335091 Log: Make it possible to use print_controller from another program Rename print_controller to nvme_print_controller. Put it in its own file for easy inclusion. Move

Re: svn commit: r335041 - head/lib/libc/stdlib

2018-06-13 Thread Jilles Tjoelker
On Wed, Jun 13, 2018 at 08:03:13PM +1000, Bruce Evans wrote: > On Wed, 13 Jun 2018, Eitan Adler wrote: > > Log: > > libc: remove explicit cast NULL in atoi > > There isn't any reason to cast NULL so just remove it. Noticed when > > cleaning up top. > There are many reasons to cast NULL for

svn commit: r335090 - stable/11/sys/amd64/amd64

2018-06-13 Thread Konstantin Belousov
Author: kib Date: Wed Jun 13 21:10:33 2018 New Revision: 335090 URL: https://svnweb.freebsd.org/changeset/base/335090 Log: MFC r335072: Enable eager FPU context switch by default on amd64. Security: CVE-2018-3665 Modified: stable/11/sys/amd64/amd64/cpu_switch.S

svn commit: r335089 - head/sys/i386/i386

2018-06-13 Thread Konstantin Belousov
Author: kib Date: Wed Jun 13 21:10:23 2018 New Revision: 335089 URL: https://svnweb.freebsd.org/changeset/base/335089 Log: Enable eager FPU context switch by default on i386 too, based on amd64 r335072. Security: CVE-2018-3665 Sponsored by: The FreeBSD Foundation Modified:

svn commit: r335088 - in stable/11: . tools/build/mk

2018-06-13 Thread Dimitry Andric
/ObsoleteFiles.inc Wed Jun 13 20:33:52 2018(r335087) +++ stable/11/ObsoleteFiles.inc Wed Jun 13 20:35:56 2018(r335088) @@ -38,6 +38,11 @@ # xargs -n1 | sort | uniq -d; # done +# 20180613: obsolete libc++ files missed from the 5.0.0 import +OLD_FILES+=usr/include/c++/v1/__refstring

svn commit: r335087 - stable/11/sys/dev/si

2018-06-13 Thread Dimitry Andric
Author: dim Date: Wed Jun 13 20:33:52 2018 New Revision: 335087 URL: https://svnweb.freebsd.org/changeset/base/335087 Log: Fix build of si with base gcc on i386 Casting from rman_res_t to a pointer results in "cast to pointer from integer of different size" warnings with base gcc on

svn commit: r335086 - head/sys/dev/ae

2018-06-13 Thread Warner Losh
Author: imp Date: Wed Jun 13 20:25:36 2018 New Revision: 335086 URL: https://svnweb.freebsd.org/changeset/base/335086 Log: Add PNP info to PCI attachment of ae driver Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy Sponsored by: Google, Inc. (GSoC 2018) Modified:

svn commit: r335085 - head/sys/dev/age

2018-06-13 Thread Warner Losh
Author: imp Date: Wed Jun 13 20:25:32 2018 New Revision: 335085 URL: https://svnweb.freebsd.org/changeset/base/335085 Log: Add PNP info to PCI attachments of age driver Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy Sponsored by: Google, Inc. (GSoC 2018) Modified:

svn commit: r335082 - head/sys/dev/bwi

2018-06-13 Thread Warner Losh
Author: imp Date: Wed Jun 13 20:25:18 2018 New Revision: 335082 URL: https://svnweb.freebsd.org/changeset/base/335082 Log: Add PNP info to PCI attachment of bwi driver Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy Sponsored by: Google, Inc. (GSoC 2018) Modified:

svn commit: r335083 - head/sys/dev/ale

2018-06-13 Thread Warner Losh
Author: imp Date: Wed Jun 13 20:25:23 2018 New Revision: 335083 URL: https://svnweb.freebsd.org/changeset/base/335083 Log: Add PNP info to PCI attachment of ale driver Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy Sponsored by: Google, Inc. (GSoC 2018) Modified:

svn commit: r335084 - head/sys/dev/amr

2018-06-13 Thread Warner Losh
Author: imp Date: Wed Jun 13 20:25:27 2018 New Revision: 335084 URL: https://svnweb.freebsd.org/changeset/base/335084 Log: Add PNP info to PCI attachment of amr driver Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy Sponsored by: Google, Inc. (GSoC 2018) Modified:

svn commit: r335081 - head/sys/dev/bwn

2018-06-13 Thread Warner Losh
Author: imp Date: Wed Jun 13 20:25:13 2018 New Revision: 335081 URL: https://svnweb.freebsd.org/changeset/base/335081 Log: Add PNP info to PCI attachment of bwn driver Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy Sponsored by: Google, Inc. (GSoC 2018) Modified:

svn commit: r335077 - head/sys/dev/ncr

2018-06-13 Thread Warner Losh
Author: imp Date: Wed Jun 13 20:24:49 2018 New Revision: 335077 URL: https://svnweb.freebsd.org/changeset/base/335077 Log: Add PNP info to the PCI attachment of the ncr driver. Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy Sponsored by: Google, Inc. (GSoC 2018)

svn commit: r335079 - head/sys/dev/ahci

2018-06-13 Thread Warner Losh
Author: imp Date: Wed Jun 13 20:25:04 2018 New Revision: 335079 URL: https://svnweb.freebsd.org/changeset/base/335079 Log: Add PNP info to the PCI attachment of the ahci driver Mark the PNP table, but still need to handle the CLASS / SUBCLASS / REVID matching. Reviewed by: imp,

svn commit: r335080 - head/sys/dev/an

2018-06-13 Thread Warner Losh
Author: imp Date: Wed Jun 13 20:25:09 2018 New Revision: 335080 URL: https://svnweb.freebsd.org/changeset/base/335080 Log: Add PNP info to PCI attachment of an driver Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy Sponsored by: Google, Inc. (GSoC 2018) Modified:

svn commit: r335078 - head/sys/dev/aacraid

2018-06-13 Thread Warner Losh
Author: imp Date: Wed Jun 13 20:25:00 2018 New Revision: 335078 URL: https://svnweb.freebsd.org/changeset/base/335078 Log: Add PNP info to the PCI attachment of the aacraid driver. Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy Sponsored by: Google, Inc. (GSoC 2018)

svn commit: r335076 - head/sys/i386/i386

2018-06-13 Thread Ryan Libby
Author: rlibby Date: Wed Jun 13 19:57:03 2018 New Revision: 335076 URL: https://svnweb.freebsd.org/changeset/base/335076 Log: i386: copyin/copyout error is EFAULT Discussed with: kib MFC with: r332489 Sponsored by: Dell EMC Isilon Modified: head/sys/i386/i386/copyout.c

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

2018-06-13 Thread Ian Lepore
On Wed, 2018-06-13 at 13:22 -0600, Warner Losh wrote: > So we implement the elevator algorithm, but limit the number of requests > that we can put in each 'car'. Elevators themselves are sometimes call > 'cars' for reasons I have no clue about. An "elevator" is an entire system for moving

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

2018-06-13 Thread Warner Losh
On Wed, Jun 13, 2018 at 1:12 PM, Ravi Pokala wrote: > Hi Warner, > > I have many questions... > > "Car limit"? I'm not sure what you mean by that? > So we implement the elevator algorithm, but limit the number of requests that we can put in each 'car'. Elevators themselves are sometimes call

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

2018-06-13 Thread Ravi Pokala
Hi Warner, I have many questions... "Car limit"? I'm not sure what you mean by that? This change starts tracking the total number of BIOs on the queue, but doesn't actually do anything with that value. When there are more requests batched than the limit, your comment say you "start over",

svn commit: r335075 - vendor-crypto/openssl/dist-1.0.2

2018-06-13 Thread Jung-uk Kim
Author: jkim Date: Wed Jun 13 18:58:36 2018 New Revision: 335075 URL: https://svnweb.freebsd.org/changeset/base/335075 Log: Copy over r331625 to create new vendor branch for OpenSSL 1.0.2 maintenance. Added: vendor-crypto/openssl/dist-1.0.2/ - copied from r335074,

svn commit: r335074 - head/share/man/man7

2018-06-13 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Jun 13 18:50:51 2018 New Revision: 335074 URL: https://svnweb.freebsd.org/changeset/base/335074 Log: Mention that ports are used to build packages, this fact - obvious to the developers, but much less so to users - seems to be rather weakly documented. MFC

Re: svn commit: r335004 - head/release/tools

2018-06-13 Thread Edward Napierala
On 0613T0730, Warner Losh wrote: > On Wed, Jun 13, 2018 at 6:39 AM, Edward Napierala wrote: > > > 2018-06-13 12:43 GMT+01:00 Emmanuel Vadot : > > > >> On 2018-06-12 18:45, Edward Tomasz Napierala wrote: [..] > >> + echo '# USB OTG virtual serial port' \ > >>> + >>

svn commit: r335073 - in head: lib/libc/gen share/man/man7

2018-06-13 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Jun 13 18:34:49 2018 New Revision: 335073 URL: https://svnweb.freebsd.org/changeset/base/335073 Log: Get rid of references to /usr/share/doc/ from ports(7) and getosreldate(3). The handbooks are not installed there anymore. While here, improve the URLs markup a bit.

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

2018-06-13 Thread Oliver Pinter
On Wednesday, June 13, 2018, Konstantin Belousov wrote: > Author: kib > Date: Wed Jun 13 17:55:09 2018 > New Revision: 335072 > URL: https://svnweb.freebsd.org/changeset/base/335072 > > Log: > Enable eager FPU context switch by default on amd64. > > With compilers making increasing use of

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

2018-06-13 Thread Konstantin Belousov
Author: kib Date: Wed Jun 13 17:55:09 2018 New Revision: 335072 URL: https://svnweb.freebsd.org/changeset/base/335072 Log: Enable eager FPU context switch by default on amd64. With compilers making increasing use of vector instructions the performance benefit of lazily switching FPU

svn commit: r335071 - head/stand/libsa

2018-06-13 Thread Warner Losh
Author: imp Date: Wed Jun 13 17:42:55 2018 New Revision: 335071 URL: https://svnweb.freebsd.org/changeset/base/335071 Log: Initialize variables we later free so they aren't used uninitialized in the error path. Remove unused variables. Sponsored by: Netflix Modified:

svn commit: r335070 - head/stand/libsa

2018-06-13 Thread Warner Losh
Author: imp Date: Wed Jun 13 17:42:50 2018 New Revision: 335070 URL: https://svnweb.freebsd.org/changeset/base/335070 Log: Remove unused variables. Sponsored by: Netflix Modified: head/stand/libsa/tftp.c head/stand/libsa/ufs.c Modified: head/stand/libsa/tftp.c

svn commit: r335069 - head/stand/libsa

2018-06-13 Thread Warner Losh
Author: imp Date: Wed Jun 13 17:28:06 2018 New Revision: 335069 URL: https://svnweb.freebsd.org/changeset/base/335069 Log: Remove fail: label. It's unused. Sponsored by: Netflix Modified: head/stand/libsa/open.c Modified: head/stand/libsa/open.c

svn commit: r335068 - in head: share/man/man9 sys/amd64/amd64 sys/i386/i386 sys/kern sys/net sys/sys sys/vm

2018-06-13 Thread Jonathan T. Looney
Author: jtl Date: Wed Jun 13 17:04:41 2018 New Revision: 335068 URL: https://svnweb.freebsd.org/changeset/base/335068 Log: Make UMA and malloc(9) return non-executable memory in most cases. Most kernel memory that is allocated after boot does not need to be executable. There are a few

svn commit: r335067 - head/tests/sys/audit

2018-06-13 Thread Alan Somers
Author: asomers Date: Wed Jun 13 17:01:57 2018 New Revision: 335067 URL: https://svnweb.freebsd.org/changeset/base/335067 Log: audit(4): Fix file descriptor leaks in ATF tests Submitted by: aniketp Reported by: Coverity CID: 1393343 1393346 1392695 1392781 1391709 1392078

svn commit: r335066 - in head/sys: kern sys

2018-06-13 Thread Warner Losh
Author: imp Date: Wed Jun 13 16:48:07 2018 New Revision: 335066 URL: https://svnweb.freebsd.org/changeset/base/335066 Log: Implement a 'car limit' for bioq. Allow one to implement a 'car limit' for bioq_disksort. debug.bioq_batchsize sets the size of car limit. Every time we queue that

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

2018-06-13 Thread Andrew Turner
Author: andrew Date: Wed Jun 13 15:58:33 2018 New Revision: 335065 URL: https://svnweb.freebsd.org/changeset/base/335065 Log: Add ThunderX2 to the list of CPUs we need to apply the branch predictor hardening to. Sponsored by: DARPA, AFRL Modified: head/sys/arm64/arm64/cpu_errata.c

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

2018-06-13 Thread Andrew Turner
Author: andrew Date: Wed Jun 13 15:56:24 2018 New Revision: 335064 URL: https://svnweb.freebsd.org/changeset/base/335064 Log: Switch to the SMCCC function for branch predictor hardening. The previous method may not have worked as the firmware checks for the ARCH_WORKAROUND_1 function ID.

svn commit: r335063 - head/sys/dev/psci

2018-06-13 Thread Andrew Turner
Author: andrew Date: Wed Jun 13 15:41:22 2018 New Revision: 335063 URL: https://svnweb.freebsd.org/changeset/base/335063 Log: Add the SMCCC return codes from ARM DEN 0070A. While here add a comment with the document the function IDs come from. Sponsored by: DARPA, AFRL Modified:

svn commit: r335062 - in head/sys: conf dev/psci

2018-06-13 Thread Andrew Turner
Author: andrew Date: Wed Jun 13 15:32:00 2018 New Revision: 335062 URL: https://svnweb.freebsd.org/changeset/base/335062 Log: Add support for the ARM SMC Calling Convention (SMCCC). This is a method to call into the firmware in a similar way to the existing PSCI, and used PSCI to detect

svn commit: r335061 - head/sys/dev/psci

2018-06-13 Thread Andrew Turner
Author: andrew Date: Wed Jun 13 15:24:07 2018 New Revision: 335061 URL: https://svnweb.freebsd.org/changeset/base/335061 Log: Move psci_call to a header file so we can use it in other files to communicate with the firmware. Sponsored by: DARPA, AFRL Modified: head/sys/dev/psci/psci.c

svn commit: r335060 - head/sys/security/audit

2018-06-13 Thread Alan Somers
Author: asomers Date: Wed Jun 13 14:55:31 2018 New Revision: 335060 URL: https://svnweb.freebsd.org/changeset/base/335060 Log: audit(4): fix the definition of ARG_TERMID_ADDR Due to a copy/paste error in r168688, ARG_TERMID_ADDR has the same definition as ARG_SADDRUNIX. Fix it. The

Re: svn commit: r335059 - in stable/11: usr.bin/wall usr.sbin/syslogd

2018-06-13 Thread Rodney W. Grimes
> Hi Rodney, > > 2018-06-13 15:57 GMT+02:00 Rodney W. Grimes : > >> Modified: > >> stable/11/usr.bin/wall/ttymsg.c > >> stable/11/usr.bin/wall/ttymsg.h > > > > I see no mention of any changes to wall in the commit, > > was this intentional? The changes don't seem to be > > related to syslogd

Re: svn commit: r334046 - head/tools/tools/intel-ucode-split

2018-06-13 Thread Mark Johnston
On Wed, Jun 13, 2018 at 01:46:34AM +0200, Oliver Pinter wrote: > On Wednesday, June 13, 2018, Ed Maste wrote: > > > On Tue, 12 Jun 2018 at 18:17, Sean Bruno wrote: > > > > > > On 06/12/18 16:05, Oliver Pinter wrote: > > > > On 5/22/18, Ed Maste wrote: > > > >> Author: emaste > > > >> Date: Tue

Re: svn commit: r335059 - in stable/11: usr.bin/wall usr.sbin/syslogd

2018-06-13 Thread Ed Schouten
Hi Rodney, 2018-06-13 15:57 GMT+02:00 Rodney W. Grimes : >> Modified: >> stable/11/usr.bin/wall/ttymsg.c >> stable/11/usr.bin/wall/ttymsg.h > > I see no mention of any changes to wall in the commit, > was this intentional? The changes don't seem to be > related to syslogd directly. Good

Re: svn commit: r335059 - in stable/11: usr.bin/wall usr.sbin/syslogd

2018-06-13 Thread Rodney W. Grimes
> Author: ed > Date: Wed Jun 13 13:41:23 2018 > New Revision: 335059 > URL: https://svnweb.freebsd.org/changeset/base/335059 > > Log: > MFC r309925, r309931, r309933, r310035, r310278, r310310, r310311, > r310323, r310349, r310350, r310351, r310352, r310383, r310384, > r310385,

svn commit: r335059 - in stable/11: usr.bin/wall usr.sbin/syslogd

2018-06-13 Thread Ed Schouten
Author: ed Date: Wed Jun 13 13:41:23 2018 New Revision: 335059 URL: https://svnweb.freebsd.org/changeset/base/335059 Log: MFC r309925, r309931, r309933, r310035, r310278, r310310, r310311, r310323, r310349, r310350, r310351, r310352, r310383, r310384, r310385, r310386, r310393,

Re: svn commit: r335004 - head/release/tools

2018-06-13 Thread Warner Losh
On Wed, Jun 13, 2018 at 6:39 AM, Edward Napierala wrote: > 2018-06-13 12:43 GMT+01:00 Emmanuel Vadot : > >> On 2018-06-12 18:45, Edward Tomasz Napierala wrote: >> >>> Author: trasz >>> Date: Tue Jun 12 16:45:52 2018 >>> New Revision: 335004 >>> URL:

svn commit: r335058 - in stable/11: etc/rc.d sbin/pfctl

2018-06-13 Thread Kristof Provost
Author: kp Date: Wed Jun 13 13:15:04 2018 New Revision: 335058 URL: https://svnweb.freebsd.org/changeset/base/335058 Log: MFC r334726: pf: Return non-zero from 'status' if pf is not enabled In the pf rc.d script the output of `/etc/rc.d/pf status` or `/etc/rc.d/pf onestatus` always

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

2018-06-13 Thread Bruce Evans
Author: bde Date: Wed Jun 13 12:44:45 2018 New Revision: 335057 URL: https://svnweb.freebsd.org/changeset/base/335057 Log: Oops, r335053 had an old version of the comment about 16-bit linux dev_t translation. Modified: head/sys/compat/linux/linux_stats.c Modified:

Re: svn commit: r335004 - head/release/tools

2018-06-13 Thread Edward Napierala
2018-06-13 12:43 GMT+01:00 Emmanuel Vadot : > On 2018-06-12 18:45, Edward Tomasz Napierala wrote: > >> Author: trasz >> Date: Tue Jun 12 16:45:52 2018 >> New Revision: 335004 >> URL: https://svnweb.freebsd.org/changeset/base/335004 >> >> Log: >> Enable USB OTG serial terminal on ARM SD card

svn commit: r335056 - head/sys/dev/psci

2018-06-13 Thread Andrew Turner
Author: andrew Date: Wed Jun 13 12:33:47 2018 New Revision: 335056 URL: https://svnweb.freebsd.org/changeset/base/335056 Log: Add a handler for the PSCI_FEATURES function. This needs PSCI 1.0, so check for this, returning an error if the version is too old. Sponsored by: DARPA, AFRL

svn commit: r335055 - head/sys/dev/psci

2018-06-13 Thread Andrew Turner
Author: andrew Date: Wed Jun 13 12:32:04 2018 New Revision: 335055 URL: https://svnweb.freebsd.org/changeset/base/335055 Log: Find and cache the PSCI version on driver attach. Sponsored by: DARPA, AFRL Modified: head/sys/dev/psci/psci.c Modified: head/sys/dev/psci/psci.c

svn commit: r335054 - head/sys/dev/psci

2018-06-13 Thread Andrew Turner
Author: andrew Date: Wed Jun 13 12:26:37 2018 New Revision: 335054 URL: https://svnweb.freebsd.org/changeset/base/335054 Log: Add the PSCI_FEATURES function ID. This is found in PSCI 1.0 and is used to query if a given function is implemented and its features. Sponsored by: DARPA, AFRL

svn commit: r335053 - in head/sys: compat/freebsd32 compat/linux fs/nfsclient kern sys

2018-06-13 Thread Bruce Evans
Author: bde Date: Wed Jun 13 12:22:00 2018 New Revision: 335053 URL: https://svnweb.freebsd.org/changeset/base/335053 Log: Fix the encoding of major and minor numbers in 64-bit dev_t by restoring the old encodings for the lower 16 and 32 bits and only using the higher 32 bits for unusually

svn commit: r335052 - in head/sys/arm64: arm64 cavium include

2018-06-13 Thread Andrew Turner
Author: andrew Date: Wed Jun 13 12:17:11 2018 New Revision: 335052 URL: https://svnweb.freebsd.org/changeset/base/335052 Log: Rename the ThunderX CPU identification macros to include the X. This is the name people know the product by, and is consistent with the later SoC ID macros.

svn commit: r335051 - head/sys/arm64/include

2018-06-13 Thread Andrew Turner
Author: andrew Date: Wed Jun 13 11:58:41 2018 New Revision: 335051 URL: https://svnweb.freebsd.org/changeset/base/335051 Log: Add more Cavium CPU part numbers. While here split the lists by vendor. Sponsored by: DARPA, AFRL Modified: head/sys/arm64/include/cpu.h Modified:

svn commit: r335050 - head/usr.sbin/bhyve

2018-06-13 Thread Marcelo Araujo
Author: araujo Date: Wed Jun 13 11:49:34 2018 New Revision: 335050 URL: https://svnweb.freebsd.org/changeset/base/335050 Log: While I was investigating CID 1194192 related with a resource leak on mrp memory allocation, I could identify that actually we use this pointer on pci_emul.c as

Re: svn commit: r335004 - head/release/tools

2018-06-13 Thread Emmanuel Vadot
On 2018-06-12 18:45, Edward Tomasz Napierala wrote: Author: trasz Date: Tue Jun 12 16:45:52 2018 New Revision: 335004 URL: https://svnweb.freebsd.org/changeset/base/335004 Log: Enable USB OTG serial terminal on ARM SD card images. This configures the system to make use of USB device mode

svn commit: r335049 - head/usr.bin/top

2018-06-13 Thread Eitan Adler
Author: eadler Date: Wed Jun 13 11:12:52 2018 New Revision: 335049 URL: https://svnweb.freebsd.org/changeset/base/335049 Log: top(1): remove unneeded logic - remove __pure annotations I added earlier for some functions. One writes to the the arguments as "out" pointers. The other reads

svn commit: r335048 - in head/sys: net netinet netinet6

2018-06-13 Thread Andrey V. Elsukov
Author: ae Date: Wed Jun 13 11:11:33 2018 New Revision: 335048 URL: https://svnweb.freebsd.org/changeset/base/335048 Log: Rework if_gre(4) to use encap_lookup_t method to speedup lookup of needed interface when many gre interfaces are present. Remove rmlock from gre_softc, use epoch(9)

svn commit: r335047 - head/sys/riscv/riscv

2018-06-13 Thread Ruslan Bukin
Author: br Date: Wed Jun 13 10:32:21 2018 New Revision: 335047 URL: https://svnweb.freebsd.org/changeset/base/335047 Log: Don't jump to VA space until kernel is ready. This fixes the race when first core sets up the pagetables, while secondary cores do translating the address of

Re: svn commit: r335041 - head/lib/libc/stdlib

2018-06-13 Thread Bruce Evans
On Wed, 13 Jun 2018, Eitan Adler wrote: Log: libc: remove explicit cast NULL in atoi There isn't any reason to cast NULL so just remove it. Noticed when cleaning up top. There are many reasons to cast NULL for all members of the ato*() family: - it is required if no prototype is in scope

svn commit: r335046 - head/sbin/dumpon

2018-06-13 Thread Eitan Adler
Author: eadler Date: Wed Jun 13 09:28:47 2018 New Revision: 335046 URL: https://svnweb.freebsd.org/changeset/base/335046 Log: dumpon(8): improve the examples a bit While here, remove extraneous extraneous Pp Reviewed by: jhb (older version) Modified: head/sbin/dumpon/dumpon.8

svn commit: r335045 - head/usr.sbin/pmc

2018-06-13 Thread Eitan Adler
Author: eadler Date: Wed Jun 13 09:17:04 2018 New Revision: 335045 URL: https://svnweb.freebsd.org/changeset/base/335045 Log: pmc: remove trailing whitespace Reported by: swills Modified: head/usr.sbin/pmc/pmc.c Modified: head/usr.sbin/pmc/pmc.c

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

2018-06-13 Thread Eitan Adler
Author: eadler Date: Wed Jun 13 09:07:24 2018 New Revision: 335044 URL: https://svnweb.freebsd.org/changeset/base/335044 Log: atoi.3: bump .Dd I touched the man page. Bump Dd by just over 15 years. Modified: head/lib/libc/stdlib/atoi.3 Modified: head/lib/libc/stdlib/atoi.3

svn commit: r335043 - head/usr.bin/top

2018-06-13 Thread Eitan Adler
Author: eadler Date: Wed Jun 13 08:52:22 2018 New Revision: 335043 URL: https://svnweb.freebsd.org/changeset/base/335043 Log: top(1): style(9) - split return type from function name - Sprinkle a __pure where possible. Modified: head/usr.bin/top/display.c head/usr.bin/top/username.c

svn commit: r335042 - head/usr.bin/top

2018-06-13 Thread Eitan Adler
Author: eadler Date: Wed Jun 13 08:52:19 2018 New Revision: 335042 URL: https://svnweb.freebsd.org/changeset/base/335042 Log: top(1): add myself to authors At this point I've mucked enough with top(1) that all bugs should be blamed on me rather than William LeFebvre. Modified:

svn commit: r335039 - head/usr.bin/top

2018-06-13 Thread Eitan Adler
Author: eadler Date: Wed Jun 13 08:52:12 2018 New Revision: 335039 URL: https://svnweb.freebsd.org/changeset/base/335039 Log: top(1): replace homegrown itoa with sprintf Much of this should be inlined to the callsite, but leave it here for now to make it easier to make it easier bisect

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

2018-06-13 Thread Eitan Adler
Author: eadler Date: Wed Jun 13 08:52:17 2018 New Revision: 335041 URL: https://svnweb.freebsd.org/changeset/base/335041 Log: libc: remove explicit cast NULL in atoi There isn't any reason to cast NULL so just remove it. Noticed when cleaning up top. Reviewed by: pstef Modified:

  1   2   >